hello,
please help. i am in a fix.
i have two columns in a report address and company name.
if the user decides to sort by company name i want company name to be displayed as the first column and address as the second column and vice versa if he selects address.
i wrote the following code in my report open event
If (Forms!frmPublishersSort!cboFields) = "Address" Then
lbl1.Move Left = 1.625 * 1440
txt1.Move Left = 1.625 * 1440
txt2.Move Left = 0.0417 * 1440
lbl2.Move Left = 0.0417 * 1440
etc etc...
lbl1 and txt1 are coompany name headings and data
lbl2 and txt2 are address headings and data
now what happens is address shifts to the 1st column position but company name doesnt shift to second column position as i result the first column is a mishmash of both.
1.625 and 0.0417 represent the inches position of the column and they r multiplied by 1440 to convert to twips..
please help
alifya
please help. i am in a fix.
i have two columns in a report address and company name.
if the user decides to sort by company name i want company name to be displayed as the first column and address as the second column and vice versa if he selects address.
i wrote the following code in my report open event
If (Forms!frmPublishersSort!cboFields) = "Address" Then
lbl1.Move Left = 1.625 * 1440
txt1.Move Left = 1.625 * 1440
txt2.Move Left = 0.0417 * 1440
lbl2.Move Left = 0.0417 * 1440
etc etc...
lbl1 and txt1 are coompany name headings and data
lbl2 and txt2 are address headings and data
now what happens is address shifts to the 1st column position but company name doesnt shift to second column position as i result the first column is a mishmash of both.
1.625 and 0.0417 represent the inches position of the column and they r multiplied by 1440 to convert to twips..
please help
alifya