G
Guest
I have been asked to do a small database, where there is a "location" table
(this is all static information, and contains details of specific locations).
My company does work at these locations (3000) of them, and wants to have a
record of proposed jobs on some of these locations, as well as a history of
previous jobs at these locations.
I have created a structure where simplistically there is a location table,
as well as a job descriptor table. the job descriptor has the location as a
FK. (there are lots of other tables, but they are (easy). The location table
has an autonumber PK, because many of the locations are very similar, eg High
St
Now what I am trying desperately to do is get a search function to work,
which looks for information in the location table, and then places it into
the Job descriptor table. The query I base my form on, only seems to want to
look at current jobs and their locations. Because there are so many records,
the simple combo box I am using for contractors and my other smaller forms is
unwieldly, so I need to use a filter, to source out the correct location to
enter.
The second issue is I need to log jobs at each location. I am trying to
figure out how to do a "count field", so that I can distinguish in a
numerical order the jobs performed at each location - eg (1998) (1) (High
St) (replace traffic lights); (1998) (2) ( High St) (dig up road); etc, in
such a way that they can then select the job and look at it in more detail,
eg who worked on it, how much it cost etc.....
(this is all static information, and contains details of specific locations).
My company does work at these locations (3000) of them, and wants to have a
record of proposed jobs on some of these locations, as well as a history of
previous jobs at these locations.
I have created a structure where simplistically there is a location table,
as well as a job descriptor table. the job descriptor has the location as a
FK. (there are lots of other tables, but they are (easy). The location table
has an autonumber PK, because many of the locations are very similar, eg High
St
Now what I am trying desperately to do is get a search function to work,
which looks for information in the location table, and then places it into
the Job descriptor table. The query I base my form on, only seems to want to
look at current jobs and their locations. Because there are so many records,
the simple combo box I am using for contractors and my other smaller forms is
unwieldly, so I need to use a filter, to source out the correct location to
enter.
The second issue is I need to log jobs at each location. I am trying to
figure out how to do a "count field", so that I can distinguish in a
numerical order the jobs performed at each location - eg (1998) (1) (High
St) (replace traffic lights); (1998) (2) ( High St) (dig up road); etc, in
such a way that they can then select the job and look at it in more detail,
eg who worked on it, how much it cost etc.....