If I were to evaluate (quote & " & vbCrLf & " & quote) I would get:
" &vbCrLf & " I don't think that is what you are looking for. I think you must mean: replace CR with vbCrLf in it Bob On Aug 17, 2010, at 2:53 PM, Mark E. Powell wrote: > I am on Windows, Rev 2.9, and trying to use VBScript to do some Outlook > stuff. I know almost no Visual Basic and have never invoked VBScript from > Rev, so please consider me a simpleton. > > I've put sample code into a field and used the basic call > > get fld "Statements" > replace CR with (quote & " & vbCrLf & " & quote) in it > do it as VBScript > > In all the samples I have tried I get the result "execution error". > > Question 1: can anyone tell what I might be doing wrong, based on what I > have described? > > Question 2: Is there is an extremely elementary "Hello World" type > validation code snippet that I could use to test basic execution? > > By the way, the alternateLanguages returns this: > XML > VBScript > VBScript.Encode > JScript > JScript.Encode > "SignedJavaScript" > "SignedVBScript" > > Thanks! > > Mark > > > _______________________________________________ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution