Re: Need to simplify Switch()
- From: Marshall Barton <marshbarton@xxxxxxxxxx>
- Date: Tue, 24 Jan 2006 16:32:33 -0600
As far as I can tell, my suggested expression will deal with
those examples. Maybe a set of rules to follow would explan
it better than the examples. OTOH, if you pasted the
expression that you tried along with the result it produced
and explained what is wrong with the result, I might be able
to figure it out.
--
Marsh
MVP [MS Access]
Nick X <Nicknnator (no) @ (spam) aol.123com> wrote:
>Thanks, unfortunately I haven't been able to get that last solution to work
>properly. Allow me to give some examples of how the final product should
>read. (These would be different records, just similar data):
>
>> >([strSingleAddress] Is Not Null [Street] Is Not Null And [From] Is Not Null And
>> >[To] Is Not Null And [Street Address or Location] Is Not Null,
>> >[strSingleAddress] & " " & [Street]
>> >& " between " & [From] & " and " & [To] & " - " & [Street Address or
>> >Location]
>
>Example: 123 N Main St between First St and Second St - on east side of street
>
>>[strSingleAddress] Is Null
>>And [Street] Is Not Null And [From] Is Not Null And [To] Is Not Null And
>>[Street Address or Location] Is Null,[Street] & " between " & [From] & " and
>>" & [To]
>
>Example: N Main St between First St and Second St
>
>>[strSingleAddress] Is Null And [Street] Is Not
>>Null And [From] Is Not Null And [To] Is Null And
>>[Street Address or Location] Is Not Null,[Street] & " at the corner of " & [From]>& " - " & [Street Address or Location]
>
>Example: N Main St at the corner of First St - NW Corner
.
- Follow-Ups:
- Re: Need to simplify Switch()
- From: Nick X
- Re: Need to simplify Switch()
- References:
- Re: Need to simplify Switch()
- From: Marshall Barton
- Re: Need to simplify Switch()
- From: Marshall Barton
- Re: Need to simplify Switch()
- From: Nick X
- Re: Need to simplify Switch()
- Prev by Date: Re: Faxing form report from access
- Next by Date: Calculating Overtime on report
- Previous by thread: Re: Need to simplify Switch()
- Next by thread: Re: Need to simplify Switch()
- Index(es):