Philocthetes
Has a great deal to learn
- Local time
- Yesterday, 21:42
- Joined
- Dec 19, 2017
- Messages
- 28
I'm building a production-oriented database that needs to track who did what task (many instances). I started with lookups and this morning learned how that was a poor decision for my context.
Now I'm trying a workaround that will limit workers to entries that match one of the rows in [Users].[Short_Name]. I can't seem to get the Validation Rule box to recognize the table-field reference.
I've tried multiple forms the parentheses that the error-on-save demands, with and without the brackets, and also tried to tweak a syntax I found somewhere in Help, Users!Short_Name. I think that last one just won't work with tables; Help had not examples of that.
I know I could just put a list in the Validation Text box, but I don't want to have to update that on a bunch of different tables when I have a Users table with a yes/no field for Active. When I was working with the lookups, it was easy to add a criterion Active=Yes to the lookup query.
Does this mean that despite all the good reasons to avoid lookups, I have to use one if I want to avoid manually updating Validation Text lists for a dozen (more, probably) fields?
Now I'm trying a workaround that will limit workers to entries that match one of the rows in [Users].[Short_Name]. I can't seem to get the Validation Rule box to recognize the table-field reference.
I've tried multiple forms the parentheses that the error-on-save demands, with and without the brackets, and also tried to tweak a syntax I found somewhere in Help, Users!Short_Name. I think that last one just won't work with tables; Help had not examples of that.
I know I could just put a list in the Validation Text box, but I don't want to have to update that on a bunch of different tables when I have a Users table with a yes/no field for Active. When I was working with the lookups, it was easy to add a criterion Active=Yes to the lookup query.
Does this mean that despite all the good reasons to avoid lookups, I have to use one if I want to avoid manually updating Validation Text lists for a dozen (more, probably) fields?