I am still working with expert level 22 lesson 3. I have a subform in my order form and this process works fine. I am trying to use this procedure with my product subform. What I do is gather supplies and put them together to make a finished product. But when I start making the control button I get two error messages see images. I have gone through my tables and queries to see what I can find but no luck. Maybe you can help.
Richard Van WagonerOP
@Reply 3 years ago
Richard Van WagonerOP
@Reply 3 years ago
Richard Van WagonerOP
@Reply 3 years ago
I should mention that these error messages happened after I unbounded the combo box. Before I even start on the command button.
Scott Axton
@Reply 3 years ago
Double check the properties for the Product subform. The second error indicates to me the the linking fields are either missing or incorrect.
It's also possible that you have some errant code behind the scenes. Do a Debug > Compile from the code window also.
Richard Van WagonerOP
@Reply 3 years ago
The debug compile fixed the second error. I think I am going to have to do some work on the subform. I have some calculated fields that are relying on The SupplyCatergory Field. I think maybe trying to incorporate this field into the combo box might help. If you think that this is not the way to proceed let me know.
Richard Van WagonerOP
@Reply 3 years ago
The command button works up until the error message appears.
Richard Van WagonerOP
@Reply 3 years ago
I think I have it fixed except when adding a supply that is not on my list I have to assign a category to it. Which I don't mind much. But I don't know how to get around that. Any suggestions would be helpful.
Richard Van WagonerOP
@Reply 3 years ago
Richard Van WagonerOP
@Reply 3 years ago
Richard Van WagonerOP
@Reply 3 years ago
Richard Van WagonerOP
@Reply 3 years ago
Here are some Screenshots of my query that this runs on. I am having a bit of trouble with the functions. I need Category 5 to be 10% of the MfcPrice which is in the table. I also need to have Category 15 to be 100% of MfcPrice, Category 17 also at 100%, Category 21 at 100%, and finally every other category at 115%. I can get three to work but not 4. Maybe you could help me with this also. Is there a way to move them so that they are all on the bottom end of category numbers. Maybe I could use a <= function for 2 of them. Thanks
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Access Expert 22.