Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating multiple tables in Page Frames in VFP 3.0
Message
De
07/08/1997 18:19:24
 
 
À
07/08/1997 17:34:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00043621
Message ID:
00043627
Vues:
35
>I have a designed a page frame each page of which captures data for a different table. I want to use a single set of command buttons for this page frame also. How do you save multiple records to multiple tables ??? Since this form will run in a multiuser environment I am using record level optimistic buffering. I have created a SAVE button and in it's "click" method I tried using the following function calls to save the records:
> TABLEUPDATE(table1)
> TABLEUPDATE(table2)
> TABLEUPDATE(table3).
> When I execute this SAVE event I get an error message to the effect that VFP can't find the table alias. Is there a special syntax for databased tables ? Or am I barking up the wrong tree with this approach for saving multiple records in a page frame.
>
>Thanks for your answers !

On which table are you getting the error? I found that it works better if you go ahead and select the table, then issue the update.
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform