Hi!
A topic which often discussed, still I do not find a solution.
I stored JPEG in an SQL-Server 2008 table. Pictures are small therefore I did not use the FILESTREAM format but varbinary(MAX), which works well in the form frmArticleGroups with a BOUND objectfield. I only have less than 50 pictures in total therefore I did not store the path of the image but the whole picture in the datebase embedded.
The table tblArticlegroups has following columns:
GrpID
Grpdescription
GrpImage
In another form, where I specify the different articles within the groups, I want to show the image from tblArticlegroups.
So, I habe a combobox with a qry as recordsource connecting tblArticles with tblArticlegroups. On of the columns is GrpImage, which I wanted to show in a UNBOUND objectfield on the form frmArticles by
Form_Current
me.GroupImage=me.Article.column(3)
But this does not work.
Me.GroupImage has no .Picture property, so I do not know how I could show the GrpImage with the specific article.
Please help me to solve this problem.
Thanks!
Michael
A topic which often discussed, still I do not find a solution.
I stored JPEG in an SQL-Server 2008 table. Pictures are small therefore I did not use the FILESTREAM format but varbinary(MAX), which works well in the form frmArticleGroups with a BOUND objectfield. I only have less than 50 pictures in total therefore I did not store the path of the image but the whole picture in the datebase embedded.
The table tblArticlegroups has following columns:
GrpID
Grpdescription
GrpImage
In another form, where I specify the different articles within the groups, I want to show the image from tblArticlegroups.
So, I habe a combobox with a qry as recordsource connecting tblArticles with tblArticlegroups. On of the columns is GrpImage, which I wanted to show in a UNBOUND objectfield on the form frmArticles by
Form_Current
me.GroupImage=me.Article.column(3)
But this does not work.
Me.GroupImage has no .Picture property, so I do not know how I could show the GrpImage with the specific article.
Please help me to solve this problem.
Thanks!
Michael