B
BlueWolverine
Hello,
MS ACCESS 2003 on XP PRO.
Here's what I am trying to do. I have a Fuel Card inventory. It has a
History table that knows when a fuel card was assigned and when it was
unassigned.
FCNo, Assign, Unassign.
I want to fill a form (columnar, one record shown at a time.) with the
results of one of two possibilities, with a preference.
If Assigned <> NULL and UNASSIGNED is Null Then
Display Record where this is true for that FCNo
Else if Assigned <> NULL and UNASSIGNED is <> Null then
Display Record where this is true for that FCNo
Else
Fuel Card has never been used, perhaps display a message box with that
piece of info.
endif.
IS THERE ANY GOOD WAY TO DO THIS? What I had been doing is setting up
separate queries to pull this info separately, unioning them, and then
sorting so that the form displays the right one. The problem with this is
that it becomes a read only form because we think you can't update through a
UNION query.
IDEAS?
Thanks
MS ACCESS 2003 on XP PRO.
Here's what I am trying to do. I have a Fuel Card inventory. It has a
History table that knows when a fuel card was assigned and when it was
unassigned.
FCNo, Assign, Unassign.
I want to fill a form (columnar, one record shown at a time.) with the
results of one of two possibilities, with a preference.
If Assigned <> NULL and UNASSIGNED is Null Then
Display Record where this is true for that FCNo
Else if Assigned <> NULL and UNASSIGNED is <> Null then
Display Record where this is true for that FCNo
Else
Fuel Card has never been used, perhaps display a message box with that
piece of info.
endif.
IS THERE ANY GOOD WAY TO DO THIS? What I had been doing is setting up
separate queries to pull this info separately, unioning them, and then
sorting so that the form displays the right one. The problem with this is
that it becomes a read only form because we think you can't update through a
UNION query.
IDEAS?
Thanks