how can i rename an attached pdf file? (1 Viewer)

camiramzi

Member
Local time
Today, 13:48
Joined
Oct 30, 2022
Messages
35
Hi access programmers
i have an app that i scans and attaches docs
before i was naming my files like this
Capture2.JPG
Capture3.JPG



is there a way that i can create a button to rename my attachement in access subform and desktop with Nin field
thank you.
Capture1.JPG
 
Last edited:

bastanu

AWF VIP
Local time
Today, 05:48
Joined
Apr 13, 2010
Messages
1,402
I assume you do not save the files as attachments inside your database (in an attachment type field), but actually store the name and path as text in a short text field. If this is true then it should be a very easy job to do what you mention, look at the Name statement to rename the file and simply update the stored path in the subform's control or record source.


Cheers,
 

Users who are viewing this thread

Top Bottom