Appending Multiple Files to a BLOB field

rjsf
Member Posts: 17
I'm trying to find out if this is possible and if anyone has done this before.
I have a requirement from my client for the users to be able to upload pdf files into a field in a table.
I'm sure the stream functions can handle it.
However, sometimes the users would like to upload multiple files at a time.
Is there a way to combine multiple files together into one BLOB field in one record?
And is there a way to "uncombine" them later for extraction?
Or there is no choice but to have them in multiple records?
I have a requirement from my client for the users to be able to upload pdf files into a field in a table.
I'm sure the stream functions can handle it.
However, sometimes the users would like to upload multiple files at a time.
Is there a way to combine multiple files together into one BLOB field in one record?
And is there a way to "uncombine" them later for extraction?
Or there is no choice but to have them in multiple records?
0
Comments
-
Hi,
I don't think that it is possible to upload multiple files in a single BLOB Field.
But there is a way around how you can achieve it -
* A sample for having attachment in Purchase Document.
1) Create a new table with fields Document Type, Document No., Line No, & Attachment (BLOB Field)
2) Primary Key Document Type, Document No., Line No.
3) Whenever users import a new file increment the Line No and store the File.
Let me know if my understanding is correct.
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page0 -
Hi,
There is a way. You can use Archive (zip) methods in .net 4.x to create a single zip file with many pdf documents. This zip file can be stored in a single BLOB field.________________________________
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions