Recent content by RomeoJuliet

  1. R

    accelerator key

    That's great thanks Mike; I have it working well now. Mike.
  2. R

    Keypad for POS application

    Many thanks Shadow, all working perfectly now. I wouldn't have got there without you. Mike.
  3. R

    Keypad for POS application

    Thank you Shadow! I'll try this tomorrow. Mike.
  4. R

    Keypad for POS application

    No problem! See attached - the form in question is KeypadFrm. Thanks Mike.
  5. R

    Keypad for POS application

    Shadow, I've replaced Or so that now I have (for instance) "Case vbKey1, vbKeyNumpad1". However, the result is the same. ... and yes, each button definitely has a click event; the form has been in use for a while. Thanks for all your help - any more would be welcomed! Mike.
  6. R

    Keypad for POS application

    Thanks Shadow. This is how my code looks now: Private Sub Form_KeyPress(KeyAscii As Integer) Select Case KeyAscii Case vbKey1 Or vbKeyNumpad1 Me.Command0_Click Case vbKey2 Or vbKeyNumpad2 Me.Command1_Click Case vbKey3 Or vbKeyNumpad3...
  7. R

    Keypad for POS application

    Thanks Coach, but as I understand it the example you've given is taking click events and producing keyboard equivalents, which is the reverse of what I'm trying to achieve. ... or am I missing something obvious? Thanks Mike.
  8. R

    Keypad for POS application

    I am writing a POS application and need to make an on-screen keypad more efficient. I want to allow the user to 'click' each of the number buttons by pressing an actual number key on the keyboard, as well as by clicking the button controls. I have changed KeyPreview to Yes in the form's...
  9. R

    accelerator key

    I am designing a keypad, with command buttons cmd0, cmd1 etc having captions 0, 1 and so on. Is it possible to extend the above idea so that (only on this form), pressing "0" on the (physical) keyboard's numpad will trigger the On Click event for cmd0, pressing "1" will trigger the On Click...
  10. R

    Problem with expressions in a Totals Query

    Success! Thank you Brian for spelling out what Paul was saying, and thanks Paul for helping me along the way. Mike.
  11. R

    Problem with expressions in a Totals Query

    Thanks everyone, I'll give that a shot tonight, gotta dash now (been failing to get the db small enough to upload). Mike.
  12. R

    Problem with expressions in a Totals Query

    pb, the full SQL (following your suggestions) is: Thanks! Mike.
  13. R

    Problem with expressions in a Totals Query

    ... so Mailman, would that look like GROUP BY [Orders Qry].OrderID, PP_Gross, PP_Charges, PP_nett... ? I've tried that and get the same error: "You tried to execute a query that does not include the specified expression ‘IIf([PaymentType]="PayPal",[SumOfExtendedPrice],Null)’ as part of an...
  14. R

    Problem with expressions in a Totals Query

    I tried that and - you guessed it - the same error ocurred for the last expression, so I summed that too. Now, I have a new problem! The error reads: "Subqueries cannot be used in the expression (Iif([PaymentType]="PayPal",[PP_Gross]*0.034+0.2,0))." Subqueries...?
  15. R

    Problem with expressions in a Totals Query

    Thanks Mailman, but could you show me what the SQL should look like? I'm new to this... :o pbaldy, I tried your suggestion and this looks like part of the answer, since the interpreter has got a bit further: now, I get ''You tried to execute a query that does not include the specified...
Back
Top Bottom