SQL Intergrated With VBA

Apr 29, 2007

Hi, i've searched the forums, no look with this one im afraid.

What i want is when a button is pressed, i want the following to happen:


I want a new blank table to be created.

I want records from an SQL query to be added into the table.

I want to send that table to an external MS Access file.

I want the tempory table to be deleted.


I 've done a lot of reasearch into this, and i have found that the best way to do it is using an SQL statement, and then the DoCmd.RunSQL property.

But i cant figure out the sql code to do the above, can anyone give me some generic code that i can follow to help me?

Thanks!:D

View Replies


ADVERTISEMENT

Weird EBay Intergrated Database Questions

Nov 2, 2006

I started a fairly sucessfull eBay company selling Cellular Phones. Now i am trying to speed up the entire process through the intergration of mutiple programs.
What i have is one program called Blackthorne, i think it is a .net program but i know for sure all of its information is store into a LARGE database with all the sales, listings, and inventory information.
What i would like to do is have access print out the packing slips of all items that are in the payment cleared catagory, and to print them out in accending order.
Is there a way to do this. If so i have aot more little problems to solve, and may need more help but if i can't do that then i will just keep it the way it is.

Thanks alot for your help

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved