Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TableUpdate
Message
From
27/07/1999 12:31:22
 
 
To
27/07/1999 08:43:57
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00246393
Message ID:
00246689
Views:
13
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform