Getting the Most from Lantica's Sesame Database Manager
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . March 10, 2010  1:46 pm. PST
T H E  M O N T H L Y  H O W - T O  G U I D E  F O R  S E S A M E  U S E R S / D E V E L O P E R S
 
2 0 1 0
Vol. 7, No. 3
(New issues posted by 5th of month)
 

You need Adobe Reader 5.0 or later to view your issues. You can download the latest version of Adobe Reader free of charge (get it), We optimize our Inside Sesame PDFs for fast web viewing and crisp printing. They look best when printed on a good-quality printer.


(Insider password required)

Previous Issue Summaries
Title^Summary^Year^Month^Page^Type^FName^LName^Fullname^Keywords

March 2010 issue summary. . .

Speedier Pick-List Lookups with XResultSet
Ever consider using XResultSet instead of XLookup to retrieve data from external databases? Here's a scenario where you could gain a lot in terms of ease of use and overall efficiency — particularly with large lookup databases — when using pop-up pick-lists to tell Sesame what you want. Sample application included in this month's download file.

Making an Abbreviated Copy of a Form for Another Database
Suppose you want to copy an existing form, remove some fields from it, then attach it to a new database in the same application. Not easy unless you know the ropes.


_______________You ask. We answer.

  •  

  • Align Text in Word Merge Documents — You need to WordMerge into perfectly aligned columns, as you would for an invoice or statement. How do you create those columns in your Word doc?

  • Print Expanded Fields with WordMerge & Tables — When printing your records in Sesame, you'll loose any text that doesn't actually show when you look at the form. Here's a way to print your records so that all the text shows. Sample application included in this month's download file.

  • Use Special Characters in Element Labels — How to use Ά, ’, © and other special characters in layout element labels.

  • Conditionally Print Merge Fields — Did you know that a WordMerge merge document can print data conditionally? Here's how to create an If...Then...Else merge field in Word to augment your merge printing options.

  • Copy a Database in Your Application — Follow these seven steps to copy a database along with all its forms and reports for use in the same application.

  • Disappearing Records Or Carelessness? — If one day you should find you're missing some records and have duplicates of others, here's what you or your people did.


_______________Technical tidbits you can use today

 

  • Update Your WordMerge Programming for New LE Type — The new Text Editor LE just introduced in Sesame won't WordMerge unless you know what to take care of first.
     

  • How to Set a Default Sort Order for a Subform — Here's the trick.
     

  • Locate that Mystery Layout Element — Does your spec window in runtime show a fieldname that you have no idea how it got there or what it's for? You can solve the mystery in about one minute.
     

  • Find All Dates in a Particular Month — Need to find out who gets a birthday card in March? Is this a trick question? No, but it might be tricky retrieving all your contacts with a March (of any year) birth date. We simplify it.
     

  • Retrieve Every 4th (or 10th) Record. Need to do a random sampling of your records for a test mailing? We show you how to retrieve every nth record.


(Insider password required)

How to Copy Programming Code from
Inside Sesame to paste into Sesame's Program Editor

You can copy programming code from Inside Sesame Acrobat PDFs and paste it into your Sesame Program Editor. With the PDF displayed, click the Text Select tool on your Acrobat Reader icon bar, as shown below:

Place your cursor at the beginning of the block of code you want to copy. Hold down the Ctrl key, then drag a "rubber band" around the code to select it. Right click and select Copy from the pop-up menu. (If the program continues on another page, do that page separately.)

In Sesame's Program Editor, select Edit | Paste to paste the copied code into the appropriate LE/Event slot.

Inside Sesame programming examples may contain styled quotes. If these are present, you'll get a lexical error when you Test the program. You'll need to replace these styled quotes with the plain straight quotes the Program Editor requires.

Sesame doesn't like slanted (styled) quotes: “SomeValue
Sesame likes plain straight quote marks: "SomeValue"

To convert any styled quotes to plain quotes in the Program Editor:

  1. Copy one styled opening quote to the clipboard.
  2. Open the Program Editor’s Search | Replace box.
  3. Paste (Ctrl-V) the styled opening quote into the Find field.
  4. Type a plain quote (") in the Replace field.
  5. Click Replace All.

Follow the same steps to replace any styled closing quotes with plain quotes.

Retest the program.