Re: list a field based on a date
- From: "Lila" <remove_lilahayes@xxxxxxxxxxx>
- Date: Wed, 3 May 2006 17:37:16 -0700
The first one gives the same syntax error, but your second one works great!
"John Spencer" <spencer4@xxxxxxxxxxx> wrote in message
news:44593DB7.4F64DE47@xxxxxxxxxxxxxx
Would this work for you?& " "
Owner: IIf(Info_SaleDate <= #10/31/2003#,[Info_NewOwner], [Info_FirstName]
& [Info_LastName])have
If Info_NewOwner _NEVER_ has a value if Info_FirstName or Info_LastName do
a value then, you could even usebefore
Owner: NZ(Info_NewOwner,[Info_FirstName] & " " & [Info_LastName])
Lila wrote:
I have a table that is a list of contacts.
Info_FirstName
Info_LastName
Info_NewOwner
Info_SaleDate
I need to create a query that shows the name and the sale date. The name
needs to show Info_FirstName, Info_LastName if the Info_SaleDate is
I've10/31/2003 and the Info_NewOwner if Info_SaleDate is after 10/31/2003.
I created a query and in the Field I wrote
Owner: IIf(Between Date(10/31/2003) And ( ) [Info_SaleDate]),
[Info_NewOwner], ([Info_FirstName] & " " & [Info_LastName]))
But I get an error The expression you entered contains invalid syntax.
whattried about a dozen different ways, but I still get the same message,
am I doing wrong?
--
Lila
.
- Follow-Ups:
- Re: list a field based on a date
- From: John Spencer
- Re: list a field based on a date
- References:
- list a field based on a date
- From: Lila
- Re: list a field based on a date
- From: John Spencer
- list a field based on a date
- Prev by Date: Re: yet another calculated control/query/table problem :(
- Next by Date: Re: Append Query on Linked Tables corrupting database
- Previous by thread: Re: list a field based on a date
- Next by thread: Re: list a field based on a date
- Index(es):
Relevant Pages
|