WriteNote()
Changes the contents of a note pad.
Syntax
WriteNote(<cTable>, <cNotepad>, <cNotes>) --> lSuccess
Arguments
<cTable> --> is the name of the database that contains the note pad.
<cNotePad> --> is the name of the note pad to write to.
<cNotes> --> Is the text string to store in the note pad.
Returns
Logical TRUE is returned if writing to the database's note pad was successful. Otherwise logical FALSE if the write attempt failed.
Description
This function is used to write information to a selected CAPITAL note pad. Any information held in the note pad is replaced with the contents of cNotes.
Not all databases have note pads. These may be used:
|
cTable Value |
Database |
|
CUSTREC |
Customer database |
|
SUPPLIER |
Supplier database |
|
SMJOBS |
Service Manager |
|
HIJOBS |
Hire Manager |
|
1-8 character code |
Must match an existing card file |
The note pad name <cNotepad> must exist in the specified database.
Examples
The following script stores the value of cNotes in the note pad called "Schedule" within the card file database "Docket":
WriteNote("Docket", "Schedule", cNotes)
____________________________
Related Topics: