How to use Variables
Posted: Wed Sep 05, 2007 2:13 am
Hi,
i got a Problem using Variables.
In my Report. i have about 10 fields for Adress. Like Name1, Name2, Name3, Street, etc.
i want to put them all together to 1 Variable, so that no spaces in the report is show.
In the Events of the field i put the following code:
if WaWi_VKBelege.AuftraggeberAnrede.length > 0 then
anschrift =WaWi_VKBelege.AuftraggeberAnrede
end if
if WaWi_VKBelege.AuftraggeberName1.length > 0 then
anschrift +=WaWi_VKBelege.AuftraggeberName1
end if
...
....
Is there a way to add a Carriage Return to a string like chr(13) or VBCRLF ???
I dont want to use a container and Childdatabands to archieve this.
thx
Stephan
i got a Problem using Variables.
In my Report. i have about 10 fields for Adress. Like Name1, Name2, Name3, Street, etc.
i want to put them all together to 1 Variable, so that no spaces in the report is show.
In the Events of the field i put the following code:
if WaWi_VKBelege.AuftraggeberAnrede.length > 0 then
anschrift =WaWi_VKBelege.AuftraggeberAnrede
end if
if WaWi_VKBelege.AuftraggeberName1.length > 0 then
anschrift +=WaWi_VKBelege.AuftraggeberName1
end if
...
....
Is there a way to add a Carriage Return to a string like chr(13) or VBCRLF ???
I dont want to use a container and Childdatabands to archieve this.
thx
Stephan