>Hi all
>
>I have a working Items Master form. The first field on the form, as designed, is the Description textbox and below it is the Part No. textbox. Between users there is a requirement that the Part No. txt has to be the one on top and for others it is the Desc. txt.
>
>How can I do the swapping of the textboxes and their corresponding labels at run-time based on a users setting, say in the ini file or the registry. In short I know from the ini or registry that this particular user want Part No. then Desc. then how can I do the same at run-time?
>
>Please advise.
In init of the form:
IF user_want_part_top
LOCAL lnPartTop, lnPartLeft
m.lnPartTop = thisform.PartNo.Top
m.lnPartLeft = thisform.PartNo.Left
thisform.PartNo.Top = thisform.Description.Top
thisform.PartNo.Left = thisform.Description.Left
thisform.Description.Top = m.lnPartTop
thisform.Description.Left = m.lnPartLeft
ELSE
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.