[ttl]UOM Conversion table maintenance[/ttl]

[form program=uomconvupd][if uomgrid=0][execute perform "uomconvupd;init"][/if]

[hide %fm_usefile$ value="UomConversions"]

[section half] [row "\[show usefile field=UOMTable$\]:"][input UOMTable$ usefile event=Change_Key focus] [button class=fm_browse event=DoFirst][symbol fast-backward][/button][button class=fm_browse event=DoPrev][symbol step-backward][/button][button class=fm_browse event=DoNext][symbol step-forward][/button][button class=fm_browse event=DoLast][symbol fast-forward][/button] [show  browse_error_msg$][/row]
[/section]

[section whole]


[/section]

[section quarter]

[grid uomgrid nosort size=100%/20 gridlines]
[col ttl="UOM From" width=14][list UOMFrom$ query=scrnlib.en;uomqry drop][/list][/col]
[col ttl="UOM To" width=14][list UOMTo$ query=scrnlib.en;uomqry drop][/list][/col]
[col source=Factor format="#,##0.00" ttl="Ratio" width=14]
[col width=5 align=center ttl="Del"][symbol trash event=*Rowdel][/grid]
[/section]

[section whole][/section]

[section quarter][button validate class=fm_action event=Write]Write[/button] [button class=fm_action event=Delete]Delete[/button] [button class=fm_action event=Clear]Clear[/button] [button class=fm_action event=Quit]Exit[/button][/section]

[section whole]

[show  error_msg$]

[/section]
[hide form_loaded value=1][/form]