M
Mike Thomas
This should be a familiar one to somebody.
I have a drop down list in a screen (receipts) populated as per the SQL
clause below
SELECT Locations.lopk, Locations.Location
FROM Locations ORDER by location
I want to add a where clause as below so the the user cannot chose an
inactive location from the open list
SELECT Locations.lopk, Locations.Location
FROM Locations ORDER by location
WHERE (((Locations.Inactive)=False));
Problem is, the inactive locations for old receipts now do not show up in
the list box. The box is now blank when the users ladns on a receipt with a
now inactive location.
So, I want the location code to be displayed in the dd list box, eve if it
is inactive, but I do not want other inactive locations to be shown in the
list when the user opens it.
Any ideas?
Mike Thomas
I have a drop down list in a screen (receipts) populated as per the SQL
clause below
SELECT Locations.lopk, Locations.Location
FROM Locations ORDER by location
I want to add a where clause as below so the the user cannot chose an
inactive location from the open list
SELECT Locations.lopk, Locations.Location
FROM Locations ORDER by location
WHERE (((Locations.Inactive)=False));
Problem is, the inactive locations for old receipts now do not show up in
the list box. The box is now blank when the users ladns on a receipt with a
now inactive location.
So, I want the location code to be displayed in the dd list box, eve if it
is inactive, but I do not want other inactive locations to be shown in the
list when the user opens it.
Any ideas?
Mike Thomas