C
Ceebaby via AccessMonster.com
Hi Folks
Hope someone can help on this.
I have a form that where I want the picture background to change on the
afterupdate event of a field, eg where if the case status is - closed, live,
or pending, the backgrounds will change to blue, red or green for example.
I have created a table called TBL Backgrounds, with 3 OLE image records and
the imageID is the PK. I also have a corresponding form to insert the jpeg.
There will only ever be 3 image records in this table.
Blue imageID =1
Red imageID= 2
Green imageID=3
I want to be able to change another forms picture by referencing the
appropriate record from the Background form. eg
if me!CaseStatus ="Close" then change the background to green which
would be imageID = 3
elseif me!CaseStatus ="live" then change to blue etc etc
I don't want to reference externally, as I have had problems with users
moving/deleting the folder where the images are, and as it is only 3 records
we can cope with the database bloat. All other images are referenced
externally by pathfile.
I have tried dlookup but am not sure what the variable to declare to be able
to return an jpeg image
This seems so simple, I just can't understand why I can't get my head around
this.
Any ideas?
Thanks in advance
Hope someone can help on this.
I have a form that where I want the picture background to change on the
afterupdate event of a field, eg where if the case status is - closed, live,
or pending, the backgrounds will change to blue, red or green for example.
I have created a table called TBL Backgrounds, with 3 OLE image records and
the imageID is the PK. I also have a corresponding form to insert the jpeg.
There will only ever be 3 image records in this table.
Blue imageID =1
Red imageID= 2
Green imageID=3
I want to be able to change another forms picture by referencing the
appropriate record from the Background form. eg
if me!CaseStatus ="Close" then change the background to green which
would be imageID = 3
elseif me!CaseStatus ="live" then change to blue etc etc
I don't want to reference externally, as I have had problems with users
moving/deleting the folder where the images are, and as it is only 3 records
we can cope with the database bloat. All other images are referenced
externally by pathfile.
I have tried dlookup but am not sure what the variable to declare to be able
to return an jpeg image
This seems so simple, I just can't understand why I can't get my head around
this.
Any ideas?
Thanks in advance