G
Guest
Here is my goal.
To a form open as either read-only or read-write based on the system user ID
info.
I have already got user ID solved with the help from another thread.
I would like to change the form's RecordSetType value based on a couple If
statements.
For example :
If user A opens the form, the RecordSetType = 0
If user B opens the form, the RecordSetType = 2
The problem that I run into is I cant seem to change the RecordSetType to
anything but the default setting in the form's properties.
I tried adding code to change the RecordSetType in the OnOpen or OnLoad of
the form, but no change could be made.
The form would always load to whatever was set in the defaults.
Questions :
Is there a way to set the RecordSetType while the form is opening?
Is there a way to change the RecordSetType of a form once it is open?
Also, I need to change the RecordSetType instead of opening the form as read
only because the combo boxes dont work.
Any ideas?
To a form open as either read-only or read-write based on the system user ID
info.
I have already got user ID solved with the help from another thread.
I would like to change the form's RecordSetType value based on a couple If
statements.
For example :
If user A opens the form, the RecordSetType = 0
If user B opens the form, the RecordSetType = 2
The problem that I run into is I cant seem to change the RecordSetType to
anything but the default setting in the form's properties.
I tried adding code to change the RecordSetType in the OnOpen or OnLoad of
the form, but no change could be made.
The form would always load to whatever was set in the defaults.
Questions :
Is there a way to set the RecordSetType while the form is opening?
Is there a way to change the RecordSetType of a form once it is open?
Also, I need to change the RecordSetType instead of opening the form as read
only because the combo boxes dont work.
Any ideas?