Use of Alt-G to open a form from a child form

  • Thread starter Thread starter Robert Wardlow
  • Start date Start date
R

Robert Wardlow

Hello All;

I am working with an application created by someone else.
There is a form with a child subform on it. If you select
a record on the sub form and press Alt-G it opens another
form with the selected record on it.

I don't know what is happening. I don't see a macro or VBA
code attached to an event to make this happen. Obviously
someone defined which form to open but I don't know where.
Is this some kind of keyboard macro or special keyboard
assigment? Is this a function of Access?

I need to create this kind of functionality in another
form for the client but I am baffled. Short of magic I
can't figure out what makes it work.

Can someone help?

Thanks in advance.

Bob Wardlow
 
Look for a macro named AutoKeys.

Alternatively, search the modules of these forms for the name of the form
that gets opened. It may be in a KeyDown event.
 
Robert Wardlow said:
Hello All;

I am working with an application created by someone else.
There is a form with a child subform on it. If you select
a record on the sub form and press Alt-G it opens another
form with the selected record on it.

I don't know what is happening. I don't see a macro or VBA
code attached to an event to make this happen. Obviously
someone defined which form to open but I don't know where.
Is this some kind of keyboard macro or special keyboard
assigment? Is this a function of Access?

I need to create this kind of functionality in another
form for the client but I am baffled. Short of magic I
can't figure out what makes it work.

Can someone help?

Thanks in advance.

Bob Wardlow

Is there a command button on the form with 'g' or 'G' as its "hot
key" -- the key that is underlined in the button's caption? Is there
maybe a function in a standard module that receives a form name as an
argument, and opens that form? Such a function could be called from an
event without there ever being a macro or event procedure.
 
Back
Top