Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL remote view form does not add record
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01291875
Message ID:
01291880
Vues:
11
This message has been marked as the solution to the initial question of the thread.
>Folks,
>
>Using a remote view to a SQL Server table, I am able to insert a new record from the cammand window.
>
>Using a form from the wizzard I can edit and save a change to that remote view.
>
>Using the same form, when I attempt to add a record, the save seems to function but a record does not add to the remote view.
>
>Where can I look to see why the add fails?
>
>Thanks,
>Bob Pahus

Check return value from TABLEUPDATE() function.
If it is .f. check what error you got from backend with AERROR()
IF NOT TABLEUPDATE(.....)
   AERROR(laError)
   MessageBox(laError[1,2])
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform