Results 1 to 4 of 4
  1. #1
    blaimi is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Nov 2011
    Posts
    2

    use record id in combobox query

    Hi,



    I have some comboboxes on an endless form. I want to fill the list with values depending on the selected recordset on the form.

    I want something like

    Code:
    SELECT * FROM table WHERE some_col = [TheRecordsetWhichOwnesTheComboboxWhichStartetThisQuery]![ID]
    [Form]![FromName]![ID] don't work for this, because it is an endless form so it is null

    I googled for it for a while but I couldn't find anything.

    I hope you know what I mean and somebody can help me

    greets from germany

    blaimi

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    No, don't understand. What is an 'endless form'? Do you want to provide the project for analysis?
    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.

  3. #3
    blaimi is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Nov 2011
    Posts
    2
    sorry, I chose a wrong translation. I meant continuous form

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Okay, but still don't understand what you want to do. Check out this tutorial, see if that is what you want http://datapigtechnologies.com/flash...tomfilter.html
    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.

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

Similar Threads

  1. Go to a record that is in a combobox
    By cgclower in forum Forms
    Replies: 5
    Last Post: 11-08-2011, 10:48 AM
  2. Combobox selection updates Table record
    By lucky in forum Access
    Replies: 4
    Last Post: 10-30-2011, 10:44 AM
  3. Replies: 8
    Last Post: 06-22-2011, 10:51 AM
  4. Replies: 9
    Last Post: 12-18-2010, 12:51 PM
  5. Replies: 0
    Last Post: 08-24-2010, 06:38 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