Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

2 MDB files: 1st has Clients table ClientID and ClientName fields; 2nd has Orders table with OrderDate and ClientID fields and other.

According to entered Date I need to display in 1st DataGrid ClientName and in 2nd DataGrid order(s) detials of same Client.

 

So, I need 2 connections and 2 DataSets for each connection: I fill 1st DataSet with orders for specified date, having ClientID in it. Now, how do I select into 2nd DataSet names of appropriate clients from Clients table from another file (connection/adapter) basing on CleintID? How do I build "Select" statement based on data in anoher DataSet?

 

VB.NET please.

Posted
Thats good you have solved it. I was thinking about this and I thought running your first query and storing the client id's in an array or single variable and then basing your second query on that variable to pull out the required records.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...