C
cw via AccessMonster.com
I have a database of names, team color, image pathname used to generate 3x5
labels (up to 6 per sheet).
I then have a Form that opens & shows all the names in the database with a
"Selected" checkbox by each one. This allows me a choice of which 3x5 labels
to print. (for ex.. 2 red team, 2 blue & 1 yellow team.
The labels print off on standard white photo paper, and the "image
backgrounds" need to print behind the proper label.
Problem is, I can't make the background of each label to change to it's
proper "background image" depending on it's team color? (I'm using 6
specially designed colored images stored in a folder for each team)
I know how to use a single "static image" for all labels but not sure how to
make the image background change at report runtime.
Currently my report is printing the selected mix of team labels, but the
backgrounds are all white.(no background image selected at all) I use this
code to print the persons picture: (txtStockGraph is the image pathname from
my table)
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
Me.Image11.Picture = Me.txtStockGraph
End Sub
I thought about storing the background images as paths also in a table.
Could I use a Case statement to call the correct background?
Thanks for your help,
cw
labels (up to 6 per sheet).
I then have a Form that opens & shows all the names in the database with a
"Selected" checkbox by each one. This allows me a choice of which 3x5 labels
to print. (for ex.. 2 red team, 2 blue & 1 yellow team.
The labels print off on standard white photo paper, and the "image
backgrounds" need to print behind the proper label.
Problem is, I can't make the background of each label to change to it's
proper "background image" depending on it's team color? (I'm using 6
specially designed colored images stored in a folder for each team)
I know how to use a single "static image" for all labels but not sure how to
make the image background change at report runtime.
Currently my report is printing the selected mix of team labels, but the
backgrounds are all white.(no background image selected at all) I use this
code to print the persons picture: (txtStockGraph is the image pathname from
my table)
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
Me.Image11.Picture = Me.txtStockGraph
End Sub
I thought about storing the background images as paths also in a table.
Could I use a Case statement to call the correct background?
Thanks for your help,
cw