Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HELP! Can't Update the source table with a view
Message
De
07/01/1999 12:04:25
 
 
À
05/01/1999 09:38:11
Jack Lee
Wheel Giant Inc.
Changhua, Taiwan
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00172712
Message ID:
00173604
Vues:
37
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform