T
TraciAnn via AccessMonster.com
Researching my subject produces a bunch of "You don't want to do that....
redundant data...etc...etc."
I DO want to do this.
I designed my database so the active records would be based on the value of a
single value in a table Filter.Project
This is a numeric value which I would manually change anytime I needed to
"switch" projects. Almost all queries within the db does a DLookup("[Project]
","[Filter]") to display the related records. This works like a charm.
Now, I have users who would like to change this on the fly and add another
filter field.
To simplify matters for the user I thought I would change the structure just
a little, allowing users to select a Project Name rather than trying to
remember projectID's. I also want to use a text column as a string in
situations it will apply.
Project table
ProjectID (PK)
ProjectName
String
Filter table
FilterID (PK)
ProjectID (FK Project)
String
My thought is that Project will contain the full list of projects (currently
at 5) and Filter will be a single record table.
When the User opens the db the opening form will be a popup modal asking the
user to select the project. They choose the project name which updates the
other two fields (ProjectID & String). From that point forward, all queries
are pointing to those variables.
Does this make sense?
The db is split with a SQL BE but this table will be placed on the local FE,
so I don't see a problem with multiple users wanting to see different
projects at the same time.
Your input is appreciated!
redundant data...etc...etc."
I DO want to do this.
I designed my database so the active records would be based on the value of a
single value in a table Filter.Project
This is a numeric value which I would manually change anytime I needed to
"switch" projects. Almost all queries within the db does a DLookup("[Project]
","[Filter]") to display the related records. This works like a charm.
Now, I have users who would like to change this on the fly and add another
filter field.
To simplify matters for the user I thought I would change the structure just
a little, allowing users to select a Project Name rather than trying to
remember projectID's. I also want to use a text column as a string in
situations it will apply.
Project table
ProjectID (PK)
ProjectName
String
Filter table
FilterID (PK)
ProjectID (FK Project)
String
My thought is that Project will contain the full list of projects (currently
at 5) and Filter will be a single record table.
When the User opens the db the opening form will be a popup modal asking the
user to select the project. They choose the project name which updates the
other two fields (ProjectID & String). From that point forward, all queries
are pointing to those variables.
Does this make sense?
The db is split with a SQL BE but this table will be placed on the local FE,
so I don't see a problem with multiple users wanting to see different
projects at the same time.
Your input is appreciated!