Results 1 to 3 of 3
  1. #1
    Ant_Snell is offline Competent Performer
    Windows 10 Office 365
    Join Date
    Jul 2021
    Location
    UK
    Posts
    118

    Attachment data type

    Hi


    I have a database which is a HR system that includes several tables with attachment data type fields used to upload documents such as sick notes, contracts, and qualifications etc. I will be eventually converting the back-end tables to MySQL and all my research suggests that attachment data type should not be used and will slow down the application. It would be a lot of work and less user friendly to convert all the attachment fields to one-to-many tables with file links and as the number of file uploads will be minimal (maybe 6 to 10 per year per staff member). I was thinking of creating a separate DB containing just the attachment fields in its own table then linking this back to the original tables using a one-to-one relationship. Leaving this as Access (not My SQL back end). This would mean all the form design etc. could stay as is and the user experience would remain simple. I know this is probably not the best solution but not being a developer was just looking for comments/ suggestions as to whether this would work or have pitfalls before I start working on it.

    Thanks for your feedback

  2. #2
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    That's actually a quiet clever solution to the problem, but it does mean the attachment data wouldn't be available for any of the MySQL processing. e.g. a count to determine if there were any attachments.
    You could maintain an index of the attachments in MySql as a reference I suppose, generated/maintained from the Access FE.

    The other option would be to investigate storing the objects in the backend as binary objects, I know SQL Server can do this.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  3. #3
    Ant_Snell is offline Competent Performer
    Windows 10 Office 365
    Join Date
    Jul 2021
    Location
    UK
    Posts
    118
    Thanks Minty, I'll give it a go then, I don't think at this stage I will need any counts etc. on the attachments.

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

Similar Threads

  1. Ms Access UNION ALL with Attachment data type
    By Anthony98364598 in forum Access
    Replies: 14
    Last Post: 02-05-2021, 03:03 AM
  2. attachment data type in SQL Server
    By Esmatullaharifi in forum SQL Server
    Replies: 3
    Last Post: 05-15-2015, 12:07 AM
  3. Attachment data type and Control question using VBA
    By johnnyBQue in forum Programming
    Replies: 4
    Last Post: 11-06-2014, 02:20 PM
  4. working with attachment field type
    By ricky99 in forum Forms
    Replies: 8
    Last Post: 09-16-2012, 03:59 AM
  5. Attachment data type INSERT INTO not working
    By LouisLouis in forum Programming
    Replies: 0
    Last Post: 09-27-2009, 02:23 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