My Assistant
![]() ![]() |
|
|
Mar 29 2006, 03:18 AM
Post
#1
|
|
|
UtterAccess Addict Posts: 168 From: Croatia |
Hello everyone,
I have table OdabranaOprema with column Ukupno.I have made Query - OdabranaOprema Query with which I make sum of numbers column Ukupno.I would like with Command button pull the result of this query and put it in txtBrojModula,I have tried with this but something wrong, can someone help me, thank you in advance, lngResult = 0 txtBrojModula.SetFocus lngResult = Nz(DLookup("[OdabranaOprema].[Ukupno]", "[OdabranaOprema Query ]"), 0) txtBrojModula.Value = lngResult |
|
|
|
Mar 29 2006, 04:19 AM
Post
#2
|
|
|
UtterAccess VIP Posts: 7,438 From: Oadby Leics, UK |
You have used inconsistent names for your query in the dlookup.
|
|
|
|
Mar 29 2006, 04:52 AM
Post
#3
|
|
|
UtterAccess VIP Posts: 1,097 From: Zagreb - Croatia |
Hello Natasa!
Look at "DemoUkupnoA2000.mdb", (attachment), I think it is what you need.
Attached File(s)
|
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 18th June 2013 - 07:01 PM |