MamadouNdaw
Registered User.
- Local time
- Today, 02:03
- Joined
- Nov 14, 2007
- Messages
- 17
Ok boys. That was very clear, and now works like a charm. The only problem I had with your code is that the .Column(1) portion produced a syntax error, but without that it works perfect.
I don't find the concepts of vb code and access complicated; however, knowing the code commands and syntax is a bit frustrating for me. That's why it's much easier to ask on the forum, because then I see a specific use for specific code.
While we are on the subject of these combo boxes, I have another question. When a user enters something in the ServiceID or ProductID boxes, I would like to lock the other box. As you can see in the picture, there is a ServiceID and ProductID column for every row, but only one can be entered per row, for purposes of data entry. So if someone enters a serviceID, I would like the ProductID box to automatically lock on update and vice versa. Also, if they make an error, and intended to enter a product instead of a service, clearing the box would unlock the other box. Does that make sense?
Thanks for your detailed responses. A big help, really.
I don't find the concepts of vb code and access complicated; however, knowing the code commands and syntax is a bit frustrating for me. That's why it's much easier to ask on the forum, because then I see a specific use for specific code.
While we are on the subject of these combo boxes, I have another question. When a user enters something in the ServiceID or ProductID boxes, I would like to lock the other box. As you can see in the picture, there is a ServiceID and ProductID column for every row, but only one can be entered per row, for purposes of data entry. So if someone enters a serviceID, I would like the ProductID box to automatically lock on update and vice versa. Also, if they make an error, and intended to enter a product instead of a service, clearing the box would unlock the other box. Does that make sense?
Thanks for your detailed responses. A big help, really.