MediaHolic
New member
- Local time
- Today, 10:40
- Joined
- Aug 3, 2024
- Messages
- 12
Hello,
I'm new to the forum and as my name suggests, I'm creating an access database (Access 2019) to track all my blu rays.
Complete novice to VBA but have a history in C++ years ago so the construct is familiar but trying my best every day and making baby step progress.
My problem is, I have a single form (attached image, first draft, please be kind) that has a drop down list of items regarding the purchase state of the movie, if it is owned (options are "Yes", "No", "On Order", "Yet to be released" and "Never seen for sale") as a drop down list, Yes is highlighted. On the line below, the second item in is most wanted for my top ten wants, included as a check box. If the most wanted is selected and if the owned state is currently No and is then changed to Yes as I've acquired the item, then it can no longer be in the top ten wanted.
So, how to I check if "most wanted?" check box is populated, deselect it if No is changed to Yes and then disable the most wanted box completely as it cannot be wanted if I now own it?
This was my attempt but it doesn't work:
Me!premiuml.disabled = (Me![Own?].ownedl="Yes")
Most wanted check box is called premiuml
The drop down list is called ownedl
Any help or advice would be greatly appreciated. Thanks in advance.
I'm new to the forum and as my name suggests, I'm creating an access database (Access 2019) to track all my blu rays.
Complete novice to VBA but have a history in C++ years ago so the construct is familiar but trying my best every day and making baby step progress.
My problem is, I have a single form (attached image, first draft, please be kind) that has a drop down list of items regarding the purchase state of the movie, if it is owned (options are "Yes", "No", "On Order", "Yet to be released" and "Never seen for sale") as a drop down list, Yes is highlighted. On the line below, the second item in is most wanted for my top ten wants, included as a check box. If the most wanted is selected and if the owned state is currently No and is then changed to Yes as I've acquired the item, then it can no longer be in the top ten wanted.
So, how to I check if "most wanted?" check box is populated, deselect it if No is changed to Yes and then disable the most wanted box completely as it cannot be wanted if I now own it?
This was my attempt but it doesn't work:
Me!premiuml.disabled = (Me![Own?].ownedl="Yes")
Most wanted check box is called premiuml
The drop down list is called ownedl
Any help or advice would be greatly appreciated. Thanks in advance.