Dear All,
I have a report - PolAcknowledgementLetter
It has fields:
It is in a letter format, i.e. one page per Customer...it is an aknowledgement letter.
So not all of the address lines are always filled, and the CompanyOrganisation is not always filled in.
So there are blank lines.
How do I if the txt box is null move the control below it up?
I was thinking VB:
Please help, with above problem or if you have a better idea I'd really appreciate it!
Thank you!
Thank you,
Kind regards
Triacona
I have a report - PolAcknowledgementLetter
It has fields:
Code:
txtFullName with control source as:=IIf([FullName]="","Owner/Occupier,",[FullName])
CompanyOrganisation with control source as:CompanyOrganisation
txtAddress1:with control source as:=IIf(IsNull([AgentAddress1]),[Address1],[AgentAddress1])
txtAddress2:with control source as:=IIf(IsNull([AgentAddress1]),[Address2],[AgentAddress2])
txtAddress3:with control source as:=IIf(IsNull([AgentAddress1]),[Address3],[AgentAddress3])
txtAddress4:with control source as:=IIf(IsNull([AgentAddress1]),[Address4],[AgentAddress4])
txtAddress5:with control source as:=IIf(IsNull([AgentAddress1]),[Address5],[AgentAddress5])
txtPostalCode:with control source as:=IIf(IsNull([AgentPostalCode]),[PostalCode],[AgentPostalCode])
So not all of the address lines are always filled, and the CompanyOrganisation is not always filled in.
So there are blank lines.
How do I if the txt box is null move the control below it up?
I was thinking VB:
Code:
for i = 1 to 5 do
i = 1
x = 2
If IsNull(txtAddressi) then
Move Addressx up to replace Addressi
else nothing.
end for
Please help, with above problem or if you have a better idea I'd really appreciate it!
Thank you!
Thank you,
Kind regards
Triacona