DaniBoy
Registered User.
- Local time
- Today, 22:37
- Joined
- Nov 18, 2001
- Messages
- 174
Hello,
I have a problem with Dlookup, I am triying to bring in a value to my Clients form from a table called "Abonos", the field that I need is "AboCantidad" and I need it to be the same "ClienteID" that I am viewing on the form. I have tried all kinds of ways to do it but it does not work with the criteria. It works fine without the criteria.
=DLookUp("[AboCantidad]","Abonos","[ClienteID]"="&[ClienteID]&")
Also can I bring a value from a queryto a form with dlookup. I try and try, cut and paste and nothing. The book does not talk about qrys onle tables.
Another thing, do the tables have to be related to get the info?
Bradd helped me with it but I just cant get it to work.
Thanks
DaniBoy
I have a problem with Dlookup, I am triying to bring in a value to my Clients form from a table called "Abonos", the field that I need is "AboCantidad" and I need it to be the same "ClienteID" that I am viewing on the form. I have tried all kinds of ways to do it but it does not work with the criteria. It works fine without the criteria.
=DLookUp("[AboCantidad]","Abonos","[ClienteID]"="&[ClienteID]&")
Also can I bring a value from a queryto a form with dlookup. I try and try, cut and paste and nothing. The book does not talk about qrys onle tables.
Another thing, do the tables have to be related to get the info?
Bradd helped me with it but I just cant get it to work.
Thanks
DaniBoy
Last edited: