By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,456 Members | 1,524 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,456 IT Pros & Developers. It's quick & easy.

Riportare un record precedente

P: n/a
Salve, stÚ provando ad usare la funzione DlookUp su una maschera
continua, ma mi ci sto legando...

nella tabella Gestionecopie ho i campi:
IDCopie
LetturaPrec
Lettura

Ogni volta che aggiungo un record vorrei che,il campo LetturaPrec
avesse valore del campo Lettura nel record precedente
es:
IDCaopie LetturaPrec Lettura
1 0 1500
2 1500 29000
3 29000 60000
4 ? new

mi potete aiutare, grazie...

Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Rog
MaVco,

You may have to refine this, but basically you need to perform 2 steps:

(1) In the AfterUpdate event of the Lettura textbox, save the entry in
the tag property, e.g. Me!Lettura.Tag = Me!Lettura
(2) In the BeforeInsert event of the form, move the tag you saved to
the LetturaPrec textbox: Me!LetturaPrec = Me!Lettura.Tag

Rog

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.