Tony,
>I have a MM Maint. form with a Tab Control on it with 5 tabs on it.
>
>The user will generally enter data on the Properties (my Requisition Entry) page, then the user should click on the [Save] button, and then go to the Line Item Entry page to enter more data.
>
>I don't want the use to be able to go to the Line Item Entry page before they save the Requisition record. The reason for this is that some of the data has to come from a correctly saved record.
>
>So, how do I keep the user from clicking on a another tab before saving the data?
>
The tab control has a selectedIndex Changed event. There is also a click event which might be before the change occurs. You can check there to see if your conditions have been met and if not set the selected index back to where you want them or cancel the index change. I would also display a label on the form they were on to let the user know they can't change until they have saved the data.
Tim
Timothy Bryan