How to generate the reference number

Hi,

I want to generate a series of number in a Form as reference number
automatically. It likes 0804-0001, 0804-0002,........................ in
each record.

Besides, I also face the problem in printing by using reportview class.
a) sorting by SalesID?

b) I just need to print 1 record information only if sorting by SalesID.
however, it generated all round SalesID started from initially. (such as
record 1,2,3,4,5,.............)

c) How do I make to print 2 copys in 1 record ? (one for customer another
for us)

Anyone help? Thanks
Cyril Gupta [ Di, 22 April 2008 17:47 ] [ ID #1947332 ]
Microsoft » microsoft.public.dotnet.general » How to generate the reference number

Vorheriges Thema: Available Bluetooth Serial Ports in Vista
Nächstes Thema: Get the position in a DataGridView