I have been asked to make a "useability" change to a VFP 6.0 program. this consists of a form whoch calls another program thet has a "DO Form" in it. The second form itself runs the following code:
SELECT ordrdata
SET ORDER TO TAG recnum
GO TOP
BROWSE NORMAL NOWAIT NODELETE NOEDIT NOAPPEND SAVE PREFERENCE 'Ordrdata' ;
TITLE 'Product Selection' ;
FIELDS LINE:H='LINE',qty:H='QTY', part_no:H='PART No.', ;
DESC:H='Description',vatcode:H='VAT',sell_price:H='Retail', vat:H='VAT%',;
disc:H='Disc%', apply_trad:H='Trade',ltotal,goodstot,vattot,ordername ;
KEY m.recnum
SCATTER MEMVAR
which displays a browse window. I have been asked to make the focus move to the first field in the next line of the Browse window each time a "Save" button is hit on ths form.
As a novice I am not sure how to make the Browse window take focus, let alone how to move the focus onto a specifi row in the window.
All help appreciated.
SELECT ordrdata
SET ORDER TO TAG recnum
GO TOP
BROWSE NORMAL NOWAIT NODELETE NOEDIT NOAPPEND SAVE PREFERENCE 'Ordrdata' ;
TITLE 'Product Selection' ;
FIELDS LINE:H='LINE',qty:H='QTY', part_no:H='PART No.', ;
DESC:H='Description',vatcode:H='VAT',sell_price:H='Retail', vat:H='VAT%',;
disc:H='Disc%', apply_trad:H='Trade',ltotal,goodstot,vattot,ordername ;
KEY m.recnum
SCATTER MEMVAR
which displays a browse window. I have been asked to make the focus move to the first field in the next line of the Browse window each time a "Save" button is hit on ths form.
As a novice I am not sure how to make the Browse window take focus, let alone how to move the focus onto a specifi row in the window.
All help appreciated.