Want to set the Format.StartingPosition through VB script
The scripting is done for the "OnPrintJobStart" document event
When i have set the position statically, its worked,
Format.StartingPosition = 2
But when I have tried to set the starting position from following VB script expression, but its not working,
1st attempt with -> Format.StartingPosition = Format.NamedSubStrings("DataSourceName").Value
2nd attempt with -> Format.StartingPosition = CInt(Format.NamedSubStrings("DataSourceName").Value)
Need Help!!
Thanks,
Viral Suthar
0
-
It could be as the string you are calling has no value at the time of OnPrintJobStart and you may want to use one of the later options, like OnNewRecord if it comes from a database or OnPostPrompt etc.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar