Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5586 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I built a data base for work and at the end of our shifts a button closes out the shift and prints the report, then runs a Re-Log In script for the next attendant. My problem is if a user chooses the cancel button it will log them in as the last user. I tried to use the Get [Last Message] with no luck. Is there a way to stop this?

Posted (edited)

Thanks, I tried with no luck. This is the script I am using. Do not know if it is wrigt.

THE BUTTON

Show Custom Dialog["Log In";"You are about to start a new shift. Do you want to continue."]

If[Get(LastMaseageChoice)=2]

Go to Layout["Log In"(Log In)]

Else If [Get(LastMaseageChoice)=1]

Perform Script["[color:red]Re-Login New Record"]

End If

SCRIPT-Re-Login New Record

[color:red]Go to Layout["Main"(Main)]

Pause/Resume Script [Duration(seconds):1]

Re-Login[]

Perform Script]["New Record"]

Show/Hide Status Area[Lock; Hide]

Adjust Window[Resize to Fit]

Go to Record/Request/Page[Last]

Edited by Guest

This topic is 5586 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.