Results 1 to 4 of 4
  1. #1
    CMG is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Feb 2020
    Posts
    3

    How to to get a count on attachments within a form to display a numeric value

    Hi,

    I am trying to get on my form a field that counts my attachments, so I can quickly look at a form and it shows me how many attachments. So from the example below there are multiple pdfs under media releases - but it only shows one icon, I then want a field that counts those pdfs and provides a value - say for example 4

    Click image for larger version. 

Name:	Dbase.png 
Views:	9 
Size:	3.3 KB 
ID:	40806

    Any assistance greatly appeciated and I am only just learning with MS Access - so basic help please.



    Thanks

  2. #2
    Ajax is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    8,232
    you can use the attachmentcount property - see this link https://docs.microsoft.com/en-us/off...ttachmentcount

    never tried it but I would guess your control source would be

    =nameofattachementfield.attachementcount

  3. #3
    CMG is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Feb 2020
    Posts
    3
    Thank you - I looked at that and it doesn't work. I then wondered if I did a query and then ran a macro within the form - whether that would work..

  4. #4
    CMG is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Feb 2020
    Posts
    3
    Hi,

    I don't know how - but I have done it???

    Thank you - I just kep persistign and it worked.

    Thanks.

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

Similar Threads

  1. Replies: 4
    Last Post: 06-19-2019, 06:29 AM
  2. Display a count of records on Form or Report
    By rdougherty in forum Access
    Replies: 6
    Last Post: 03-14-2017, 03:26 PM
  3. Open Form and Display Record Count
    By MatthewR in forum Forms
    Replies: 7
    Last Post: 07-02-2015, 02:34 PM
  4. Replies: 14
    Last Post: 01-21-2014, 08:19 AM
  5. Attachments to display their filenames
    By Modify_inc in forum Access
    Replies: 9
    Last Post: 01-09-2013, 01:58 PM

Tags for this Thread

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 - Senior Forums