简体   繁体   中英

How to Edit Fields in MainForm Linked to SubForm

I have a handful of fields linked to a subform (in datasheet view) on my mainform and I would like to be able to edit the data in the table from the fields since the subform is very wide and hard to see all of it. The subform is pulling data through a query to put multiple tables together and I think that's what's preventing me from editing the data from the fields based on what I've seen. The SQL statement that links the fields to the subform is like the following for several fields: =[SubformX].[Form]![Data] I was wondering if some kind of VBA/Query would be able to directly populate the fields based on the subform selection and still allow it to be edited or if there is a simple fix for this problem.

Due to natural limitations on updating data from a form, it seems this approach is not workable without using VBA to stage the update and display. Refer to the comments above for some detail.

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