Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tableupdate() does not seem to be working
Message
 
À
01/10/1999 14:01:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00271580
Message ID:
00271712
Vues:
21
>>Try these things:
>>
>>1. Make sure the view is updateable. Check the Update Criteria page of the View Designer. Make sure Send SQL Updates is checked.
>>
>>2. Like George wrote, make sure the underlying table is not buffered.
>>
>>3. Whenever I have trouble like this in a form, I try to duplicate the problem from the Command Window. In other words, go to the Command Window, open the view, make a change, then try to update it.
>>
>>>When I issue a Tableupdate() on a view, it doesn't update the source table.
>>>
>>>The user makes changes to the view via the interface and clicks a Save button the sole command is Tableupdate(), however this is not updating the source table and when the user comes back later the old information is there.
>>>
>>>I also have an Undo button that has a Tablerevert() and that seems to work ok.
>>>
>>>Is there anything else I might be doing wrong or just plain missing?
>>>
>>>Thanks for the help in advance!
>
>Thanks for your reply! I got it working now, I didn't have the Send SQL Updates checked. (small oversight :)

That happens to me all the time. Sometimes it seems that Send SQL Updates gets unchecked randomly, so when I have troule with a view, that's the first thing I check.
Chris McCandless
Red Sky Software
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform