SpeedThink
Registered User.
- Local time
- Today, 09:43
- Joined
- Mar 10, 2005
- Messages
- 15
Appreciate assistance concerning the following problem;
Background: Upon clicking on an option button to sort data in ascending order within listbox, List2, the data
is not sorted correctly. For example, the order of the KarianceCurrent column is
$1991.75, $1.00, $1.45, $1.68, $1.81, $10,000.05 which is incorrect!
Row Source for Listbox, List2
SELECT qryPopulateListbox.AcctOrig, qryPopulateListbox.AcctCurrent, qryPopulateListbox.AcctNo, qryPopulateListbox.MRN, qryPopulateListbox.KarianceCurrent, qryPopulateListbox.Balance, qryPopulateListbox.DischDate, qryPopulateListbox.ExpReimbCurrent, qryPopulateListbox.DateAssigned, qryPopulateListbox.StatusCode
FROM qryPopulateListbox
ORDER BY qryPopulateListbox.AcctNo;
qryPopulateListbox
SELECT tblHospVarRpt.AcctOrig, tblHospVarRpt.AcctCurrent, tblHospVarRpt.AcctNo, tblHospVarRpt.MRN, Format(tblHospVarRpt.KarianceCurrent,"Currency") AS KarianceCurrent, Format(tblHospVarRpt.BalanceCurrent,"Currency") AS Balance, tblHospVarRpt.DischDate, Format(tblHospVarRpt.ExpReimbCurrent,"Currency") AS ExpReimbCurrent, tblHospVarRpt.DateAssigned, tblHospVarRpt.StatusCode
FROM tblHospVarRpt
WHERE (((tblHospVarRpt.AssignedTo) In (select employee_id from Employee_Access_List)));
Background: Upon clicking on an option button to sort data in ascending order within listbox, List2, the data
is not sorted correctly. For example, the order of the KarianceCurrent column is
$1991.75, $1.00, $1.45, $1.68, $1.81, $10,000.05 which is incorrect!
Row Source for Listbox, List2
SELECT qryPopulateListbox.AcctOrig, qryPopulateListbox.AcctCurrent, qryPopulateListbox.AcctNo, qryPopulateListbox.MRN, qryPopulateListbox.KarianceCurrent, qryPopulateListbox.Balance, qryPopulateListbox.DischDate, qryPopulateListbox.ExpReimbCurrent, qryPopulateListbox.DateAssigned, qryPopulateListbox.StatusCode
FROM qryPopulateListbox
ORDER BY qryPopulateListbox.AcctNo;
qryPopulateListbox
SELECT tblHospVarRpt.AcctOrig, tblHospVarRpt.AcctCurrent, tblHospVarRpt.AcctNo, tblHospVarRpt.MRN, Format(tblHospVarRpt.KarianceCurrent,"Currency") AS KarianceCurrent, Format(tblHospVarRpt.BalanceCurrent,"Currency") AS Balance, tblHospVarRpt.DischDate, Format(tblHospVarRpt.ExpReimbCurrent,"Currency") AS ExpReimbCurrent, tblHospVarRpt.DateAssigned, tblHospVarRpt.StatusCode
FROM tblHospVarRpt
WHERE (((tblHospVarRpt.AssignedTo) In (select employee_id from Employee_Access_List)));