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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Append data to Excel spreadsheet

Status
Not open for further replies.

Palmyra

Programmer
Jan 5, 2007
150
US
I have an Access 2003 query that tries to append data from a SQL table to an Excel spreadsheet. I keep getting 'must be an updateable query' error. This used to work.

I have my Excel spreadsheets attached to the Access database - and they writable in Access. But my query won't append to them.

Any help appreciated.
 
This is the SQL version of the Access query I'm using.

Thanks.

INSERT INTO [ADD] ( tkinit, tksort, tklast, tkfirst, tktitle, tktmdate, tkloc, tkemdate, tkinitb, tglmask, tkblast, tkbfirst, tkstrate, tkdept, tksect, tkschool, tkgrdate, tkbrdate, tkstdcst, tprotem, tkeflag, tkemail, tkmoddate, tkmodtime, tkmoduser, tkceflag, unit, tkdegree, tkphone, tksectretary1, tksectretary2 )
SELECT timekeep.tkinit, timekeep.tksort, timekeep.tklast, timekeep.tkfirst, timekeep.tktitle, timekeep.tktmdate, timekeep.tkloc, timekeep.tkemdate, timekeep.tkinitb, timekeep.tglmask, timekeep.tkblast, timekeep.tkbfirst, timekeep.tkstrate, timekeep.tkdept, timekeep.tksect, timekeep.tkschool, timekeep.tkgrdate, timekeep.tkbrdate, timekeep.tkstdcst, timekeep.tprotem, timekeep.tkeflag, timekeep.tkemail, timekeep.tkmoddate, timekeep.tkmodtime, timekeep.tkmoduser, timekeep.tkceflag, timekeep.unit, timekeep.tkdegree, timekeep.tkphone, timekeep.tksectretary1, timekeep.tksectretary2
FROM timekeep
WHERE (((timekeep.tkinit)="14416"));
 

I think that it used to work in previous versions of access, AC2000 for sure, don't know for AC2002.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top