Compile error |
Post Reply |
Author | |
Semisi
Newbie Joined: 25 August 2005 Location: Tonga Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 25 August 2005 at 5:36pm |
I'm a beginner user of VB and I've entered these codes which links to Microsoft Access and few excel files but keeps getting a compiler error: Method or data member not found. this highlights the Bnk = Inpt.Bank As I'm only a beginner user I'm not sure what is wrong. Below is the code I entered DoCmd.TransferSpreadsheet acImport, 5, Tbl, "MB_INPT.XLS", True, "BRF_Data!" Set Inpt = Db.OpenRecordset("Input_tmp", dbOpenTable) k = Del_Qry("Qry_del") Qry_def = "DELETE DISTINCTROW Data.Bank, Data.Ddate " k = Add_Tab(Tbl, "Data") k = Del_Qry("Qry_del") Beep DoCmd.RunMacro "ExitAccess" 'End If End Function I would be very grateful of any suggestions Semisi
|
|
Malo,
Semisi 'Ofa Lokotui |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |