Microsoft Access help

Discussion in 'Bulletin Board ARCHIVE' started by Jaffa, Jun 3, 2009.

  1. Jaffa

    Jaffa Well-Known Member

    Joined:
    Jul 20, 2005
    Messages:
    2,463
    Likes Received:
    38
    Trophy Points:
    48
    Location:
    Tarn
    Style:
    Barnsley (full width)
    I have a form that i am currently using, there is a tick option on there that i have.

    What i want to be able to do is when i click print form i only want the ones that have a tick at the side of them to print.

    Is there anything that i can put in to do that, a code or an option.

    Any help much appreciated.

    Cheers
     
  2. sus

    susietyke Well-Known Member

    Joined:
    Jul 21, 2005
    Messages:
    1,879
    Likes Received:
    163
    Trophy Points:
    63
    Location:
    on tour in League 1
    Style:
    Barnsley (full width)
    can you set a filter in the report that will pick only the selected fields?
     
  3. red

    redref Member

    Joined:
    Sep 2, 2007
    Messages:
    466
    Likes Received:
    4
    Trophy Points:
    18
    Gender:
    Male
    Location:
    Wombwell
    Style:
    Barnsley (full width)
    you will probably need to set up a simple query telling the database to look for the forms that have a tick in then you should be able to print off all containing ticks
     
  4. rgb

    rgbs New Member

    Joined:
    Apr 11, 2006
    Messages:
    296
    Likes Received:
    0
    Trophy Points:
    0
    Home Page:
    As above, but you should be able to consolidate all that into a macro. Without spending to much time, something like Action > Open Form (there is a filter command in the arguements which you should be able to set - only ticks etc) and then Action > Print Out (again set your arguments).
     
  5. Gud

    GudjonFan Well-Known Member

    Joined:
    Jul 18, 2005
    Messages:
    4,615
    Likes Received:
    405
    Trophy Points:
    83
    Location:
    The Sanctuary of the 18 Yard Line
    Home Page:
    Style:
    Barnsley (full width)
    Don't use "Print Form"

    I suspect you are using datasheet view showing multiple records on the screen - rather like a spreadsheet.

    This is fine for adding; deleting & modifiying records.

    However, you now need to write yourself a report to format and print the data out.

    All you need to do is use the query wizard to generate a new query (based up on your table). It will walk you through filtering the records exactly as you want them. Save the query with a suitable name: sql_OutstandingOrders.

    Next, use the report wizard to generate a report based upon the query you just saved. Save the report with a meaningful name: rpt_MyOutstandingOrders.


    HTH,
    Stephen
     

Share This Page