Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,956
    No real reason to exit the form to enter new record. Same form can be used to view/edit existing and enter new records. That's what I do, but do what best suits your situation.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  2. #17
    Rramjet is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Jan 2013
    Posts
    36
    ooops, lost a lot off the head of my last post - don't know what happened there...

    List Box no good - because it cannot be constrained to display a single client's records - it seems only a subform can do that.
    No matter how I alter the joins - or play with the structure as per your suggestions - the structure only works if I have it the way I have...

    My understanding of how the combo box works in this respect is short of full (but it works) ...and you know the rest above...

  3. #18
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,956
    A listbox can be constrained, same as a combobox can be.

    RowSource for listbox named lbxSummary:

    SELECT Respondent_Name, Date_Completed, Parent_or_Childcare_Provider FROM BITSEA WHERE Research_ID = Forms!BITSEA![Research_ID];

    Code in form OnCurrent event (possibly in Research_ID combobox AfterUpdate event as well): Me.lbxSummary.Requery

    Suggested settings for other listbox properties:
    Width 6"
    ColumnCount 3
    ColumnWidths 2";1";3"
    ColumnHeads Yes


    Your 'workaround' sounds really klunky. Are you saying users have to go through those shenanigans? Exactly which form and related forms does this workaround involve?

    I did some more work on the NotInList procedure on the BITSEA form. I set the Research_ID combobox LimitToList property as Yes and created a form for adding client record. Then created code as described in earlier referenced thread post 26. The client form opens and populates the Research_ID field and new record is saved but am still getting the 'Item not in list' error from the combobox. Problem is with the combobox RowSource that has an INNER JOIN between Clients and BITSEA tables.
    Last edited by June7; 03-10-2013 at 12:26 AM.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 19
    Last Post: 12-21-2012, 06:57 AM
  2. Replies: 8
    Last Post: 02-09-2012, 02:02 PM
  3. Creation of New Record when Tab Last Field
    By Lupson2011 in forum Access
    Replies: 2
    Last Post: 09-07-2011, 08:05 AM
  4. Replies: 9
    Last Post: 06-20-2011, 03:42 PM
  5. Replies: 2
    Last Post: 05-11-2011, 02:58 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