Results 1 to 2 of 2
  1. #1
    accesshelpme is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2012
    Posts
    18

    access program not working properly!

    hey guys,
    i really hope one of u guys can help me, I'm pretty
    desperate. I'm by no means an expert in access. other then then occaional class
    project, I have no experience. A few months back I i started to built a database to
    hold client information for a internship i worked @. I had gotten pretty far
    with it. The i stopped the internship for 6 months and now im back and they are
    running a newer version of access. I took the database home and it runs on my
    computer with access 2010.
    heres what i need help with:
    One part of the edit form has a add product/vendor button. this
    button bring up another form linked to another table and allows the user to add
    the information needed. Then when u save that
    record that form closes and brings u back to the origanl form. On this form
    under the add product vendor button there are 2 listboxes next to each other.
    The one on the left shows the products associated with the client and the one on
    the right shows the vendors that client uses for that product listed on the
    right. heres the problem. I did this with vd code, as follows:
    Dim strSQL As String
    strSQL = "SELECT Products
    from [Client ProdVend] " & _
    "Where Client_Account_Name =
    '" & Me.Client_Account_Name & "'"


    Me.List91.RowSource
    = strSQL
    Dim strSQL2 As String
    strSQL2 =
    "SELECT Vendors from [Client ProdVend] " & _
    "Where
    Client_Account_Name = '" & Me.Client_Account_Name & "'"
    Me.List93.RowSource = strSQL2
    but when i open
    it in a the newer version of access or if i try to make it an ACCDE, it doesnt
    work properly. It just shows fills the list for the first client, but when i go
    to the next client(record) it remains unchanged and still shows that first
    clients prod and vendors in the listboxes.
    ANY HELP IS
    GREATLY APPRECIATED!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    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. Count or DCount Not Working Properly
    By Chris1112 in forum Forms
    Replies: 3
    Last Post: 05-09-2012, 02:51 PM
  2. Msgbox And Search Code Not Working Properly
    By vampyr07au in forum Forms
    Replies: 1
    Last Post: 05-02-2011, 05:16 PM
  3. Replies: 1
    Last Post: 12-02-2010, 11:08 PM
  4. Delete SQL statement not working properly
    By Alexandre Cote in forum Programming
    Replies: 3
    Last Post: 10-18-2010, 12:56 PM
  5. Query on chart not working properly!
    By Sim_ in forum Queries
    Replies: 0
    Last Post: 10-28-2009, 09:38 AM

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