Hi Olu,
I did not look at your erxample, but this is how I do it.
Define fil:name1, fil:name2, etc.
Then in the PostInsert 1 Start Embed point, code like he following (not my finest piece of code but I was in a hurry:
if TH:Location <> ''
l:name = p_web.GSV('fil:name')
k# = int(TH:ImageNo / 50000)+1
copy(p_web.gsv('PATH') & '\web\'&clip(l:name),'\\'&clip(GLOD:Server)&'\eds\HD' & k# &'\'&left(format(TH:ImageNo,@n_8))&clip(ExtType))
remove(p_web.gsv('PATH') & '\web\'&clip(l:name))
.
l:name = p_web.GSV('fil:name2')
l:desc = p_web.GSV('Desc2')
TH:Memo = ''
if l:name <> '' and l:desc <> ''
TH:TicketNo = p_web.GSV('T:TicketNo')
TH:Desc = l:desc
k# = len(clip(l:name))
ExtType = sub(l:desc,k#-4,4)
TH:ImportDate_Date = today()
TH:Location = clip(l:name)
access:THistory.usefile()
access:THistory.tryinsert()
k# = int(TH:ImageNo / 50000)+1
copy(p_web.gsv('PATH') & '\web\'&clip(l:name),'\\'&clip(GLOD:Server)&'\eds\HD' & k# &'\'&left(format(TH:ImageNo,@n_8))&clip(ExtType))
remove(p_web.gsv('PATH') & '\web\'&clip(l:name))
.
l:name = p_web.GSV('fil:name3')
l:desc = p_web.GSV('Desc3')
if l:name <> '' and l:desc <> ''
TH:TicketNo = p_web.GSV('T:TicketNo')
TH:Desc = l:desc
k# = len(clip(l:name))
ExtType = sub(l:desc,k#-4,4)
TH:ImportDate_Date = today()
TH:Location = clip(l:name)
access:THistory.usefile()
access:THistory.tryinsert()
k# = int(TH:ImageNo / 50000)+1
copy(p_web.gsv('PATH') & '\web\'&clip(l:name),'\\'&clip(GLOD:Server)&'\eds\HD' & k# &'\'&left(format(TH:ImageNo,@n_8))&clip(ExtType))
remove(p_web.gsv('PATH') & '\web\'&clip(l:name))
.
Cheers
Charl