Hi Guys,
I have a access 2003 database that I am creating for arciving plant details.
I have a bound object field that stores a jpeg imige of the plant and displays this when the appropiate record is selected in the database. (This all works just fine).
What I need to do now is to have a buton that when clicked, displays a larger or full size version of the picture but ONLY the picture for the selected record.
Here is the basic setup of my Database:
I have a main form (which displays the name of the database in a label box on the form header) and in the detail section, I have a hidden ID field and a tab control. The Tab contol has 3 pages, Page 1 displays the main data fields for the selected record, Page 2 is a memo field (called General notes) and page 3 is another memo field (called propigation notes).
On the tab control - Page 1, there is also another tab control that has two pages to display any images that are stored of the selected record. Page 1 is to show image 1 and page two is to display image 2 (that is if there are associated images stored).
Also on each of the pages is a button, that when clicked, opens a popup form which displays a full size version of the picture currently being shown in the 2nd tab page.
And this is where it goes wrong - if I click the button wlaying record 1 in the database it all works fine. Then if I navigate to record 2 in the database, the correct picture is displayed in the tab box bound field but if i then click on the button to display a larger image, it still displays the image for record 1 insted of the correct pic for what ever record number you are looking at. in short, I dont think the popup is refreshing or selecting the correct image.
I know this sounds all complicated and I hope that I have explained it as well as I could so any help or suggestion would be very gratefully accepted. If it would help, I can send you the database it's just over 3mb zipped.
Thanks for taking the time to read this post.
My thanks in advance,
Kenny
I have a access 2003 database that I am creating for arciving plant details.
I have a bound object field that stores a jpeg imige of the plant and displays this when the appropiate record is selected in the database. (This all works just fine).
What I need to do now is to have a buton that when clicked, displays a larger or full size version of the picture but ONLY the picture for the selected record.
Here is the basic setup of my Database:
I have a main form (which displays the name of the database in a label box on the form header) and in the detail section, I have a hidden ID field and a tab control. The Tab contol has 3 pages, Page 1 displays the main data fields for the selected record, Page 2 is a memo field (called General notes) and page 3 is another memo field (called propigation notes).
On the tab control - Page 1, there is also another tab control that has two pages to display any images that are stored of the selected record. Page 1 is to show image 1 and page two is to display image 2 (that is if there are associated images stored).
Also on each of the pages is a button, that when clicked, opens a popup form which displays a full size version of the picture currently being shown in the 2nd tab page.
And this is where it goes wrong - if I click the button wlaying record 1 in the database it all works fine. Then if I navigate to record 2 in the database, the correct picture is displayed in the tab box bound field but if i then click on the button to display a larger image, it still displays the image for record 1 insted of the correct pic for what ever record number you are looking at. in short, I dont think the popup is refreshing or selecting the correct image.
I know this sounds all complicated and I hope that I have explained it as well as I could so any help or suggestion would be very gratefully accepted. If it would help, I can send you the database it's just over 3mb zipped.
Thanks for taking the time to read this post.
My thanks in advance,
Kenny