cyberpac9
Registered User.
- Local time
- Today, 18:06
- Joined
- Jun 6, 2005
- Messages
- 70
i have two forms - frmOne and frmTwo. frmOne opens frmTwo with this code:
on frmTwo i have the property for Order By set to "frmTwo.l_date DESC" but it never orders it by the date DESC....i've even tried to set it using VBA and i can't get it to work properly...
suggestions?
Code:
intVar = Me!l_id
intRoom = Me!l_room
stDocName = "l_surveys"
stLinkCriteria = "[l_id]=" & "'" & intVar & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria
suggestions?