Hi,
You can use the System.Guid.NewGuid() to generate random number then concate
with this number to date.
I hope this will help for you.

Signature
k.Ramana Reddy
http://www.GGKtech.com
> Is there a field that I can insert into my InfoPath form that will
> automatically sequence my contract numbers. Ideally, formatting them to
> start with date, such as year and month info first, then a number pattern?
K.Ramana Reddy(GGK Tech) - 12 Jul 2007 11:12 GMT
Hi,
Also check this link,
http://www.infopathdev.com/forums/thread/5507.aspx

Signature
k.Ramana Reddy
http://www.GGKtech.com
> Hi,
>
[quoted text clipped - 6 lines]
> > automatically sequence my contract numbers. Ideally, formatting them to
> > start with date, such as year and month info first, then a number pattern?