| | |
Sorting a .mdb database by date?
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
In your code put this query before you bind it in the grid...
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
"select * from [tablename] order by datefield asc"
A conclusion is the place where you got tired of thinking. http://www.martin2k.co.uk/forums/index.php?showforum=4
http://www.a1vbcode.com/a1vbcode/vbforums/Forum3-1.aspx
http://www.developerfusion.co.uk/for...orum&ForumID=4
•
•
Join Date: Oct 2008
Posts: 20
Reputation:
Solved Threads: 0
OK great thanks got it to work. The following code worked.
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
AdHocData.RecordSource = "select * from AdHocData order by StartDateTime asc"
![]() |
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Wave In/out APIs
- Next Thread: Database Grid View BUT WHICH ONE???
Views: 1675 | Replies: 14
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp c++ calculator cd cells.find click client code college column component connection copy creat ctrl+f data database datareport date delete dissertations dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver struct subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






