Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Uncommitted Recs in a View Not Showing Up Via SQL Select
Message
 
 
To
11/07/2001 10:23:53
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00527485
Message ID:
00529251
Views:
18
>Thanks for the reply, Larry
>
>It must open another occurance of the view as this is a remote view accessing tables held within a SQL Server 7.0 database, so VFP doesn't have access to the base tables directly.
>
>Not to worry,
>
>I simply create a cursor and scan round my view dumping the required records into the temporary cursor.
>
>It's a shame the SQL SELECT doesn't return the uncommitted records as doing something like SELECT DISTINCT is a lot easier than having to 'hand code' it!
>
>Cheers, Mark

Hi Mark,
No VFP does not open the view again because that would entail making another trip to the remote server (which isn't done). It does internally what Hector posted you should try externally. It uses the disk presence (the temporary file created when you opened the view) and opens that again in another workarea under a new alias. It then queries that version for you.

Glad to see you found another way. :-)
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform