by COBS Tech Support » Tue Oct 03, 2006 12:02 pm
Visual Builder automatically looks for the existence of a variable called StartRecord and will move directly to that record before printing starts, if it exists. So your syntax would be along these lines:
Declare cScript Type Character
cScript := "Declare StartRecord Type Number"
cScript := cScript + CHR(13) + CHR(10)
cScript := cScript + "StartRecord := " + NTrim(CardFile->(RECNO()))
CreatePrintJob("Mycard", cScript)