<< on mouseUp
   put fld "HistoryChanges" into HC -- ;)
   put "<"& the short date &">" into todaysdate
   put line 3 of HC into lastDateEntry
   if lastDateEntry is not todaysdate then
     type todaysdate & return & return before line 3 of fld "HistoryChanges"
   else
     type return before line 4 of fld "HistoryChanges"
   end if
 end mouseUp >>

Not sure why you use "type" instead of "put" but if you really need "type" 
you might try:

 if lastDateEntry is not todaysdate then
     select before line 3 of fld "HistoryChanges"
     type todaysdate & return & return 
   else
     select before line 4 of fld "HistoryChanges"
     type return 
   end if

Regards,
Philip Chumbley


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to