The four most common chemically active elements in the universe - hydrogen, oxygen, carbon, and nitrogen - are the four most common elements of life on Earth. We are not simply in the universe. The universe is in us.
When I run the VendorPriceUpdateF, and select a Category from the Category List Combo, no items appear in the List Box. I've done the lesson twice and end up with exactly the same problem. I'm using Access from Office 365 and do find that there are very small differences compared to Access 2010. Not sure what the issue is.
Scott Axton
@Reply 5 years ago
Ina -
Nine times out of ten I find that I have a typo if things are not running properly. Quote in the wrong place or parentheses not correct, etc. It's really hard to help you trouble shoot what is happening when we cant see what you have.
please copy and post your SQL here and that will help us move forward.
Also, open the tables and verify for yourself that you do indeed have data that should be showing up. If there is truly no matching data that would be a whole different issue.
Are you receiving any error messages?
Ina van RooyenOP
@Reply
5 years ago
Hi Scott, when the form opens all the items are listed in the List Box. When I select a specific category, the list box is empty with no error message.
CategoryCombo SQL
Private Sub LogIt(Description As String, Notes As String)
The same SQL appears in the CategoryCombo and the VendorPriceUpdateF. Is that correct?
Kevin Robertson
@Reply 5 years ago
In your RowSource:
ProductID is misspelled, you have an extra ID on the end. Also, you appear to have a comma after ProductVendorNewPricingQ.
Hope this helps.
Ina van RooyenOP
@Reply
5 years ago
Hi Kevin, ProductIDID was spelled like that in my table as well, although I've changed it now and I removed the comma and it still was the same. I then decided to add the SELECT statement in the CategoryCombo Row Source, which was empty, and it worked.
Does it make sense?
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 SQL Seminar Part 2.