简体   繁体   中英

How to fill value of on textbox based on value of other in ms-access in continuous forms for each record

I have a continuous form which is filled by a table. Now when a user wants to edit a textbox on the form I want to populate another textbox on the same form. This would happen on the exit event of the firts text box.

Please suggest options, can I use dlookup or use vba to iterate through recordset and then fill corresponding record textbox. Share a code snippet can I use to find which record textbox is edited an fill corresponding one.

您可以这样做,第一个文本框 1 并取一个命令按钮编写一个宏,该宏在单击命令按钮上填充文本框的逻辑和基于 textbox1 值的相应文本框值的填充值

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