retrive data from different tables of Ms access

Please support our ASP advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
Reply

Join Date: Jan 2007
Posts: 21
Reputation: nehashri is an unknown quantity at this point 
Solved Threads: 0
nehashri nehashri is offline Offline
Newbie Poster

retrive data from different tables of Ms access

 
0
  #1
May 16th, 2007
hi
i am designing a database using Ms Access and ASP. i have 3 tables in access namely 'PERSONAL', other as 'POLICY' and 3rd one is named as 'STAFF'. in the contact table i have ID, Name, Children as fields. Also in policy table the firlds are:- ID, date_of_policy, no_policy, amount_paid, amount_balance and similarly the 3rd ie., staff has few fields. all three are linked my a common field which is ID

all i want is when the user searches for a perticular name (from frontend) it should search through table- 'PERSONAL' (fields- Name and Children). once it get the perticular name with the help of the ID it should retrive the datafrom both 'POLICY' and 'STAFF' of that perticular name and dispaly on the front end

i do know hoe to search and display data of the same table but i m a bit confused when i have to display data of a perticular name from 2 other table linking with ID.
plz help me its important and urgent
thanking
neha
Last edited by nehashri; May 16th, 2007 at 6:28 am.
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 24
Reputation: yenyen is an unknown quantity at this point 
Solved Threads: 0
yenyen yenyen is offline Offline
Newbie Poster

Re: retrive data from different tables of Ms access

 
0
  #2
May 16th, 2007
try to use the join sql to join the 3 tables
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC