Hi,
I have encountered several issues regarding the row source of a listbox. For example in my current listbox, it has row source like this:
Now when I tried to modify the rowsource, i.e deleting the WHERE clause so the row source would be like
and save the form (CTRL+S), the row source automatically revert back to the old one. Why is this happening? Is there any chance that the form is corrupted?
I have encountered several issues regarding the row source of a listbox. For example in my current listbox, it has row source like this:
Code:
SELECT TblCustOrderUnit.OrderUnitID, TblCustOrderUnit.OrderID, TblCustOrderUnit.UnitID, TblUnits.BSUnitID, TblCustOrderUnit.CompletionDate, TblCustOrderUnit.SerialNumber
FROM TblUnits INNER JOIN TblCustOrderUnit ON TblUnits.UnitID = TblCustOrderUnit.UnitID
WHERE (((TblCustOrderUnit.OrderID)=[orderlist].[value]));
Now when I tried to modify the rowsource, i.e deleting the WHERE clause so the row source would be like
Code:
SELECT TblCustOrderUnit.OrderUnitID, TblCustOrderUnit.OrderID, TblCustOrderUnit.UnitID, TblUnits.BSUnitID, TblCustOrderUnit.CompletionDate, TblCustOrderUnit.SerialNumber
FROM TblUnits INNER JOIN TblCustOrderUnit ON TblUnits.UnitID = TblCustOrderUnit.UnitID;
and save the form (CTRL+S), the row source automatically revert back to the old one. Why is this happening? Is there any chance that the form is corrupted?