Expected ";" error in event handler

C

Cillian

When I add the following

If e.Operation = “Delete†Then
e.ReturnStatus = False
End If

which I have copied from notepad I reveive the Expected ";" error

Does anyone know how to stop this??

Thanks
 
H

halkar

Possibly your form language is set to Jscript.
Pre SP1, Infopath used Jscript as default and changing it required
extracting and modifying the files. If you have SP1 installed, you can
change it from Tools->Options->Design
 
C

Cillian

Hi,

This didn't work, it was defaulted as VBScript, and I copied and pasted the
lines from notebook.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top