Results 1 to 4 of 4
  1. #1
    rune75 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2014
    Posts
    2

    Choose between two different receiving adresses on a form on print out

    Hi
    It is possible to make a option to choose between two different recieving addresses before print out of the form. That's meens after I click on the print button on the form I want to choose between address 1 and 2 that the choosen one will be printed on the form. Address one is the default address.



    best regards
    Rune

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Certainly possible. The how could probably be any number of ways.

    Are you actually printing form? Report is better object for printing.
    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
    rune75 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2014
    Posts
    2
    Unfortunately, it is a form I need to print. The database is build in such way. i hope it is still possible. Someone that can explain how to do it. Thanks

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Database is not carved in stone. There is no reason couldn't modify to print report.

    Regardless, what you want will require code. I use only VBA. Use checkbox Click event
    Sub chkUseAlternate_Click
    'appropriate code here
    End Sub

    Options:

    1. set visibility of textboxes - can be just two textboxes with concatenated address fields as the ControlSource

    Me.tbxAdd1.Visible = Not Me.chkUseAlternate
    Me.tbxAdd2.Visible = Me.chkUseAlternate

    2. just one textbox and set the ControlSource property with concatenated address string
    this is a bit more complicated so won't go into it
    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. Multiple adresses for a customer
    By tostgulen in forum Database Design
    Replies: 3
    Last Post: 01-06-2013, 02:25 PM
  2. Replies: 11
    Last Post: 08-27-2012, 11:26 AM
  3. Replies: 3
    Last Post: 07-20-2012, 11:55 PM
  4. Material Receiving Form
    By Solanthus in forum Forms
    Replies: 1
    Last Post: 01-26-2012, 08:25 AM
  5. Replies: 1
    Last Post: 12-02-2010, 03:04 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