Hello All,
This works (displays) great.
Now I want to embed the image from SQLitening image field, which is not displaying:
Or at least through a variable which contains the name of image, which is giving me an error (parameter mismatch):
Glad if I could be pointed in the right direction.
Best regards,
This works (displays) great.
Code:
slSel "SELECT RegistrationNo, PixName, Picture FROM tblDPRRegistration WHERE RegistrationNo = '" + sRegistrationNo + "'" hpix = dpAddGraphic(ihandle%, VD_App.Path & "Ughimi.jpg") If hpix Then dpDrawGraphic ihandle%, hpix,6.4,6.1,7.8,11 End If
Code:
slSel "SELECT RegistrationNo, PixName, Picture FROM tblDPRRegistration WHERE RegistrationNo = '" + sRegistrationNo + "'" hpix = dpAddGraphic(ihandle%, slFN("Picture")) If hpix Then dpDrawGraphic ihandle%, hpix,6.4,6.1,7.8,11 End If
Code:
slSel "SELECT RegistrationNo, PixName, Picture FROM tblDPRRegistration WHERE RegistrationNo = '" + sRegistrationNo + "'" hpix = dpAddGraphic(ihandle%, m_sPicture) If hpix Then dpDrawGraphic ihandle%, hpix,6.4,6.1,7.8,11 End If
Best regards,
Comment