Alright I got all parts working and down to one last feature that I have to write for the boss man. He says he has done this and I don't think it can be done but if it can I could use some help. Again I have a Form called Insp which holds the inspections that check the work of the projects in the area. Like Fire Inspections, Mechanical, etc. Now I have a subform Insp1 that shows the records for each permit # on the main Insp form. Not hard wrong! Both of these are pointing to the same table. The main form has all the fields displayed from the Insp Table and the subform just shows some fields and they are linked by the Permit Number.
Insp Table (design)
-----------------------
Permit
Type
Date Requested
Date Inspected
Assign to
Insp Trade
Inspector
Result
Comments
Insp (main form)
-------------
Has all these fields on the form designed neatly.
Insp1(subform)
------------------
Has just these fields
Trade Type Inspector Result Date Inspected
Now I will detail some more. Now the Insp form is open and we do the data entry:
Permit: 1000
Date Requested: 08/31/2001
Date Inspected: 08/31/2001
etc.
Subform will have these for permit 1000
E Electrical John Passed 9/1/01
M Mechanical Jane Failed 9/1/01
P Plumbing John Passed 9/2/01
Now The main form will show all the fields filled in and have the electrical first so of course on the main form we could just move to the next record and be to the mechanical one. Now here is the problem. My boss wants to be able in the subform click on say Plumbing while the main is pointing to the electrical one first and when we click on the plumbing move the main form to the third record of that permit number before going to say 1001 may have five inspections. Can this be done? If not please help me think of a nice way to say no to the boss or if it can be done please I could use some help. Thank you and have a nice day.
Insp Table (design)
-----------------------
Permit
Type
Date Requested
Date Inspected
Assign to
Insp Trade
Inspector
Result
Comments
Insp (main form)
-------------
Has all these fields on the form designed neatly.
Insp1(subform)
------------------
Has just these fields
Trade Type Inspector Result Date Inspected
Now I will detail some more. Now the Insp form is open and we do the data entry:
Permit: 1000
Date Requested: 08/31/2001
Date Inspected: 08/31/2001
etc.
Subform will have these for permit 1000
E Electrical John Passed 9/1/01
M Mechanical Jane Failed 9/1/01
P Plumbing John Passed 9/2/01
Now The main form will show all the fields filled in and have the electrical first so of course on the main form we could just move to the next record and be to the mechanical one. Now here is the problem. My boss wants to be able in the subform click on say Plumbing while the main is pointing to the electrical one first and when we click on the plumbing move the main form to the third record of that permit number before going to say 1001 may have five inspections. Can this be done? If not please help me think of a nice way to say no to the boss or if it can be done please I could use some help. Thank you and have a nice day.