Results 1 to 2 of 2
  1. #1
    dbertanjoli is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2011
    Posts
    1

    form/subform reference problem

    I would greatly appreciate if someone can take a look at my attached access database (2003 version).

    My main form has a list box with names. By selecting the name I then click on the resecarchcategories subform to enter data for that person. After entering a first record and want to add another one by using 'add another' this button breaks into debugging mode. There is something wrong either with my 'add another' button or my 'next' button functionality.

    I would greatly appreciate your reply.
    Debbie

  2. #2
    ConneXionLost's Avatar
    ConneXionLost is offline Simulacrum
    Windows XP Access 2003
    Join Date
    Jan 2010
    Location
    Victoria, Canada
    Posts
    291
    Hi,

    A typical arrangement for a subform is to be embedded into a form using the "Subform/Subreport" control. You don't appear to be doing this. Instead, you have a textbox you're trying to coerce into acting as a subform with VBA. Additionally, your Record Source for frmResearchCategory is a query with two tables.

    If you were to return to the "typical" approach, you might be able to take advantage of the Master/Child relationship inherent in a form/subform, instead of trying to recreate it with VBA.

    Cheers,

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Fixing Reference problem
    By Alex Motilal in forum Access
    Replies: 6
    Last Post: 12-30-2010, 02:12 AM
  2. Reference Problem
    By ksmithson in forum Forms
    Replies: 9
    Last Post: 07-15-2010, 01:22 PM
  3. Replies: 2
    Last Post: 06-14-2010, 03:25 PM
  4. Creating a reference to the subform.
    By evander in forum Forms
    Replies: 2
    Last Post: 05-26-2010, 09:39 AM
  5. Can't reference control in subform
    By evanscamman in forum Forms
    Replies: 0
    Last Post: 12-25-2007, 06:47 PM

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