Lou Posted September 21, 2015 Posted September 21, 2015 Background info: I'm working on a database that contains inventory items, with the help of a couple forums on this site I was able to setup an iOS button that triggers a script which scan a barcode and perform a find to display the particular items information and status. Insert from Device is used and it has an option to cancel the barcode scan, when cancel is pressed it will prompt the user if they want to continue the script or abort. My Database is setup as follows Tables Status Inventory Vendor Global Relationships: Inventory::VIN -> Status::VINID (VIN is the serial number which contains both text and numbers) Script: is attached Question Is there away to have the script continue without prompting the user to select an option? or is there an if statement that with do something if the barcode is scanned or something else when the barcode scan process is canceled? or is there an alternative script that will allow me to accomplish what i'm trying to do which allows the user to cancel the barcode scan without prompting the user to continue or abort script?
comment Posted September 21, 2015 Posted September 21, 2015 I cannot test this, but user canceling an action should result in error code 1. 1
Lou Posted September 25, 2015 Author Posted September 25, 2015 thank you for attempting to help me even that it didn't work, after deeper research about dialogs and error codes I got a work around
comment Posted September 25, 2015 Posted September 25, 2015 even that it didn't work How did you determine it doesn't work? after deeper research about dialogs and error codes I got a work around Thank you for sharing.
Recommended Posts
This topic is 3346 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 accountSign in
Already have an account? Sign in here.
Sign In Now