PUBLIC strSeq AS STRING, ; intCount AS INTEGER, ; strCountSeq AS STRING intCount = 0 strCountSeq = LTRIM( STR( intCount ) ) strSeq = SUBSTR(DTOC(DATE()),1,2) + SUBSTR(DTOC(DATE()),4,2) + SUBSTR(TIME(1),10,2) + strCountSeq ?strSeq && 0830600 for example.