自动生成文本框字段 [英] Autogenerate text box field

查看:104
本文介绍了自动生成文本框字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我在VB中有一个带有student_id,student_RefNo的表单。当用户点击new时,我希望student_refno文本框自动生成格式为R / 001的引用号码,每次用户点击new时,文本框字段增加1.使用SQL数据库存储学生数据。 />




请帮忙解决这个问题。

Hi,

I have a form in VB with student_id, student_RefNo. When a user clicks on new, I want the student_refno textbox to autogenerate the refernce number with the format R/001 and everytime a user clicks on new, the textbox field increments by 1. Am using SQL database to store the students data.


Please help on working this out.

推荐答案

你写了代码用于Command Reader和Execution。
You dint wrote code for Command Reader and Execution.


这篇关于自动生成文本框字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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