Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validating An APPEND
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00318164
Message ID:
00318475
Vues:
21
>If I do:
>
>APPEND BLANK
>GATHER MEMVAR
>
>or
>
>INSERT INTO MyTable FROM MEMVAR
>
>What's the best way to vaildate the new record to insure
>the new values were added ok?
>

How do you mean 'OK'? Do you have field-level validations defined for the record in your .DBC? If so, pull the records into an intermediate table with the same field names, and extract the field validation rules from he DBC, testing them against the fields in the intermediate table. If they pass, then append the record imported into the intermediate table; they're 'known to be good' according to the rules you've established for the live table in you .DBC.

>
>TIA
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform