mcclunyboy
Registered User.
- Local time
- Today, 11:01
- Joined
- Sep 8, 2009
- Messages
- 292
Hi,
I have a drop down list populated by a query as below:
I would like this list to still be available but the default value to select the closest id for the record with the name_start_date that is nearest the current date (but in the future).
I hope that makes sense, I've been experimenting with the Default Value property and the expressions using Date Diff but I am quite literally stuck!..pesky!
Thanks
I have a drop down list populated by a query as below:
Code:
SELECT id, name, name_start_date FROM tbl_name ORDER BY name_start_date DESC;
I hope that makes sense, I've been experimenting with the Default Value property and the expressions using Date Diff but I am quite literally stuck!..pesky!
Thanks
Last edited: