Rauf
VIP Member
I am using the following code to display stored photos of an employee, in a Fix/Inspect form
0001 //
0002 VA frm_ImageRepository_CMDS = PO szImageRepository_CMDS
0003 VA frm_ImageOnclick_DESC2000 = "<div id=EEPicture><img width=150 height=180 src=""
0004 VA frm_szImageFile_DL01 = concat([FC Address Number],".jpg")
0005 VA frm_ImageOnclick_DESC2000 = concat([VA frm_ImageOnclick_DESC2000],[VA frm_ImageRepository_CMDS])
0006 VA frm_ImageOnclick_DESC2000 = concat([VA frm_ImageOnclick_DESC2000],[VA frm_szImageFile_DL01])
0007 VA frm_ImageOnclick_DESC2000 = concat([VA frm_ImageOnclick_DESC2000],'"')
0008 VA frm_ImageOnclick_DESC2000 = concat([VA frm_ImageOnclick_DESC2000]," </div>")
0009 //
0010 Add Segment(FC Text Block 42, VA frm_ImageOnclick_DESC2000, <Default,Default,0,Default>, <Yes>, VA frm_iSegmentID_INT04)
I manually upload the images with the correct naming "AN8.jpg" to the specified location
I would like to have comment on the following,
1. Is there any way, the user can upload the image ?
2. If it is using Media Object upload, how can I show it in the form ?
3. As far as I know, I cannot use images in reports (in E1 8.12, TR 8.96.40)
0001 //
0002 VA frm_ImageRepository_CMDS = PO szImageRepository_CMDS
0003 VA frm_ImageOnclick_DESC2000 = "<div id=EEPicture><img width=150 height=180 src=""
0004 VA frm_szImageFile_DL01 = concat([FC Address Number],".jpg")
0005 VA frm_ImageOnclick_DESC2000 = concat([VA frm_ImageOnclick_DESC2000],[VA frm_ImageRepository_CMDS])
0006 VA frm_ImageOnclick_DESC2000 = concat([VA frm_ImageOnclick_DESC2000],[VA frm_szImageFile_DL01])
0007 VA frm_ImageOnclick_DESC2000 = concat([VA frm_ImageOnclick_DESC2000],'"')
0008 VA frm_ImageOnclick_DESC2000 = concat([VA frm_ImageOnclick_DESC2000]," </div>")
0009 //
0010 Add Segment(FC Text Block 42, VA frm_ImageOnclick_DESC2000, <Default,Default,0,Default>, <Yes>, VA frm_iSegmentID_INT04)
I manually upload the images with the correct naming "AN8.jpg" to the specified location
I would like to have comment on the following,
1. Is there any way, the user can upload the image ?
2. If it is using Media Object upload, how can I show it in the form ?
3. As far as I know, I cannot use images in reports (in E1 8.12, TR 8.96.40)