Results 1 to 6 of 6
  1. #1
    steveo0707 is offline Novice
    Windows 11 Office 365
    Join Date
    Oct 2023
    Posts
    16

    Checkboxes and saving help

    Hello,

    We use Access to track our nonconforming material. Operator enters the information into an input form. The information is automatically transferred to a printable form. All of the information entered into the input form transfers over perfectly, however, i have checkboxes on the printable form that are tied to the input form drop down lists. The checkmarks were correctly transferring over to the printable form for a while, but now all the checkboxes are greyed out on the printable form.



    Not sure what to look for. Also needed help on how to save the printable form on a network location. When I try to export to pdf, it wants to transfer all 6000 records, I only want to save the current record.

    The formula that I have tied to one of the checkboxes is as follows, the others are similar.

    =IIf([N NCMR Type]="SSP Production",True,False)
    Attached Thumbnails Attached Thumbnails Inputt Form.png   PRint Form.png  

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    No need for the iif function, try

    =[N NCMR Type]="SSP Production"

  3. #3
    Join Date
    Apr 2017
    Posts
    1,680
    My advice:

    Create a report instead using the form. Base the report on a query, which returns all records from all nonconformity entries (NCMR Numbers) - like the source of your form;
    Have a button on your form, where OnClick event runs the report and sends the result to printer, or to screen for preview, by setting the filter condition the [NCMR Number] equal with one for active record in your form. The report for only this record is previewed/printed;
    To get the report saved as PDF-file, install a pdf-printer for your computer (e.g. CutePDF - the printer version of it is free). When printing, select the pdf-printer. You are asked where to save, and what name must be used. Maybe it is possible to design the OnClick event also to send the pdf to mail, but I haven't tried this.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    With or without IIf() expression should work.

    I agree, better to print report instead of form (although I have printed forms, report is much easier to fit to paper). In either case, to print one record requires filtering to that one record.
    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.

  5. #5
    steveo0707 is offline Novice
    Windows 11 Office 365
    Join Date
    Oct 2023
    Posts
    16
    Hello,

    Operator uses "NCMR Input Form'. Input forms source is NCMR Main Table

    Query created for Report is 1-NCMR Printing Form Query

    1-NCMR Print Form Report is sourced by the above query.

    Everything is transferring to the report, I have a open button to open the report, but the report is blank when it opens.

    Also, can't get the report to display with the NCMRS in descending order.

    Attachment 51399

  6. #6
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    I think all you posted is a shortcut, not a file. It's only 1KB in size.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Count Checkboxes
    By Emma35 in forum Forms
    Replies: 21
    Last Post: 01-28-2016, 01:24 PM
  2. Use of checkboxes in query
    By GeirA in forum Queries
    Replies: 9
    Last Post: 10-26-2015, 06:17 AM
  3. Replies: 3
    Last Post: 04-22-2015, 04:35 AM
  4. Filter Checkboxes
    By lewis1682 in forum Programming
    Replies: 3
    Last Post: 09-11-2013, 11:19 AM
  5. Checkboxes ?
    By Trojnfn in forum Access
    Replies: 3
    Last Post: 09-30-2011, 01:52 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