AnsweredAssumed Answered

Script loop, waiting until field is filled in ?

Question asked by PaSav-ICT on Sep 5, 2018
Latest reply on Sep 5, 2018 by philmodjunk

I want to use a barcode scanner to fill in barcodes from products i need to put on stock.

I made a loop script, biut this is to fast, i don't get the time to put in the field.

The barcode scanner scans the barcode and ends with a return.

 

So achter that i want to loop to the next new record and start over again until the number of product is

scanned i orded.

 

I tryed to pause the script but can't get the script to continue to the next loop.

Loop

Exit loop if $Number=$NumberAdded

new record

set field A with variable

set field B with variable

go to field C = field i need to fill with barcode scanner

set variable $NumberAdded+1

end loop

 

Field C i added pause script on enter and resume script after 0 second when exit.

 

But this is not giving the result i want. What do i miss ?

 

Running Filemaker 17.02

Outcomes