>To whom it may concern.
>
>I have just developed an accounting package in VFP6.0. I have a simple menu that allows the user to select Account Records, Enter Invoices, Payments etc.... My problem is this. If a form (lets say Enter Invoices) is selected and the form is now running the user can still select the same program and run the form a second time (or a third etc.) How can I stop this. Is there a command like IF VISIBLE()FORM invoice.scx THEN...... Also if Account Records form is runnig and the user the selects Enter Invoices, when I return control to Account Records the account changes to the last account used in Enter Invoices. How can I lock the record pointer to a given file in a given form?
>
>Yours
>
>Des Twomey
Des,
There is wvisible('uniuqefrmname') you could put in skip for.
Use private datasessions.
Cetin