PC Review


Reply
Thread Tools Rate Thread

Allen Browne

 
 
123
Guest
Posts: n/a
 
      18th Feb 2004
Thank you for your help and answer:



How to use DlookUp to find last value entered in the field and bigest than 0



I take this function from Your site:

=Dlookup (“Fieldname”,”tablename”,”Fieldname” = I don’t know how to convert
the above line…

because the the field my contain null value



thank you



 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      19th Feb 2004
If you are trying to match a numeric field with the value of a text box that
could be null, use Nz():
=DLookup("MyField", "MyTable", "Field1 = " & Nz([MyTextBox], 0))

If it is not a numeric field, see:
http://allenbrowne.com/casu-07.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"123" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Thank you for your help and answer:
>
> How to use DlookUp to find last value entered in the field and bigest than

0
>
> I take this function from Your site:
> =Dlookup (Fieldname,tablename,Fieldname = I dont know how to

convert
> the above line
>
> because the the field my contain null value



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Allen Browne Audit Log David Microsoft Access 2 18th Apr 2005 10:51 PM
Allen Browne / Filter your report by more criteria =?Utf-8?B?ZGs=?= Microsoft Access 6 24th Jul 2004 06:31 PM
Multiple Users, Problem with 1 fao Allen Browne =?Utf-8?B?U2hlaWxhIEQ=?= Microsoft Access 1 9th Jan 2004 02:56 PM
Allen Browne's Access Tips - change of address Allen Browne Microsoft Access Forms 1 21st Oct 2003 03:48 PM
Allen Browne's Access Tips - change of address Allen Browne Microsoft Access 1 21st Oct 2003 03:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:03 AM.