Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL remote view form does not add record
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01291875
Message ID:
01291880
Views:
10
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform