简体   繁体   中英

Adding multiple textboxes to a form in ms-access?

I would like to have a line on an Access user-form . Call it Item #1 . I would like Item #1 to be a text box where the user can enter any type of information. So for example, say the user entered "Tutoring" and then next to this was an additional Textbox that allowed the user to enter the hours spent tutoring and the date in which the hours were logged.

What I would like is to have a button to allow the user to add a second line (or set of textboxes ) when needed, or a third line, etc. Is this something that can be set up on the Access form? Does this need to be coded in VBA ? Just looking for some tips to provide me some direction on the best approach.

“如果数据不应该存储在表格中,那就有点复杂了。”您必须在表单加载时使文本框不可见,然后在上一个的 After Update 事件中使每个文本框可见盒子。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM