简体   繁体   中英

MS Access: Continuous Forms and Subforms

Is there a more ideal way to create a form that gets sources from 2 different queries than getting a mainform and putting a subform inside?

Is there any way to make a dynamic subform that can expand depending on the number of entries it outputs?

My gripe with using a Continuous form is that it also shows the blank " next " entry.

Many thanks.

1) It is not possible to say, what is "ideal way". Solution depends on your actual requirements. Eg I sometimes use "list" of values from second query on place of subform from that second query.

Another way is to turn your viewpoint upside down and try "hang" your form on your second query (or on some table from that second query) and "stick" needed data to the form according to your requirements (eg by subform, by calculated field, by dlookup, by vbscript subroutine, or whatever you need)

2) Regard "new entry" - try test all options about "can insert new", "can edit", "read only" etc.

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