| |

VerySource

 Forgot password?
 Register
Search
View: 1074|Reply: 4

How to save an unlimited number of pictures in Access?

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-3-13 13:00:01
| Show all posts |Read mode
How to save an unlimited number of pictures in Access, and how can they all be displayed when opened?
Reply

Use magic Report

0

Threads

53

Posts

29.00

Credits

Newbie

Rank: 1

Credits
29.00

 China

Post time: 2020-6-8 19:45:01
| Show all posts
If this is the case, then your database design structure needs to be changed. It is best to use a special table to store these pictures, one record to save one picture, and each picture record has a parent code to follow other related records. For example, the record labeled 001 has 12 pictures. Then there is a parent class number in the picture table: parent_id=001, these pictures can be listed and displayed by querying the picture record with the number 001!
Reply

Use magic Report

0

Threads

6

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-6-9 15:15:01
| Show all posts
Agree upstairs, there is also a serial number field for the picture
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-6-19 15:45:01
| Show all posts
Thank you, how do you display a variable number of pictures in the program?
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-9-4 19:15:01
| Show all posts
The upstairs is completely nonsense, you have made the database redundant like you do.

I recently researched it, and the best solution is this:
You only need to add a field to save the physical address of the picture in the original database, put the physical address of these pictures in a field with a separator when uploading, and then call the split function to read out each physical address in an array. So your saving and reading problems are solved.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list