Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why it keeps telling me syntax error?

Status
Not open for further replies.

mariayx

Programmer
May 18, 2001
17
0
0
US
Hi,
I have the following line in my ActiveX script in a DTS package, it keeps giving me compilation error. Can anyone tell me why?
MyStringPosition = InStr( 1 , v_fullfilename , 'ABC' , 1 )
Thanks,
mariayx
 
Hi,

Put the sought string in double quotes: "ABC"

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top