RobertoMexicali
Programmer
Hi everybody
I have this problem:
I need to change the properties of strings on a report (change position, color, size etc)
I don't know how many strings the report must print, so i declared a local var: "estring" as array of 100 string (dim 100), i do a loop of N times and on every cycle a value must be assigned to an element of the array
The problem is that i don't know how should i change the properties of the array on runtime
i already try:
! this code doesn't do anything, but there is not
error when compiling
estring[i#]{prop:fontstyle} = FORD:Estilo
estring[i#]{prop:fontname} = FORD:Fuente
!!!!
!!!! error when compiling this
?estring_i#{prop:fontstyle} = FORD:Estilo
?estring_i#{prop:fontname} = FORD:Fuente
?estring_i#{prop:fontsize} = FORD:tamano
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!! this code works only when i# = 2,
?estring_2{prop:fontstyle} = FORD:Estilo
?estring_2{prop:fontname} = FORD:Fuente
any tips???
I have this problem:
I need to change the properties of strings on a report (change position, color, size etc)
I don't know how many strings the report must print, so i declared a local var: "estring" as array of 100 string (dim 100), i do a loop of N times and on every cycle a value must be assigned to an element of the array
The problem is that i don't know how should i change the properties of the array on runtime
i already try:
! this code doesn't do anything, but there is not
error when compiling
estring[i#]{prop:fontstyle} = FORD:Estilo
estring[i#]{prop:fontname} = FORD:Fuente
!!!!
!!!! error when compiling this
?estring_i#{prop:fontstyle} = FORD:Estilo
?estring_i#{prop:fontname} = FORD:Fuente
?estring_i#{prop:fontsize} = FORD:tamano
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!! this code works only when i# = 2,
?estring_2{prop:fontstyle} = FORD:Estilo
?estring_2{prop:fontname} = FORD:Fuente
any tips???