Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Join or relate vfp tables prior to putting in dataset
Message
From
04/03/2010 08:31:56
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Join or relate vfp tables prior to putting in dataset
Environment versions
Environment:
ASP.NET
OS:
Windows 7
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01452459
Message ID:
01452459
Views:
88
HI,

Would someone please show me how to perform a vfp datatable query, via a business object function (C# please), that relates two tables prior to putting the result of the query in the dataset.

I have an appointments data table and a patients data table. The appointments table is small with PK = ID, FK=patientID. The patient data table is huge with PK=patientID.

Sure, I can bring over the 2 tables and then do the join in the dataset or set up a relation once in the dataset is filled with the 2 tables. But.... I would like to limit the size of the patient table query. This seems so simple in native VFP (set relation to or a select with join) but I am having trouble wrapping my mind around it in MM.NET.

Thanx,
Neil Gorin
Next
Reply
Map
View

Click here to load this message in the networking platform