I have a split form that displays the records from a table.
In the data tab on the property sheet for the form I have the record source as the table I want to display TBExpenses.
In the "Order by" property I have TBExpenses.dtmdate desc
This is not working. Whatever I put in "Order By" I always get the order as ascending autonum. Am I missing something? I read somewhere you have to set OrderByOn = True. I'm not sure where this is although I have tried Forms.OrderByOn = True and Me.Forms.OrderByOn =True in the open and load events of the form.
I have the following
Record Source - TBExpenses
record Type - dynaset
fetch Details - Yes
Filter - blank
Filter on Load - No
Order By - TBExpenses.dtmdate desc
Order By o load - yes
wait for processing - no
Allow additions - no
Allow deletions - no
Allow edits -yes
Allow filters - yes
Record Locks - no locks
H E L P !!
In the data tab on the property sheet for the form I have the record source as the table I want to display TBExpenses.
In the "Order by" property I have TBExpenses.dtmdate desc
This is not working. Whatever I put in "Order By" I always get the order as ascending autonum. Am I missing something? I read somewhere you have to set OrderByOn = True. I'm not sure where this is although I have tried Forms.OrderByOn = True and Me.Forms.OrderByOn =True in the open and load events of the form.
I have the following
Record Source - TBExpenses
record Type - dynaset
fetch Details - Yes
Filter - blank
Filter on Load - No
Order By - TBExpenses.dtmdate desc
Order By o load - yes
wait for processing - no
Allow additions - no
Allow deletions - no
Allow edits -yes
Allow filters - yes
Record Locks - no locks
H E L P !!