Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

numbering

Status
Not open for further replies.

loneranger27

Programmer
Apr 22, 2003
94
US
Hi,

I have a form with a subform. In the main form the user enters information about a product. and they enter the line number that the product appears on. I have the query that the subform is based on to sort by the line number.

My problem is that when I have line numer 10 it appears after line 1 instead of after line 9 and 11 after 10 and so on. Does anyone have any Ideas as to how I can correct this problem. I also have the same problem with a report that I have created.


I would appreciate any help you might have.

Thanks
 
Enter your line number with a

FORMAT(nn, "00000000")

Now the numbers are shown and sorted as '00000010' for the number 10 and '00000001' for the number 1.


Rollie E
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top