Help Needed Urgent

Reply

Join Date: Jul 2007
Posts: 9
Reputation: bapu435 is an unknown quantity at this point 
Solved Threads: 0
bapu435 bapu435 is offline Offline
Newbie Poster

Help Needed Urgent

 
0
  #1
Sep 24th, 2008
Hi friends i want a help from u friends my application is using ms access forms as front end and we are using vb for coding i have a form consists of a combo box and a button named export,when we select an item from combo box and click on export button all the data in different tables related to the selected item in combo box should go to another database and add to the respected tables i am supposed to write a stored procedure for this, pls any one help me in writing stored procedure ,
Is it possible to export the records from one database to another database
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 300
Reputation: jireh is an unknown quantity at this point 
Solved Threads: 42
jireh's Avatar
jireh jireh is offline Offline
Posting Whiz

Re: Help Needed Urgent

 
0
  #2
Sep 24th, 2008
yes it possible. you only have two open the two database at the same time then use a select statement that will retrieve all the records that's related to the one you have selected then use clone property.
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 9
Reputation: bapu435 is an unknown quantity at this point 
Solved Threads: 0
bapu435 bapu435 is offline Offline
Newbie Poster

Re: Help Needed Urgent

 
0
  #3
Sep 24th, 2008
Originally Posted by jireh View Post
yes it possible. you only have two open the two database at the same time then use a select statement that will retrieve all the records that's related to the one you have selected then use clone property.

thank u for response "jireh" i am supposed to do it by using stored procedures can any one help in this aspect
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 300
Reputation: jireh is an unknown quantity at this point 
Solved Threads: 42
jireh's Avatar
jireh jireh is offline Offline
Posting Whiz

Re: Help Needed Urgent

 
0
  #4
Sep 24th, 2008
can you please post here your code and your SP?
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 9
Reputation: bapu435 is an unknown quantity at this point 
Solved Threads: 0
bapu435 bapu435 is offline Offline
Newbie Poster

Re: Help Needed Urgent

 
0
  #5
Sep 29th, 2008
hi jireh thank you for responding ,My application is having around 50 tables and the stored procedure is of 4 to 5 pages, i think it is not possible for me to post the entire things here, but i will give you the details about the code and stored procedure,To write the stored procedure i have used temperory tables cursors and identities ,First created temperory tables and then inserted data into temperory tables using cursors and identity, if u have any stored procedure for this kind of issue send to me thank u
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 300
Reputation: jireh is an unknown quantity at this point 
Solved Threads: 42
jireh's Avatar
jireh jireh is offline Offline
Posting Whiz

Re: Help Needed Urgent

 
0
  #6
Sep 29th, 2008
please read... http://hubpages.com/hub/Stored_Procedure_in_MS_Access

"Temporary tables are not available in Access. "
Reply With Quote Quick reply to this message  
Reply

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



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



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

©2003 - 2009 DaniWeb® LLC