Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sql Problem......

Status
Not open for further replies.

chiuso2

MIS
Feb 22, 2002
58
Hi there,
I made a form based on a query.
The form contains 2 fields, Name and Address.
Into the query's field "Name" condiction i wrote:Iif(IsNull(Forms!Form1!Name;"*";forms!form1!name)
I would like to see all the Names if Forms!Form1!Name Is null, but it doesn't work.
It works if i write like "*", directly into the query...
but i need to do it from the form!!
Thanks in advance for any suggestion...and sorry for my bad
English.
Mario from Italy

 
Try this:

IIf(IsNull(Forms!Form1!Name),"*",forms!form1!name)

Let me know if it works.
Thanks
 
Hi chrismerry..
Thanks for your suggestion..but it doesn't work.
I already Tryied the same solution.....
Mario
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top