Steve,
Okay, so you could just load the data for the next record, and if the form is going to stay the same, simply refresh() the form.
The pageframe idea may work great for you. Set the tabs property of the pageframe to false. Put your navigation buttons below the page frame. Add a method to the form to set the proper pageframe:
navigate to next record in table
thisform.setPageFrame()
if table1.recordType = "Police"
thisform.pageframe1.activePage = 1
else
thisform.pageframe1.activePage = 2
endif
I'm not a big fan of the navigating records one at a time, but I guess it has its place.
Good luck!
>
>Here's why it looks like I am running the same modal form back-to-back, which may or may not happen.
>
>Record 1 is Policeman 1 so record type is Police so I run Police form.
>Record 2 is Fireman 1 so record type is Fireman so I run Fireman form.
>Record 3 is Policeman 2 so record type is Police so I run Police form.
>Record 4 is Policeman 3 so record type is Police so I run Police form.
>
>Fireman form is a data entry form and so is Polie form, but they could have different design and layout and some different controls on the form.
>
>So when I navigate using First, Prev, Next, Last command buttons I DO FORM whatever record type I have and that's how I end up repeating the same form over and over sometimes, but not always.
>
>I will review your reply and see if I can apply it to this application. Thanks again.
Steve Gibson