[AccessD] Key Preview Problem

Rocky Smolin - Beach Access Software bchacc at san.rr.com
Wed Mar 15 19:39:38 CST 2006


O. OK.  Thanks for the referral.

Best,

Rocky


John Colby wrote:
> Work to be done.  He called me last night, asked where I was and when I said
> CT he said he needed someone local (San Diego).  I gave him your info and he
> hung up.  I didn't get his name/phone. 
>
>
> John W. Colby
> www.ColbyConsulting.com 
>
>
> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com
> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin -
> Beach Access Software
> Sent: Wednesday, March 15, 2006 7:35 PM
> To: Access Developers discussion and problem solving
> Subject: Re: [AccessD] Key Preview Problem
>
> No.  Needing work to do or having work to be done?
>
> Rocky
>
>
> John Colby wrote:
>   
>> Rocky,
>>
>> Did someone call you last night re work?
>>
>> John W. Colby
>> www.ColbyConsulting.com
>>
>>
>> -----Original Message-----
>> From: accessd-bounces at databaseadvisors.com
>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky 
>> Smolin - Beach Access Software
>> Sent: Wednesday, March 15, 2006 6:13 PM
>> To: Access Developers discussion and problem solving
>> Subject: [AccessD] Key Preview Problem
>>
>> Dear List:
>>
>> I have a tab form with four tabs.  I want to set the focus in each tab 
>> by pressing the functions keys F5, F6, F7, F8.  The KeyDown event is
>>     
> coded:
>   
>> Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
>>
>>     Select Case KeyCode
>>         Case 116
>>             Me.pgOrderNumber.SetFocus
>>             KeyCode = 0
>>         Case 117
>>             Me.pgReceiving.SetFocus
>>             KeyCode = 0
>>         Case 118
>>             Me.pgProcessing.SetFocus
>>             KeyCode = 0
>>         Case 119
>>             Me.pgShipping.SetFocus
>>             KeyCode = 0
>>     End Select
>>    
>> End Sub
>>
>> The first time I press one of the four function keys it works.  Then, 
>> it quits.  (Like if I press F7 the first time is sets the focus to 
>> pgProcessing, the second time it invokes the spell checker.)
>>
>> Does anyone know why this would happen?
>>
>> MTIA
>>
>> Rocky
>>
>> --
>> Rocky Smolin
>> Beach Access Software
>> 858-259-4334
>> www.e-z-mrp.com
>>
>> --
>> AccessD mailing list
>> AccessD at databaseadvisors.com
>> http://databaseadvisors.com/mailman/listinfo/accessd
>> Website: http://www.databaseadvisors.com
>>
>>   
>>     
>
> --
> Rocky Smolin
> Beach Access Software
> 858-259-4334
> www.e-z-mrp.com
>
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>
>   

-- 
Rocky Smolin
Beach Access Software
858-259-4334
www.e-z-mrp.com




More information about the AccessD mailing list