John
If I read you right, essentially it's a case of everything is read-only (until edit is clicked), and also maybe enabled = .F. You can set enabled = .T. and still leave the data as readonly.
Terry
>Hi all,
>
>I've got a form that uses a frame (form1.mainframe) with five tabs (form1.mainframe.tab1, etc.). Right now, I only allow access to the frame after the user clicks an Edit button on the form. At that point, they can access the frame, make edits, change tabs, etc.
>
>How could I keep things as they are (preventing access to changing the data), but allow them to switch tabs without having to click the Edit button? I want them to be able to view everything on each tab but not be able to change any of the data on the tabs unless they choose Edit.
>
>Thanks,
>
>John
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.