Randomblink
09-12-2001, 12:37 PM
I have a form with a subform inside...
The main form holds location information.
The subform holds all the pictures of said location.
I have buttons on the main form to jump from location to location...(next record, previous record, etc.)
I have similar buttons on the subform to jump from pic to pic based on location...(also next record, etc.)
The problem is...
Let's say I am at location 9215 and I am realizing I need to add a photo for that location...I right click on the ole object field, browse to the pic and insert...
Finished, now let's say I want to look at a different location...
I click on the main form buttons and I get invalid expression entered...
I also notice that the focus is still on the pic / photo whatever...
I thought, ok...the focus needs to be moved, so I wrote in code so that when a user click on a button, the first thing the button does is setfocus to whatever form the button is on...
It still doesnt work...
Sometimes the focus just locks up on the pic I just entered...
Does someone have an idea here...?
Help please...
The main form holds location information.
The subform holds all the pictures of said location.
I have buttons on the main form to jump from location to location...(next record, previous record, etc.)
I have similar buttons on the subform to jump from pic to pic based on location...(also next record, etc.)
The problem is...
Let's say I am at location 9215 and I am realizing I need to add a photo for that location...I right click on the ole object field, browse to the pic and insert...
Finished, now let's say I want to look at a different location...
I click on the main form buttons and I get invalid expression entered...
I also notice that the focus is still on the pic / photo whatever...
I thought, ok...the focus needs to be moved, so I wrote in code so that when a user click on a button, the first thing the button does is setfocus to whatever form the button is on...
It still doesnt work...
Sometimes the focus just locks up on the pic I just entered...
Does someone have an idea here...?
Help please...