Re: Which field had the focus

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Graham R Seach (gseach_at_NOSPAMpacificdb.com.au)
Date: 03/05/05


Date: Sun, 6 Mar 2005 00:02:16 +1100

Estêvão,

In addition to Doug's suggestion, the Screen object also has a
PreviousControl property. But you have to take care when there is NO
previous control.

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
---------------------------

"Estêvão Raminhos" <estevao.raminhos@sapo.pt> wrote in message
news:42296c42$0$22233$a729d347@news.telepac.pt...
> Hi all,
>
> I have a form with various fields to be filled in with numeric values.
> When I push a certain command button I want to change the value of the
> field (formula) where the cursor was before (field which had the focus).
> Any ideas?
>
> TIA
>
> Estêvão Raminhos
> estevao.raminhos@sapo.pt
>
>



Relevant Pages

  • Re: Hide all controls inside another control
    ... The only container control that will work in a case like this is a Tab ... Microsoft Access 2003 VBA Programmer's Reference ... >> Regards, ... >> Graham R Seach ...
    (microsoft.public.access.forms)
  • Re: Happy New Year
    ... Best to you, your wife and boy in the coming year, dear Graham.... ... Take care - will talk again soon. ... Very best regards ... Graham ...
    (sci.geo.geology)
  • Re: ot Roland Oklahoma Forrced to stop enforcement on I-40
    ... Typically they'd add mission spirits with a spirit of fear between each one to help prevent self-exorcism from succeeding. ... I only found those towns because I would meet members of families while traveling in Scandinavia or other places that Germans go when they go abroad and would there from get invitations to visit such towns Germany. ... care to give the money to poor people who don't care. ... We believe that Satan's spiritual princes inhabit them and control them. ...
    (rec.outdoors.rv-travel)
  • Re: ot Roland Oklahoma Forrced to stop enforcement on I-40
    ... Typically they'd add mission spirits with a ... care to give the money to poor people who don't care. ... We win by informing others. ... demons) inhabit them and control them. ...
    (rec.outdoors.rv-travel)
  • Re: multiple criteria for finding record
    ... Regards, ... Graham R Seach ... > further data entry in a related junction table should simply use the ... It seems that a macro with the specified condition ...
    (microsoft.public.access.forms)