denimknight
New member
- Local time
- Today, 05:54
- Joined
- Apr 20, 2010
- Messages
- 3
Hi all,
new to the forum, and desperately seeking help. I've tried posting on asp forum but didn't get too much help there, I think this is more an access question (hopefully).
I'm using an Access 2007 database and I am putting it online and plan to access it using ASP. The problem is the database uses the attachment data type for storing images and CV's and I have no idea how to do it... I tried the following:
But this didn't work, it gave back a syntax error. I thought that it was way to easy to do it that... On the ASP forum I was sent to a link about uploading binary files, is this the only way to do it? Because the site I hit about uploading binary files was really complicated and hard to follow.
Hope someone can help.
Cheers
Alex
new to the forum, and desperately seeking help. I've tried posting on asp forum but didn't get too much help there, I think this is more an access question (hopefully).
I'm using an Access 2007 database and I am putting it online and plan to access it using ASP. The problem is the database uses the attachment data type for storing images and CV's and I have no idea how to do it... I tried the following:
Code:
strSQL = "INSERT INTO participant (ni_number, first_name, last_name, date_of_birth, image_file) VALUES ('" & nin & "','" & firstname & "','" & lastname & "','" & dob & "'," & image_file & ");"
Conn.Execute(strSQL)
But this didn't work, it gave back a syntax error. I thought that it was way to easy to do it that... On the ASP forum I was sent to a link about uploading binary files, is this the only way to do it? Because the site I hit about uploading binary files was really complicated and hard to follow.
Hope someone can help.
Cheers
Alex