G
Guest
Hi EveryBody,
I have a field field 'Daily Acitvity' in which the data is like this,
"Completion of punch list.Radiography of the modified joints.Review of valve
data sheet.Construction coordinattion is ongoing."....
I am making report in which i am trying to display each sentence in seperate
line (i.e i am trying to insert a new line after every 'full stop').
For this,
I make a custom function in module as below,
Function Test(Activity as string)
dim i,j as integer
i=len(Activity)
For j=1 to i
if Activity(j)="." then
Chr(13) & Chr(10)
end if
next j
end funtion
When i try to use this funtion it gives Error, like
"COMPILE ERROR"
EXPECTED ARRAY"
Where i am wrong , pls. help me.
if any other method to do this pls. advise.
Regards
Nad
I have a field field 'Daily Acitvity' in which the data is like this,
"Completion of punch list.Radiography of the modified joints.Review of valve
data sheet.Construction coordinattion is ongoing."....
I am making report in which i am trying to display each sentence in seperate
line (i.e i am trying to insert a new line after every 'full stop').
For this,
I make a custom function in module as below,
Function Test(Activity as string)
dim i,j as integer
i=len(Activity)
For j=1 to i
if Activity(j)="." then
Chr(13) & Chr(10)
end if
next j
end funtion
When i try to use this funtion it gives Error, like
"COMPILE ERROR"
EXPECTED ARRAY"
Where i am wrong , pls. help me.
if any other method to do this pls. advise.
Regards
Nad