'instr@ Function Follow
I am trying to use the VBScript InStr function to determine in a named sub-string the occurence of a comma character. If found within the string I would then like to manipulate the PrintVisibilty of another label object based (Text field) on this occurence.
I have so far come up with this VBScript outline which I think is on the right lines, but I am having problems with the syntax
If InStr ("BT_INV_OW_NO",",") <0 Then
Format.Objects ("Text 1") .PrintVisibility = True
Format.Objects ("Text 1") .Printvisibility = False
The sub-string BT_INV_OW_NO is obtained from an external database
Any help on the above would be much appreciated?
Fernando Ramos MiracleModerator
Please sign in to leave a comment.