Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bringing Excel worksheet data into a Temp Table

Status
Not open for further replies.

UNDPC

MIS
Dec 18, 2003
57
US
Hi,
I am trying to create a macro that creates a temporary table in Access and then imports data from an Excel worksheet. When I run the "RunSQL" command to execute my CREATE TABLE statement, I am getting a syntax error. I thought my statement was correct, and I cannot see what is wrong. Anyone see it?

CREATE TABLE Current_Period_Checks (Payor TEXT, GL_Number NUMBER(Long), Borrower_ID_Number NUMBER(Long), CAM_Date DATE/TIME, Check_Cleared_Date DATE/TIME, Disallowed_Date DATE/TIME, Amount NUMBER(Double), Account NUMBER(Decimal), Comment TEXT);
 
you may find it easyer to create the table yourself manually. You can then delete all the rows in one query, then import the data in the next query.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top