Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Have you tried pointing to one of your ComboBoxes for the LinkMasterField yet?

  2. #17
    schwabe is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Jan 2012
    Location
    San Francisco Bay Area
    Posts
    50

    Switch between record sets with a combobox...

    Hi,

    thanks again for your reply. Maybe, I didn't point out properly, where my problem is now.

    I've started basically from scratch, in order to get your approach straight.

    I set up the main form bound to the query qryProjects and it's got the fields IDProject, txtProjectName, lnkCustomer, txtCustomerName.

    Then I have two subforms, but as they assess the same data, we can simplify the problem to one subform. (The subforms do not interact).

    The subform sformTimeLine lists the delivery dates for each project and is bound to a query qryTimeLine with the fields:
    datDueDate, intNoBoards, lnkProject, lnkCustomer.

    I've set up the following two links:
    Link Master Fields: IDProject; lnkCustomer
    Link Chield Fields: lnkProject; lnkCustomer

    Presently, I just have two textboxes in the mainform indicating txtProjectName and txtCustomerName for each record. The subfield shows the proper events for each record set. So, the link should be okay.

    However, I have to switch between the projects, so the records of the main form, by using the navigation at the bottom. This, I would like to change.

    Instead, I'd like to put a ComboBox in the main form which lets me choose the project. When I simply replace the textfield by a ComboBox, Access shows the project Name, but doesn't let me change the value of the box. It gives: "Control can't be edited; it's bound to AutoNumber field "IDProject".

  3. #18
    schwabe is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Jan 2012
    Location
    San Francisco Bay Area
    Posts
    50

    Issue solved, next step...

    Hello,

    I've solved that problem, by removing the Control Source of the ComboBox and changing the Master Link fields. Thanks again for your support.

  4. #19
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Outstanding! Thanks for posting back with your success and solution.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 16
    Last Post: 02-13-2012, 03:32 PM
  2. Replies: 12
    Last Post: 01-18-2012, 10:02 AM
  3. Subform requery after multiple records selected
    By AccessBlues in forum Forms
    Replies: 8
    Last Post: 08-04-2011, 11:03 AM
  4. Replies: 2
    Last Post: 07-10-2011, 07:22 PM
  5. Replies: 1
    Last Post: 10-13-2010, 12:40 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums