DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   VB.NET (http://www.daniweb.com/forums/forum58.html)
-   -   Searching multiple MS SQL Tables (http://www.daniweb.com/forums/thread85454.html)

TaoistTotty Aug 5th, 2007 2:23 pm
Searching multiple MS SQL Tables
 
I would be grateful if anyone could let me know of an easy way of searching multiple tables for information.

I would like to display any found results in a grid alowing the user to choose the correct one and have this disply in the main form.

If this easy to do? I know it will need joins etc., but these are new to me.

Thanking you in advance.

iamthwee Aug 5th, 2007 2:35 pm
Re: Searching multiple MS SQL Tables
 
If you are looking to pull out just one value (field) then this is simple enough. But databases are not like that, they're linked to different tables. How they are linked will depend on how easy it is to get the correct data out.

TaoistTotty Aug 5th, 2007 2:47 pm
Re: Searching multiple MS SQL Tables
 
The tables are one table linked to three or four others (each of these are not link to each other)

Does this help?

iamthwee Aug 6th, 2007 3:09 pm
Re: Searching multiple MS SQL Tables
 
Is it possible to show us a schematic of your tables, how they are linked and what are the primary keys etc.

TaoistTotty Aug 6th, 2007 3:26 pm
Re: Searching multiple MS SQL Tables
 
1 Attachment(s)
Please find the information below, thanks for you help.

iamthwee Aug 6th, 2007 5:36 pm
Re: Searching multiple MS SQL Tables
 
I can barely read that text can you post a picture where all the text is big and clear to read. Thanks.

TaoistTotty Aug 7th, 2007 3:06 am
Re: Searching multiple MS SQL Tables
 
1 Attachment(s)
Is this better?

QVeen72 Aug 7th, 2007 10:42 am
Re: Searching multiple MS SQL Tables
 
Hi,

what u actually want..? Search all the fields of all the tables for any one Specific condition...?

-Vee

TaoistTotty Aug 7th, 2007 11:38 am
Re: Searching multiple MS SQL Tables
 
Vee, well put that is what I want.

I know this seems strange, but the old DB (propitiatory) can do this and they want to keep that functionality.

QVeen72 Aug 7th, 2007 3:45 pm
Re: Searching multiple MS SQL Tables
 
Hi,

What is the Database u r using..? Access..?

-Vee


All times are GMT -4. The time now is 6:58 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC