Hi
I have written the below in Crustal reports Designer Code Section
If Field4.Value = "Maxim Ltd " Then
Set Picture1.FormattedPicture = LoadPicture("d:\test\max.jpg")
Else
Set Picture1.FormattedPicture = LoadPicture("d:\test\man.jpg")
End If
Instead of testing the condition with "Maxim Ltd" . i want to compare with first 3 characters of fields2.value i.e if "Max" then
Set Picture1.FormattedPicture = LoadPicture("d:\test\max.jpg")
Else
Set Picture1.FormattedPicture = LoadPicture("d:\test\man.jpg")
End If
Can we use Mid function is Crystal reports Designer Code section.
Thanks
I have written the below in Crustal reports Designer Code Section
If Field4.Value = "Maxim Ltd " Then
Set Picture1.FormattedPicture = LoadPicture("d:\test\max.jpg")
Else
Set Picture1.FormattedPicture = LoadPicture("d:\test\man.jpg")
End If
Instead of testing the condition with "Maxim Ltd" . i want to compare with first 3 characters of fields2.value i.e if "Max" then
Set Picture1.FormattedPicture = LoadPicture("d:\test\max.jpg")
Else
Set Picture1.FormattedPicture = LoadPicture("d:\test\man.jpg")
End If
Can we use Mid function is Crystal reports Designer Code section.
Thanks