Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with TABLEUPDATE()
Message
From
08/02/2002 00:44:06
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
07/02/2002 15:55:18
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00615959
Message ID:
00617142
Views:
38
Good Morning Bernard,
Hm Tabelbuffering. Try to update for test changed record by changed record
SELECT Final
SET ASSERT ON
lnRec = GETNEXTMODIFIED(0)
DO WHILE lnRec>0
 GO (lnRec)
 llRet = TABLEUPDATE(.T.) MESSAGE 'Problem'
 IF !llRet THEN
  lcModifi = GETFLDSTATE(-1)
  ASSERT .F.  &&you may stop here
 ENDIF
ENDDO
Check the Record with GETFLDSTATE(-1) to see what it shows.

Please post the string out of lcModifi, so I can see better whats up.


Agnes
>I don't get it. I used your example, I even used GenDBC and copied that code. Still no updates. My three tables are indexed, I use optimistic table buffering. What am I forgetting??
>
>Bernard
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform