Hi all,
I keep getting an error message when trying to modify the document name on a datawindow. Here's the code:
dw_1.Retrieve(il_workorder)
is_CertName = "Cert" + string(il_workorder)
ls_modify = "Print.DocumentName=" + is_CertName
ls_return = dw_1.Modify(ls_modify)
if ls_return <> "" then
MessageBox("Modify", ls_return)
return
end if
The message says it's line 1 char 19 ... that's the = symbol.
Clearly there's something wrong with the syntax, but I don't know what it would be. Any assistance is appreciated.
~~~Tracy
Next time, try using the DW Syntax utility in the PB IDE's toolbox to generate that Modify code for you. ;-)
Regards ... Chris