Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can i insert file in database

Status
Not open for further replies.

vrazzazi

MIS
Aug 28, 2002
4
NL
Hi everyboy
If I have a field in a table that i want to save a file such as .avi or ... how can i do that.what kind of datatype i must be choose?
thanks for your help
 
If I have a field in a table that i want to save a file such as .avi or ... how can i do that.what kind of datatype i must be choose?
thanks for your help

You can just store the location (path+filename) of the file in a text field of a table.
Then create a form to display the information.
Then the following code will open the file when you click the text box:

Sub TextBoxName_Click()
FollowHyperlink TextBoxName
End Sub

Good luck
[pipe]
Daniel Vlas
Systems Consultant
danvlas@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top