Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking Blank Before Saving??
Message
From
03/06/2001 08:33:32
 
 
To
03/06/2001 05:28:17
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00514293
Message ID:
00514304
Views:
13
Hi Ransome.

>> How can I code a routine to check whether the new input datas is blank or not before updating. If the datas is blank, how can I delete the blank datas and update only the lines which have valid datas at ? <<

the easiest way is to use SCATTER NAME loOriginal right after you appended a new record. Save the object in some property on the form and when you save use something like this:
SCATTER NAME loNew
IF NOT COMPOBJ(loNew,loOriginal)
  *** Save record
ENDIF
Marcia
Previous
Reply
Map
View

Click here to load this message in the networking platform