Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking Blank Before Saving??
Message
De
03/06/2001 08:33:32
 
 
À
03/06/2001 05:28:17
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00514293
Message ID:
00514304
Vues:
14
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform