Harris Expert Licensed User Longtime User Jan 20, 2016 #1 Is the following valid or prone to problems? Code: Copy Sub btnRead_Click ' Update table indicating user has read new instructions so they won't show next time he logs in.. 'UpdateUserTable StartActivity(unit_odom) Log("running act finish") Activity.Finish Log("ran act finish") End Sub Is it proper to call Activity.finish AFTER you have already started another activity?
Is the following valid or prone to problems? Code: Copy Sub btnRead_Click ' Update table indicating user has read new instructions so they won't show next time he logs in.. 'UpdateUserTable StartActivity(unit_odom) Log("running act finish") Activity.Finish Log("ran act finish") End Sub Is it proper to call Activity.finish AFTER you have already started another activity?
JonPM Well-Known Member Licensed User Longtime User Jan 20, 2016 #2 Only if you want the original activity closed for some reason. Generally, that reason is to prevent the user going back to the previous page via back button. Upvote 0
Only if you want the original activity closed for some reason. Generally, that reason is to prevent the user going back to the previous page via back button.
Harris Expert Licensed User Longtime User Jan 20, 2016 #3 JonPM said: Only if you want the original activity closed for some reason. Generally, that reason is to prevent the user going back to the previous page via back button. Click to expand... Yes, original activity won't be required again until this user logs out and the next user logs in... (it is single device mounted in a vehicle). No need to have it hanging around or showing up unexpectedly. Thanks Upvote 0
JonPM said: Only if you want the original activity closed for some reason. Generally, that reason is to prevent the user going back to the previous page via back button. Click to expand... Yes, original activity won't be required again until this user logs out and the next user logs in... (it is single device mounted in a vehicle). No need to have it hanging around or showing up unexpectedly. Thanks