close form.. add a delay or close after event

its really annoying isnt it.. the thing is.. if you make sure there is a person in the person table..

and then open the job form and start enterin a job.. goto the passenger form.. then leave the search box blank.. and then tab.. then in the little box next to it.. type a number of an id person.. then tab..

it will happily send the id to the job form and close the passenger form..

that is using the after update event however, not the lost focus..

its annoyin
 
I'll edit it tomorrow and do it the way I would do it tomorrow

I also removed the list box record source.

if it aint been solved by time I get home from work I'll take it to bits if I have too

mick
 
thanks..

i guess ill keep messin with it until then
 
antonyx said:
its really annoying isnt it.. the thing is.. if you make sure there is a person in the person table..

and then open the job form and start enterin a job.. goto the passenger form.. then leave the search box blank.. and then tab.. then in the little box next to it.. type a number of an id person.. then tab..

it will happily send the id to the job form and close the passenger form..

that is using the after update event however, not the lost focus..

its annoyin

Never liked using the lost focus for something like this I'll edit it so the other form contols things
 
Work Perfectly if I add a Cammand button to close the form.
 
ok so just put a button in the form that they tab too.. a close button.. and put the rules in there???
 
I'll Have a go tonight see it I can get it working the way you intended but I think It's the onfocus event as if memory serves me right they are low level events along with the onexit event which I Tried as well.

IE Lost focus fires but don't stop till another control has the focus which as youtr trying to close the form make access run to mummy sort of not 100% they maybe somebody will put me right

later mick
 
Last edited:
i used a close button and it is working now by the way
 

Users who are viewing this thread

Back
Top Bottom