theinviter
Registered User.
- Local time
- Today, 14:13
- Joined
- Aug 14, 2014
- Messages
- 240
hi guys
need help
i have qurey and wanna to show record between 2 date (start date and end date) but the data entered in the field contain date and time. so is there i way to show the record by entering the start date in one field and time in another filed and End date in new filed and Time in another filed and then filter the record based on date and time entered (between).
tried this code but just filter date;
start date = >=[Forms]![Patient_Information]![Date_from] Or Nz(<=[Forms]![Patient_Information]![Date_from],"")=""
End date = <=[Forms]![Patient_Information]![date_To] Or Nz(<=[Forms]![Patient_Information]![date_To],"")=""
how to make a code for time.
need help
i have qurey and wanna to show record between 2 date (start date and end date) but the data entered in the field contain date and time. so is there i way to show the record by entering the start date in one field and time in another filed and End date in new filed and Time in another filed and then filter the record based on date and time entered (between).
tried this code but just filter date;
start date = >=[Forms]![Patient_Information]![Date_from] Or Nz(<=[Forms]![Patient_Information]![Date_from],"")=""
End date = <=[Forms]![Patient_Information]![date_To] Or Nz(<=[Forms]![Patient_Information]![date_To],"")=""
how to make a code for time.