需要帮助从数据库打印值 [英] Need help in printing values from database

查看:81
本文介绍了需要帮助从数据库打印值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好



我必须从数据库打印数据。

现在我必须创建一个名为打印的字段这是一个布尔值。就像打印过的行一样,它会将状态更改为



因此,一旦第一次完成打印,当我们第二次打印时,想法是检查打印列的最后一个值,获取ID并在给出许多后开始打印换行。



例如

我第一次打印3行,然后下次打印时首先应该提供3行换行并开始打印从第4行开始。



请告诉我该怎么做或如果你有任何其他想法这样做告诉我。



谢谢

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

推荐答案

这篇关于需要帮助从数据库打印值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆