G
Guest
Using Access 2K2 and WinXP
I have a file folder that contains 215 icons representing 215 country flags.
I realize that it is not a good idea to store images in a database, rather
provide a link to the image files. However, the only place the icons will be
used is on a Data Entry Form and I would like to display the flag icons as I
move from record to record.
I would like to programmatically display the icons as a condition to a
control on the form, namely; [txtCntry]. When [txtCntry] becomes, let's say,
"Botswana", then the code would retrieve the icon "Botswana.ico" from the
file folder and display it on the form. I can manually perform this function
for each record now, but there are quite a few records. Is there a way to do
it programmatically?
Any thoughts?
I have a file folder that contains 215 icons representing 215 country flags.
I realize that it is not a good idea to store images in a database, rather
provide a link to the image files. However, the only place the icons will be
used is on a Data Entry Form and I would like to display the flag icons as I
move from record to record.
I would like to programmatically display the icons as a condition to a
control on the form, namely; [txtCntry]. When [txtCntry] becomes, let's say,
"Botswana", then the code would retrieve the icon "Botswana.ico" from the
file folder and display it on the form. I can manually perform this function
for each record now, but there are quite a few records. Is there a way to do
it programmatically?
Any thoughts?