I'm trying to so something with SQL that I can't quite get a handle on. I have a program that is supposed to be able to handle batch scanning. When it scans multiple pages, it links them all to one record that may be defined in scripting code, but it doesn't support linking each individual image to a different record.
When I scan three pages in, basicly I get nine different records.
I need my userdata id in imglinks to be 998, 999, and 1000. I can define a group of imglinks records that I want linked to a group of userdata records, but there is nothing logical (that I can find) to link them together with. Is there any way I can do this?
When I scan three pages in, basicly I get nine different records.
Code:
imglinks
---------------------------------
ilinkid|imgid|userdataid
51 60 998
52 61 998
53 62 998
userdata
---------------------------------
id
998
999
1000
imgtable
---------------------------------
imgid|img
60 xyakkdnal;diaand,a
61 iw:kkiefasdffasdna
62 wafwefffffaadfbaaa
I need my userdata id in imglinks to be 998, 999, and 1000. I can define a group of imglinks records that I want linked to a group of userdata records, but there is nothing logical (that I can find) to link them together with. Is there any way I can do this?