Serial number not working Active X 追蹤

Michael Jackson

 I have code that sends a starting serial number and number of copies to bartender 9.4.  the labels print fine with incremented serial number as expected.  However I need to get the last serial number used.  I have tried .GetNamedSubStringValue("SERIAL NUM")  and it used to work just fine but now it seems to return the starting serial number value. Any suggestions?  This was someone else' code from long ago and I have inherited it.