Results 1 to 2 of 2
  1. #1
    Newby is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Nov 2012
    Posts
    60

    Cash Receipt form

    I have a form with 2 combo boxes. The first box specifics whether the renter is active or non-active. The 2nd combo box list rentersID, renterName, and apartment # filtered by the active selection. When I select the Renter, only the renter's ID field show in the box. I can see all three field when I am selecting, but after I select I see only the renter ID. How can I did the renter name and apartment # to display as well? The form is unbound.

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    put two unbound fields on your form
    name them 'tentantname' and 'apartmentnumber'

    in the ON CHANGE or ON EXIT property of your combo box

    assuming your tenant name is the second column of your combo box and the apartment number is the third column use this:

    Code:
    tenantname = [comboboxname].column(1)
    apartmentnumber = [comboboxname].column(2)
    I would also set the enabled property of the two fields to FALSE and the locked property to TRUE

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

Similar Threads

  1. Grocery receipt template
    By Kitchensock in forum Access
    Replies: 8
    Last Post: 10-06-2015, 03:53 PM
  2. creating Form like as user Receipt
    By sankar519 in forum Access
    Replies: 6
    Last Post: 06-11-2014, 06:33 AM
  3. Printing a receipt automatically
    By jalals in forum Programming
    Replies: 1
    Last Post: 04-17-2013, 03:53 PM
  4. How to print receipt with auto number
    By jalals in forum Programming
    Replies: 1
    Last Post: 04-05-2013, 06:46 AM
  5. HELP with crazy receipt numbering
    By jlm722 in forum Forms
    Replies: 15
    Last Post: 09-23-2009, 01:49 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