Thanks Stefan,
I am doing an export query on a table where I can not modify the data on the
table (thus I can not update), I can only modify the data that is being
exported to an excel doc.....any thoughts?
>hi,
>
[quoted text clipped - 6 lines]
>mfG
>--> stefan <--
Stefan Hoffmann - 30 Nov 2006 16:43 GMT
hi,
> I am doing an export query on a table where I can not modify the data on the
> table (thus I can not update), I can only modify the data that is being
> exported to an excel doc.....any thoughts?
Use the IIf's as columns:
SELECT IIf(IsNull(A) AND NOT IsNull(B), B, A) AS A,
IIf(IsNull(A) AND NOT IsNull(B), NULL, B) AS B
FROM Table
mfG
--> stefan <--
missinglinq - 30 Nov 2006 16:43 GMT
In your previous post about this you ask for an IF...Then hack:
Private Sub Command4_Click()
If IsNull(Me.A.Value) And Not IsNull(Me.B.Value) Then
Me.A.Value = Me.B.Value
Me.B.Value = ""
End If
End Sub

Signature
There's ALWAYS more than one way to skin a cat!
Answers/posts based on Access 2000