Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / October 2005

Tip: Looking for answers? Try searching our database.

Save referenced value

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
eb1mom - 18 Oct 2005 19:56 GMT
I have a form with many subforms. Items are selected on subforms and shown on
main form. How can I save  what has been selected? Maybe  I should ask can
the default value of a bound control be a referenced  control on subform?
Thanks
John Vinson - 18 Oct 2005 22:36 GMT
>I have a form with many subforms. Items are selected on subforms and shown on
>main form. How can I save  what has been selected? Maybe  I should ask can
>the default value of a bound control be a referenced  control on subform?
>Thanks

This seems a very unusual approach! What is your table structure? What
information are you copying (?) from the subform to the mainform's
table? I worry that you may be storing data redudantly!

To directly answer your question - no it cannot; in fact typically a
mainform will have *one* record linked to *many* records on each
Subform, so "the record" on the subform is not usually meaningful
(which one?). I wonder if you should perhaps be using Listboxes or
Combo Boxes instead of subforms; these can be bound to a table value.

                 John W. Vinson[MVP]    
eb1mom - 23 Oct 2005 14:05 GMT
After reading your reply I reworked my structure to use a combo box.  Thanks
for getting me back on the right track.

> >I have a form with many subforms. Items are selected on subforms and shown on
> >main form. How can I save  what has been selected? Maybe  I should ask can
[quoted text clipped - 12 lines]
>
>                   John W. Vinson[MVP]    
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.