Hello everyone
I have come to the point where I think I need to write a module to finish the last steps of my db. Can anyone please give me their advice / oppinion on the4 easiest way to do this, I have NEVER written a module beofre, I know what they look like, but I do not know the diffference between Private Subs etc etc - help!
My aim is very simple:
Have a form with a browse for file command button, then a command button which will upload the data to an already existing table but it must OVERWRITE the data, NOT append.
I have thus far got this:
but I don't know what to do with it, and this does not incorporate the browse function :(
pls help :D
nat
I have come to the point where I think I need to write a module to finish the last steps of my db. Can anyone please give me their advice / oppinion on the4 easiest way to do this, I have NEVER written a module beofre, I know what they look like, but I do not know the diffference between Private Subs etc etc - help!
My aim is very simple:
Have a form with a browse for file command button, then a command button which will upload the data to an already existing table but it must OVERWRITE the data, NOT append.
I have thus far got this:
Code:
DoCmd.TransferSpreadsheet transfertype:=acImport, _
tablename:="tblBTM", _
FileName:="P:\Fin\B_SHEET\COMMS\NIMS\Investigation\New MACS\MARCH 08\BT_MACS_MAR07_MAR08.xls", Hasfieldnames:=True, _
Range:="'BT_MACS_MAR07_MAR08'!", SpreadsheetType:=8
pls help :D
nat
Comment