返回组合框值 [英] return combobox value

查看:95
本文介绍了返回组合框值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我有两个用户,一个是ram,第二个是shyam,

ram有一个账单,没有24他通过这个账单,shyam返回这个账单,所以它将自动显示在ram用户,请给我这个查询代码

suppose i have two user one is ram and second one is shyam,
ram has one bill bill no is 24 he passed this bill and shyam return this bill so it will show automatically on ram user , please give me this query code

推荐答案

在你的数据库表中添加一个字段boolean,现在每个账单生成都将布尔值设置为0

当账单号被退回然后更新为1



所以当ram通过账单号码时24然后它的布尔值为0,因此它不能给shyam,因为当你点击自动最大票据生成器然后你给出一个条件where boolean = 0。



:P
add a field "boolean" to your DB table,now with each bill generation set the value of boolean as 0
when a bill no is returned then update it to 1

so when ram passes bill no. 24 then its boolean is 0,hence it can not be given to shyam because when you are hitting the auto max bill generator then you are giving a condition as "where boolean=0".

:P


这篇关于返回组合框值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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