synchronising forms and subforms
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » Synchronising forms and subforms

Synchronising forms and subforms

resolvedResolved · Medium Priority · Version 2007

replyReply Fri 12 Aug 2011, 11:33Lorna (guest) said...

Synchronising forms and subforms

Hi there,

I created several tables and related them correctly (I think) and from this I've created the main form that we're going to use to enter data. On the form there are a number of subforms and I can't seem to get these to synchronise.

For example, we have a subform which details the organisation's general details. We record the individual person's contact name and details on the main form to go with that individual record, but I thought the organisation details (company name and address) could be kept seperately as there may be multiple people from the same organisation applying, who would each require their own individual record.

I tried filling in the first record and then went to a new blank record, but the organisaton details subform carries with it the information from the first record. As far as I can see all the other subforms are synchronised but I'm not sure how I've done this.

How can I make sure all subforms are synchronised to the main form so that when I select a new record every field is blank?

Many thanks,

Lorna

For upcoming training course dates see: Pricing & availability

replyReply Fri 12 Aug 2011, 14:43Trainer Mark said...

RE: Synchronising forms and subforms

Hello Lorna,

Re: Forms and subforms

Without seeing the actual forms can be difficult to see why its not working. However, you could try this. You should have 2 seperate forms made up, one the primary form, and a secondary form, the subform. These are both seperate at this stage. Open the Primary form in design view. Then drag and drop the subform into this primary form where it needs to go, this will automatically link the two. If not, then we need to look further at the database structure.

I hope this resolves your question. If it has, please mark this question as resolved.

If you require further assistance, please reply to this post. Or perhaps you have another Microsoft Office question?

Have a great day.
Regards,

Mark
Microsoft Office Specialist Trainer

Thu 18 Aug 2011: Automatically marked as resolved.

 

Please browse our web site to find out more about
access+training and other Microsoft training courses.

Access tip:

Open A Combo Box Automatically

This is helpful if users need to enter large amounts of data. There are two ways to open ComboBoxes when they get the focus by using the tab keys.

When the ComboBox gets focus:

Press Alt + Down Arrow on the keyboard

For it to happen automatically, needs a bit of coding:

1. Add a combo box and a text box control to the form
2. Set the combo box's On Got Focus property to the following event procedure:

Private Sub ComboBoxName _GotFocus()

Me!ComboBoxName.Dropdown

End Sub


3. Open your form in Form View and use the TAB key to make sure it works.

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard