Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TableUpdate
Message
De
27/07/1999 12:31:22
 
 
À
27/07/1999 08:43:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00246393
Message ID:
00246689
Vues:
17
>>Hello Oscar.
>>
>>Is this a single user app (so far)? I mean what are the changes that another user really has the table header locked?
>
>It is a multi user application. However, it is under test right now and there is one single user.
>>
>>Are you saying that you can issue a TABLEUPDATE on the dirty view, it returns true, and the buffer is still dirty? Are you using TALBUPDATE(.T.,.T.,"MyView") to ensure that your TABLEUPDATE is acting on the view you think it is? Are you doing the same with GETFLDSTATE?
>
>Yes, I issue TableUpdate(1) and it returns .T. which is supposed to update all the new records into the back table. GetFldState(-1) is returning a string of 3’s meaning that a new record has been added.
>
>Regards
>
>Oscar

My point in asking this was, are you specifying the alias when you call TABLEUPDATE and GETFLDSTATE. If you don't, these commands work on the current alias, and might be returning different results that you expected. I see from your response to JimB, that this was indeed the problem.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform