I keep hitting this problem time and time again and it’s driving me to distraction.
Here’s What I have:
A continuous form with the RecordSource as a linked SQL table (QLTblHolidays ) that contains a date field (MyDate).
Here’s what I want
1. The date displayed in British format e.g. 01/01/2011
2. The field must be updatable
3. Must be able to add new records on the continuous form
Here’s my problem
If I leave the RecordSource as the linked table I can update and add records BUT crucially the date is in American Format e.g. 2011-01-01.
If I change the RecordSource to a query and format the date like so...
The form’s no longer updatable and I’ll get the message ‘… is based on an expression and cannot be updated' and also I can’t add a new record.
How do I overcome this without creating yet another separate unbound form to handle updates and editing?
SmallTime
Haven’t much hair left to pull out so now I grind my teeth instead. Hoping someone can help me out before I get to the gums
Here’s What I have:
A continuous form with the RecordSource as a linked SQL table (QLTblHolidays ) that contains a date field (MyDate).
Here’s what I want
1. The date displayed in British format e.g. 01/01/2011
2. The field must be updatable
3. Must be able to add new records on the continuous form
Here’s my problem
If I leave the RecordSource as the linked table I can update and add records BUT crucially the date is in American Format e.g. 2011-01-01.
If I change the RecordSource to a query and format the date like so...
Code:
SELECT CDate([MyDate]) AS ConvDate FROM QLTblHolidays;
The form’s no longer updatable and I’ll get the message ‘… is based on an expression and cannot be updated' and also I can’t add a new record.
How do I overcome this without creating yet another separate unbound form to handle updates and editing?
SmallTime
Haven’t much hair left to pull out so now I grind my teeth instead. Hoping someone can help me out before I get to the gums
Last edited: