Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all

I have to print data from database.
now i have to create a field called "printed" which is a Boolean value.like which ever line is printed it will change the status to "yes".

So once it is done printing first time, when we go for printing 2nd time, idea is it will check the "printed" column's last yes value, take the ID for that and start printing after giving that many line feeds.

e.g
First time i printed 3 lines, then next time while printing first it should give 3 line feeds and start printing from the 4th line.

Please tell me how to do this or if you have any other idea of doing this the tell me.

Thank you
Posted
Comments
Chamadness 1-Apr-14 0:53am    
The solution depends highly on the method / programming language you are using to print in the first place. More details would surely help others help you :)
ZurdoDev 1-Apr-14 15:23pm    
Where are you stuck?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900