Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL on a buffered table
Message
From
03/03/1999 09:57:03
 
 
To
03/03/1999 09:54:04
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00193550
Message ID:
00193558
Views:
13
>>Hi all,
>>I have a table that is buffered I am adding a record to it and then want to run an SQL statement against it before I do a TableUpdate. The query does not return this new record. Is there a way to get the query to see this record before a TableUpdate is called?
>>
>>Thanks in advance
>>Stephen Kuhn
>
>I don't think so... but, what are you trying to accomplish? I assume you want to show the user the records that will be saved?
>
>How about if you filter the view for recno() < 0 ?
>
>BOb

Actually, that is backward... you want to filter out all but the new records...

set filter to recno()>0

Also, you can set a filter based on the reulst of GetFldState, so you can also show records that have had changes.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform