Hi Steve, thank you for taking the time with this posting.
I have a screen with 5 fields. All fields are closed(display only) at beginning of program. As I read the database and discover that the ‘user’ sent us the information for their account’ , I determine which fields to open(modifiable), so that the operate can update the record.
Then I check the fields according to which ones I opened (boolean switch for each field). I process these switches in a logical order. If it passes the test at the first open field, I want the cursor to be positioned on the Next open field, which could be any of the remaining. At the bottom of the list, I want it to go to the next screen. I have a sample of my coding here. I have tried many ways of coding this.
The one that worked was if I used an array that held the boolean switch and its correspoding POS value of that field. HOWEVER that way is hard coding. You would always have to change the array if you have changed the map.
This program puts out 4 different maps for input all in the way manner.
I only want the operator to be shown the error once.
This is a high input data entry job, so we want to make sure that the operator checked that each ‘open’ field was examined.
Any help would be appreciated.
One time FIeld 2 is open
Another time Field 1 and 5 is open.
Another time Field 2 and 4 are open.
The number of fields open is determined before the map is put out.
I know it is too much reading! :oops:
but thanks for getting thi far!
Position Cursor Coding.txt (4.94 KB)