AnsweredAssumed Answered

GetNextSerialValue - why does it it not work for me?

Question asked by dzittin on Sep 28, 2014
Latest reply on Sep 28, 2014 by dzittin

Title

GetNextSerialValue - why does it it not work for me?

Post

My code snippet:

GetNextSerialValue ( Get(FileName); Print List::PrintID)

Where "Print List::PrintID" options are: Indexed, auto-enter serial, Numeric Only, Allow Override

I get a null return value. A get(lasterror) after executing the GetNextSerialValue returns 0.

When I add new records to this table, the PrintID is auto incremented so I know all is well, it's just that I cannot obtain the next serial value.

What's up?

Thanks IA!

 

Outcomes