/ Forums / Advansys Formativ / Creating Solutions with Formativ / Same code – different results / Reply To: Same code – different results
September 12, 2007 at 4:54 pm
#7874
“Chr(10)” returns a linefeed character, “Chr(13)” returns a carriage return character. The two-character string Chr(13) & Chr(10) returns a Windows newline. Alternatively you can use the Visual Basic String Constants vbCrlf which return carriage return–linefeed combination. See the Visual Basic Scripting Guide for more information (GroupWise Help – Formativ Help – vbscript).
Call GroupWise.FocusSet(10, "") GroupWise.PosTextTop GroupWise.TypeText(vbcrlf & FullName) GroupWise.TypeText(vbcrlf & Title) GroupWise.TypeText(vbcrlf & CompanyName) GroupWise.TypeText(vbcrlf & Street) GroupWise.TypeText(vbcrlf & City & ", " & State & " " & Zip) GroupWise.TypeText(vbcrlf & "Phone: " & Phone) GroupWise.TypeText(vbcrlf & "Fax: " & FaxNum) GroupWise.TypeText(vbcrlf & "Email: " & LCase(Email)) GroupWise.TypeText(vbcrlf & "Website: " & Website) Groupwise.Enter() GroupWise.PosTextTop
Regards,
Advansys Support