Results 1 to 3 of 3
  1. #1
    brc is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    29

    Connected Listboxes

    I have a report that I am trying to create that is a monthly financial statement for Property. I am trying to display the applicable expenses with what was spent. I have one listbox listing all the names of the expenses that have been incurred in the current year. So as different expenses are added the list get's longer. now in a another listbox I have the corresponding values for each of types of expenses year to date. Those two are no problem. What i need help with is the listbox that displays the current months expenses. When I display it since not every expense is being incurred this month the values don't line up. I've attached a photo to better describe what I am looking for.

    Any help would be appreciated. I've banging my head trying to figure this one out.

    Thanks

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,969
    Need a record for each account, even if it is a dummy with no data. One way is to have a record in table for each account for every month of every year. Another way is a table of accounts that can be included in the MTD listbox RowSource query by join. Jointype would be 'show all records from Accounts ...". Show the RowSource SQL statement for analysis.
    Last edited by June7; 07-08-2011 at 08:56 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.

  3. #3
    brc is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    29
    Actually I figured it out late last night. The problem was I was joining my Tables/Queries by property address when i was needing to join them by expense name. Once I right joined by expense name it displayed all the expense names with corresponding value for that month displaying nothing if there wasn't anything for that current month.

    Thanks for the reply

    Brent

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

Similar Threads

  1. Question about listboxes and VBA
    By Lucas83 in forum Programming
    Replies: 3
    Last Post: 05-21-2010, 04:09 PM
  2. Replies: 1
    Last Post: 12-01-2009, 09:00 AM
  3. Two textboxes connected to the same table
    By ma09fraga in forum Forms
    Replies: 6
    Last Post: 06-11-2009, 12:42 PM
  4. Multiple Listboxes
    By Butterflies88 in forum Forms
    Replies: 1
    Last Post: 02-11-2009, 10:16 PM
  5. Listboxes in Reports
    By bonekrusher in forum Reports
    Replies: 1
    Last Post: 09-21-2006, 01:46 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