Numbering in Printing report

Reply

Join Date: Aug 2007
Posts: 47
Reputation: locsin is an unknown quantity at this point 
Solved Threads: 0
locsin locsin is offline Offline
Light Poster

Numbering in Printing report

 
0
  #1
Nov 20th, 2008
Greetings!

Anybody know to make numbering in print report. I want to put numbering in my print report. All employees are have diffrent project location. I want to print report per location.

example.

No. Employee NUmber Name

0001 Noli Locsin
1175 Alvin Patrimonio
1176 Keneth Durendez

Now, My report printing like this. At the left side there is No. display.. I want my printing report same like this.

No. Employee NUmber Name

1. 0001 Noli Locsin
2. 1175 Alvin Patrimonio
3. 1176 Keneth Durendez

Anyone can help me plz. thanks in advance.
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,821
Reputation: ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all 
Solved Threads: 117
ithelp's Avatar
ithelp ithelp is offline Offline
Posting Virtuoso

Re: Numbering in Printing report

 
0
  #2
Nov 20th, 2008
First design the database table and select all employee from a location.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 24
Reputation: kain_mcbride is an unknown quantity at this point 
Solved Threads: 3
kain_mcbride's Avatar
kain_mcbride kain_mcbride is offline Offline
Newbie Poster

Re: Numbering in Printing report

 
0
  #3
Nov 20th, 2008
loop it (any kind of loop will do, if you don't use a For Next loop, just add a counter variable and increment it each time) though i'm assuming you have these employees in an array of some sort..? if you print the index value you're using to access the name and employee number, you can just print that. then use Format$ to add the . if you want it there.
... there is no bug that enough coffee cannot fix...
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC