Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to replace VFP cursors
Message
From
09/08/2011 15:33:44
Joel Leach
Memorial Business Systems, Inc.
Tennessee, United States
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Vista
Network:
Windows XP
Database:
Jet/Access Engine
Application:
Desktop
Miscellaneous
Thread ID:
01520206
Message ID:
01520532
Views:
62
>But my problem was to find a way to really join a datatable in memory with tables in the backend. It seems that to dump keys in an in() clause in sql is the way to go. It works when you just have a set of keys, not sure how to deal with that in more complex situations.
>

We have this same issue with VFP and SQL Server... VFP cursors to join with underlying tables. Very simple within VFP, but not so simple when the database engine is separate. Our solution was to send the cursor to SQL Server as a temporary table, which could then be joined with other tables. It looks like Access has some support for temporary tables, but I don't know the details of how it works.

http://office.microsoft.com/en-us/access-help/create-table-statement-HP001032220.aspx
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform