Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL SELECT fails to return just Replaced data
Message
From
19/06/2003 21:24:08
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00802023
Message ID:
00802025
Views:
28
>Sometimes the following does not return any data for me:
>
>CREATE TABLE MyTable (MyField C(10))
>APPEND BLANK
>REPLACE MyField WITH "TEST"
>SELECT * FROM MyTable WHERE MyField = "TEST"
>
>Any ideas why this sometimes fails to return anything?
>Note: If I Issue a GO RecNo() just after the REPLACE command, it works. But in my application MyTable is a huge File and I aam worried this will reduce performance if I Have to issue a GO RecNo() After every replace.

I doubt that a GO RECNO() will have much impact at all. But I have to admit, I've been surprised before.

I take it that your code here is a 'representation' of the code that you believe to be relevant.
Do you have row buffering in effect? Is there a Grid involved with the table? Do you do any datasession switching in the real stuff?

good luck
Previous
Reply
Map
View

Click here to load this message in the networking platform