troubleshooting Question

USING INSERT INTO TO ADD IMAGE TO TABLE

Avatar of Eze Ukaoha
Eze Ukaoha asked on
Images and Photos
4 Comments1 Solution110 ViewsLast Modified:
Currentdb.Execute "INSERT INTO tblRegister(Surname,FirstName,MiddleName,Email,UserName,Password,ComfirmPassword,SecurityLevel,MobilePhoneNo,HomePhone,DateofBirth,Gender,MaritalStatus,NumberofChildren,Occupation,HomeAddress,StateofOrigin,Nationality)" & _
    " VALUES('" & Me.txtSurname.Value & "','" & Me.txtFName.Value & "','" & Me.txtMName.Value & "','" & Me.txtEmail.Value & "','" & _
Me.txtUsername.Value & "','" & Me.txtPassword.Value & "','" & Me.txtPasswordConfirm.Value & "','" & Me.cmbSecurityLevel.Value & "','" & _
Me.txtMobileNo.Value & "','" & Me.txtHomePhone & "','" & Me.txtDOB.Value & "','" & Me.cmbGender.Value & "','" & Me.cmbMaritalStatus.Value & "','" & Me.txtchildren.Value & "','" & _
Me.txtOccupation.Value & "','" & Me.txtAddress.Value & "','" & Me.State.Value & "','" & Me.txtNationality.Value & "')"

Above code is used to insert into table. Now, I have a field in the tblRegister named image. How can I insert the image into the field image together with other records when I clicked the button save. I have already added a filedialog that adds image to the form. Just want to insert the image to table by clicking the insert button
ASKER CERTIFIED SOLUTION
John Tsioumpris
IT Supervisor
Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros