Hi, all! I hope one of you can help me. I am trying to sort by a field [Budgetot]from a Dialog Box VBA to a form. It will sort in ascending order. However, I have tried all kinds of ways and I can't get it to sort in Descending Order. I thought that I just needed to add the string "DESC" after the sort field. But, "DESC" doesn't get transferred to the Form's OrderBy Property - only the sort field [Budgetot]. Any ideas? Thanks!
DoCmd.OpenForm " FRM_3_8_2007_Budget_Form ", acNormal, acEdit, Cri
'Sort by Budget Total or Budget Remaining'
With Forms!FRM_3_8_2007_Budget_Form
.OrderBy = strOrder
.OrderByOn = True
DoCmd.OpenForm " FRM_3_8_2007_Budget_Form ", acNormal, acEdit, Cri
'Sort by Budget Total or Budget Remaining'
With Forms!FRM_3_8_2007_Budget_Form
.OrderBy = strOrder
.OrderByOn = True