G
Guest
I am tryuing to dynamically position fields and labels in a report header
based on selections made by the user
I have entered the following in the On Format properties section
If DLookup("location", "repgroups") = "Left" Then
Reports![Safety Meetings]!CompanyLogo.top = "0.0417"
Reports![Safety Meetings]!repgroup.top = "0.0417"
Reports![Safety Meetings]!JOBNumber.top = "0.0417"
Reports![Safety Meetings]!Label1.Properties.top = "0.0417"
Reports![Safety Meetings]!SAFEDate.top = "0.3333"
Reports![Safety Meetings]!Label3.top = "0.3333"
end if
the only propblem is it puts everything at the top and doesn't position them
where I want them to go. I know I am missing something obvious here and maybe
someone can help me
thanks
based on selections made by the user
I have entered the following in the On Format properties section
If DLookup("location", "repgroups") = "Left" Then
Reports![Safety Meetings]!CompanyLogo.top = "0.0417"
Reports![Safety Meetings]!repgroup.top = "0.0417"
Reports![Safety Meetings]!JOBNumber.top = "0.0417"
Reports![Safety Meetings]!Label1.Properties.top = "0.0417"
Reports![Safety Meetings]!SAFEDate.top = "0.3333"
Reports![Safety Meetings]!Label3.top = "0.3333"
end if
the only propblem is it puts everything at the top and doesn't position them
where I want them to go. I know I am missing something obvious here and maybe
someone can help me
thanks