J Blizzard
New Member
- Joined
- Dec 23, 2019
- Messages
- 20
- Office Version
- 365
- Platform
- Windows
I've made my first Access database and watched a few hours of videos to learn how to use Access, but I've run into something that I wasn't able to figure out. I have a Table named "Bunnies" which I'll use to track each rabbit that I have in a rabbitry. Each rabbit will have a tag # on its ear, which I've called "TagNumber" in an effort to not use special characters or symbols. I then created a Form named "NewBunnyForm" to enter new information into the Bunnies Table, rather than directly interfacing with the table. All of this works so far, but I want to make sure I don't enter a tag # that is already in use by a different rabbit. I went to the Form's Property Sheet and selected the text entry for TagNumber, which for some reason is called Text77, went to Validation Rule, opened the Expression Builder, and clicked various Expression Elements and Categories in the GUI to come up with "<>[Bunnies]![TagNumber]" thinking that I would disallow values which are already found in the TagNumber field in the Bunnies Table. However, I'm getting possibly the most confusing error message: "The expression [Bunnies] you entered in the form control's ValidationRule property contains the error The object doesn't contain the Automation object 'Bunnies.'."
I feel like I'm not trying to automate anything or import from a pdf or write a macro or any of the other stuff that came up when I tried to figure out what even this error is talking about. Did I format something incorrectly? Am I not allowed to check a Table from a Form? Is there a type mismatch or something? I also tried other Operators like In, but that threw the same error message and my search results for that all point to SQL, which I'm trying to avoid using.
I did a search for this error on this forum as well, but nothing matched. I'd appreciate any help on this!
I feel like I'm not trying to automate anything or import from a pdf or write a macro or any of the other stuff that came up when I tried to figure out what even this error is talking about. Did I format something incorrectly? Am I not allowed to check a Table from a Form? Is there a type mismatch or something? I also tried other Operators like In, but that threw the same error message and my search results for that all point to SQL, which I'm trying to avoid using.
I did a search for this error on this forum as well, but nothing matched. I'd appreciate any help on this!