Nothingness
New member
- Local time
- Today, 15:03
- Joined
- Feb 7, 2007
- Messages
- 3
Hello,
I am having a problem with the following code. What I want to do is create a macro that when clicked it will store the data into a table. Everything works fine but when it goes to store the data a box pops up and asks you for the data you want entered, when it is already entered in the Forms.
Thank you in advanced.
The Code:
DoCmd.RunSQL "INSERT INTO [TemporaryData]([Period],[HMO],[EFB Data],[FOB Data],[EFB and FOB Data],[Total NonDDD],[Total DDD],[BN NonDDD],[BN DDD],[Payment Rate NonDDD],[Payment Rate DDD]) VALUES('#PeriodBox#','HMOBox',EFBBox,FOBBox,BlendedBox,TNDDDBox,TDDDBox,BNNDDBox,BNDDDBox,PRNDDDBox,PRDDDBox)"
I am having a problem with the following code. What I want to do is create a macro that when clicked it will store the data into a table. Everything works fine but when it goes to store the data a box pops up and asks you for the data you want entered, when it is already entered in the Forms.
Thank you in advanced.
The Code:
DoCmd.RunSQL "INSERT INTO [TemporaryData]([Period],[HMO],[EFB Data],[FOB Data],[EFB and FOB Data],[Total NonDDD],[Total DDD],[BN NonDDD],[BN DDD],[Payment Rate NonDDD],[Payment Rate DDD]) VALUES('#PeriodBox#','HMOBox',EFBBox,FOBBox,BlendedBox,TNDDDBox,TDDDBox,BNNDDBox,BNDDDBox,PRNDDDBox,PRDDDBox)"