P
p-rat
From my switchboard I have a selection "Enter Field Ticket
Information". When clicked I would like a dialog box or some form pop-
up and ask "What location?". The end-user would then type in their
location.
There is a table that I have called UserLocation. In this table I have
a field User and a field Location. The User field is their logon. It's
the GetUserName script. If the location the end-user types in the
dialog box or form = location in table and the user = user for that
location then I want the data entry form to pop-up for the end-user to
enter in their Field Ticket information. If the location they type in
doesn't match or the UserName doesn't equal that of the location then
I want a textbox to pop-up saying "sorry you are not authorized to
enter information for this location".
Would anyone know how I can make this work? Any help would be
appreciated. Thanks.
Information". When clicked I would like a dialog box or some form pop-
up and ask "What location?". The end-user would then type in their
location.
There is a table that I have called UserLocation. In this table I have
a field User and a field Location. The User field is their logon. It's
the GetUserName script. If the location the end-user types in the
dialog box or form = location in table and the user = user for that
location then I want the data entry form to pop-up for the end-user to
enter in their Field Ticket information. If the location they type in
doesn't match or the UserName doesn't equal that of the location then
I want a textbox to pop-up saying "sorry you are not authorized to
enter information for this location".
Would anyone know how I can make this work? Any help would be
appreciated. Thanks.