K
kdg
I think what I want to ask has to do with the validation rule in my table, but it may be more complex than that. Could anyone help out on this?
My database is designed to track the maintenance activities on around 50 cars in our fleet. What I want to tell it is...
When entering data (on a form that goes directly to the table), in the Odometer Reading field I want it to not allow and alert the user if the entry that they put in is <= the maximum odometer reading already in the database for that particular vehicle.
I can't put a "no duplicates" on the odometer read field, because of the fact that there are 50 cars and they may end up with the same od read on more than one car... but I'm not sure how to tell it to look at the unique identifier (VIN #) and then look at the od read ...???
I'm rather a novice at the coding, SQL, and stuff like that, so if I need that, I'm usually asking for help... but I'm learning!!! Thanks to this group!!!
Thanks in advance for your help on this one. I'm almost to a point where we can start using this, but I still have some fine tuning on a couple of things. This one solves a big portion of it.
My database is designed to track the maintenance activities on around 50 cars in our fleet. What I want to tell it is...
When entering data (on a form that goes directly to the table), in the Odometer Reading field I want it to not allow and alert the user if the entry that they put in is <= the maximum odometer reading already in the database for that particular vehicle.
I can't put a "no duplicates" on the odometer read field, because of the fact that there are 50 cars and they may end up with the same od read on more than one car... but I'm not sure how to tell it to look at the unique identifier (VIN #) and then look at the od read ...???
I'm rather a novice at the coding, SQL, and stuff like that, so if I need that, I'm usually asking for help... but I'm learning!!! Thanks to this group!!!
Thanks in advance for your help on this one. I'm almost to a point where we can start using this, but I still have some fine tuning on a couple of things. This one solves a big portion of it.