Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    jknight is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2012
    Posts
    8

    I wish I could but it has personal information/data related to the purpose of the database and I don't think I should be posting that. I can provide any table names, form names or any code I have used. Sorry. Can you still help?

  2. #17
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    I just can't figure why it would have a compile error on "Me", which is commonly used. I assume the data type of the field is numeric? You can try the full form reference instead of the "Me" shortcut, but I don't have high hopes for its success. What exactly is your code now?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #18
    jknight is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2012
    Posts
    8
    Oh maybe data type of the field is an issue, the data type for "RequestID" is AutoNumber does that matter?

    Here is an overview of what is happening.
    The Form A (Search Requests) has a textbox that searches and table and displays results in listbox with RequestId (Unique to each request) being the first column displayed.

    On double clicking the user should be able to see Form B (Details View) of the requests. I followed the tutorial you had provided but when I doubleclick it takes to blank form (of Details Views) but it should be showing the information based on the "RequestID".

  4. #19
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    No, autonumber is a numeric type (Long Integer). You said the ID is the "first column displayed". Is it actually the first column in the row source? Your code expects it to be. Is the record source of form B the entire table? Do you know how to set a breakpoint and see if the listbox is returning what you expect?

    http://www.baldyweb.com/Debugging.htm

    See why I asked for a sample? There are a lot of things to check.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 2
    Last Post: 08-30-2012, 07:59 AM
  2. Replies: 1
    Last Post: 08-09-2012, 04:19 PM
  3. Update Value in Combo Box
    By j2curtis64 in forum Forms
    Replies: 18
    Last Post: 05-13-2011, 04:37 PM
  4. Replies: 5
    Last Post: 03-20-2010, 08:30 AM
  5. Use combo box to update other fields
    By Shep in forum Access
    Replies: 7
    Last Post: 07-23-2009, 03:11 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