I need to enter a variable, find the record and display it on the form. Sounds simple but I just can't get the results. The attached database illustrates the problem. I have 3 order entry screens. Order entry (1) comes close to what I need. The database consists of records 43100 through 43200.
1. open the order entry screen
2. enter quote # 43125
The browse below points to a different quote #. Move to any other quote number on the browse, reposition to the quote # on the above form, enter 43125 or 43142 or any other number and it operates as desired. Only on the first time does it get stuck on the browse record. Also many times on reposition to the top of the screen the field labels do not reappear. (they reappear if a click is made anywhere on the screen)
3. Also on the new record button the browse changes it's record pointer, thr form updates to the browse record, but it should be blank for a new record entry.
Next:
on Order entry 3, which is the desired form, the browse is removed (added to help me understand where the pointer is) but when 43165 or 43125 or any other quote number is entered, the pointer does not seem to find the record. But on closing the form, NO to save enter in progress, the record appears, just before the screen closes.
Desired results are:
1. Enter quote #
2. If exists, display
3. If non-existant, allow entry.
4. On new record button, clear form and go to #1
I did come across documentation, Alpha 5 xbasic reference manual page 166, stating the form record pointer is different from the record pointer (what is that about?) but is resynched with resynch(), but this does not seem to work.
I hope I am being clear, but I am weary of this whole dilemma. The "order entry 3" is what I desire (the browse is not necessary).
Any help before I need to contact Support$ ?
1. open the order entry screen
2. enter quote # 43125
The browse below points to a different quote #. Move to any other quote number on the browse, reposition to the quote # on the above form, enter 43125 or 43142 or any other number and it operates as desired. Only on the first time does it get stuck on the browse record. Also many times on reposition to the top of the screen the field labels do not reappear. (they reappear if a click is made anywhere on the screen)
3. Also on the new record button the browse changes it's record pointer, thr form updates to the browse record, but it should be blank for a new record entry.
Next:
on Order entry 3, which is the desired form, the browse is removed (added to help me understand where the pointer is) but when 43165 or 43125 or any other quote number is entered, the pointer does not seem to find the record. But on closing the form, NO to save enter in progress, the record appears, just before the screen closes.
Desired results are:
1. Enter quote #
2. If exists, display
3. If non-existant, allow entry.
4. On new record button, clear form and go to #1
I did come across documentation, Alpha 5 xbasic reference manual page 166, stating the form record pointer is different from the record pointer (what is that about?) but is resynched with resynch(), but this does not seem to work.
I hope I am being clear, but I am weary of this whole dilemma. The "order entry 3" is what I desire (the browse is not necessary).
Any help before I need to contact Support$ ?
Comment