- Sat Mar 22, 2003 4:10 pm
#66606
Is anyone any good with MS Access? I'm attempting to do my IT coursework (A level) & really realy struggling, I haven't got a clue what I'm doing...
magenta wrote:I'm trying to import from Excel to Access, but I want certain columns in the Excel file to go into certain places in the tables of the database, rather than it all just going across, but I can't work out how it's possible.
SELECT tblAllData.Name, tblAllData.Sex;
INSERT INTO tblData
SELECT tblAllData.Name, tblAllData.Sex;
INSERT INTO tblCustomerStockData
SELECT * FROM tblAllData
WHERE StockType = "Cust";