Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HELP! Can't Update the source table with a view
Message
From
07/01/1999 12:04:25
 
 
To
05/01/1999 09:38:11
Jack Lee
Wheel Giant Inc.
Changhua, Taiwan
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00172712
Message ID:
00173604
Views:
36
>Thanks Jason.
>
>I Code it like this:
>*
>if !TableUpdate(.....)
> =MessageBox(.....)
>endif
>*
>But the messagebox never apears.

It may well be the parameters in your TableUpdate.

This is the relevant code from the save button for a grid in an app of mine.

Select (This.Parent.grdCustCtrl.RecordSource)
If ! TableUpdate(1,.F.,(This.Parent.grdCustCtrl.RecordSource))
cMsg = "A problem occured while saving your changes" + Chr(13) ;
+ "Contact user support for this application"
=MessageBox(cMsg, DBB_OK+ICNINFORM, TTL_CONTACTSUPPORT)
Endif

This has worked perfectly not only here but elsewhere without fail.

Regards,

Jason
Jason Tryon
Senior Systems Analyst / Technical Lead
eBusiness / iPage
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform