fat controller
Slightly round the bend..
- Local time
- Today, 20:11
- Joined
- Apr 14, 2011
- Messages
- 758
Is there a way to create a text string that ignores nulls?
I have the following fields
Zone1
Zone2
Zone3
Zone4
Zone5
Zone6
These are set to return a number as text (so 1, 2, 3 etc), or Null as appropriate.
What I am trying to achieve is that the text stored is concatenated into a string (TextOut), so if:
Zone1 = 1
Zone2 = Null
Zone3 = 3
Zone4 = 4
Zone5 = Null
Zone6 = Null
TextOut to show 1 3 4 and ignore the nulls. How would I achieve this?
EDIT - Would IIf(Is NotNull(zone1 & zone2 [etc]) work?
I have the following fields
Zone1
Zone2
Zone3
Zone4
Zone5
Zone6
These are set to return a number as text (so 1, 2, 3 etc), or Null as appropriate.
What I am trying to achieve is that the text stored is concatenated into a string (TextOut), so if:
Zone1 = 1
Zone2 = Null
Zone3 = 3
Zone4 = 4
Zone5 = Null
Zone6 = Null
TextOut to show 1 3 4 and ignore the nulls. How would I achieve this?
EDIT - Would IIf(Is NotNull(zone1 & zone2 [etc]) work?
Last edited: