The example on page 483 of the programming manual also doesn't have a record ID as one of the fields. If you have added a record ID element to your form, you can simply assign it any value you want in the main loop, starting with any value -- such as 10,000. The code below is snipped from the middle of the routine, with one line added to set the RecordID element to 10,000 plus the record counter.
vFileHandle = fileOpen("C:\Sesame\addresses.txt")
If vFileHandle >= 0
{
fileSeek(vFileHandle, 0)
While FilePos(vFileHandle) < FileSize(vFileHandle)
{
fileReadLn(vFileHandle, vLine)
If @Len(vLine) > 20 Then
{
parseline()
nn = @CreateNewRecord()
Name = t[1]
Address = t[2]
City = t[3]
State = t[4]
Zip = t[5]
// This is the line that sets the RecordID to 10,000 plus the running counter
RecordID = 10000 + counter
counter = counter + 1
}
}
fileClose(vFileHandle)
@Msgbox("Imported " + counter + " records.", "", "")
}
Just out of curiosity, why do you have a record ID?
Sesame does have default fonts, a couple of which can be set in the sesame.ini file.
MENU FONT: and SECONDARY FONT:
These refer to user interface elements outside of the form. To use a default font on the form, simply set the font you want to use for labels and text, and SDesigner will continue to use that font for all further elements you create until you change them. If you wish to change a font setting that has already been made, select all of the elements you want to change, either by rubberbanding, shift or ctrl select, or using the selection dialog to select by type. etc. and change either the label or text font. It will change all of the selected element's font.
SDesigner has a "set it and forget it" style of editing for all element attributes. You select the attributes that please you for that form, and do not have to reset them again without cause. This maintains a consistent look and feel with a minimum of clicking around.
Under the hood, Sesame selects helvetica/arial font as the starting font. So, if you don't set the font yourself, you start with helvetica. If you have set the font, and want to get back to the settings you had on previous elements, use the make-like-me commands in SDesigner to reset back to a previous setting.