any insights would be appreciated!
--
Message posted via http://www.accessmonster.com
--
RuralGuy (RG for short) aka Allan Bunch MS Access MVP - acXP WinXP Pro
Please post back to this forum so all may benefit.
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-modules/200711/1
here's the code I am using to open the form, the calcs form is a calculator
and the prices is a small pop up I am using to pop one field of the calcs
form... I am afraid that I don't know what you mean by "you can not look at
the <ALT> key without also having a standard key"
Select Case KeyCode
Case 111, 191 'Divide
KeyCode = 0
Me.hiddensym1 = "/"
DoCmd.GoToControl "2"
Case 106 'Multiply
KeyCode = 0
Me.hiddensym1 = "*"
DoCmd.GoToControl "2"
Case 107 'Addition
KeyCode = 0
Me.hiddensym1 = "+"
DoCmd.GoToControl "2"
Case 109, 189 'Minus
KeyCode = 0
Me.hiddensym1 = "-"
DoCmd.GoToControl "2"
Case 32 'Space+
KeyCode = 0
CloseCalcsForm
End Select
If Shift = 4 Then
With Me.ActiveControl
.SelStart = 0
.SelLength = Len(.Text)
End With
DoCmd.OpenForm "StockPricesPopUp"
End If
Is there a way around this?
--
--
pubdude2003 wrote:
>yep, I just trapped another key and it works fine... just something about the
>Alt key trap... weird eh? whoops, gave away my Canadian status there....
>
>Is there a way around this?
--
thanks for letting me know about the Alt key
pubdude2003 wrote:
>thanks for looking at my post ruralguy... I think I will just open this form
>with a trapped Ctrl key instead... seems to work fine
>
>thanks for letting me know about the Alt key
--
RuralGuy (RG for short) aka Allan Bunch MS Access MVP - acXP WinXP Pro
Please post back to this forum so all may benefit.
Message posted via http://www.accessmonster.com