Hello,
I have a form in access 2007 that filters two subforms within it by a date. The idea is that when you change the date on the main form you can start data entry into the subforms.
When you initially open the form a specific date and it's filtered records (already in the database) are loaded into the form/subforms; I haven't chosen this date and I don't know where to look to see how Access chose to use this date. (Is it possible to view the code behind forms, which haven't been written by the user?) This wouldn't be an issue if you could then change the date to what you needed and use the subforms.
When a user changes the date on the main form to what they require, then the date of the first record in one of the subforms is changed to this date. Obviously this form isn't useable as it changes the data. Does anyone know why it is doing this and how to prevent it from occuring?
I would like the date to filter records, but not to change existing ones. I would still like to be able to edit in the forms also.
Any help would be much appreciated.
Lizy
I have a form in access 2007 that filters two subforms within it by a date. The idea is that when you change the date on the main form you can start data entry into the subforms.
When you initially open the form a specific date and it's filtered records (already in the database) are loaded into the form/subforms; I haven't chosen this date and I don't know where to look to see how Access chose to use this date. (Is it possible to view the code behind forms, which haven't been written by the user?) This wouldn't be an issue if you could then change the date to what you needed and use the subforms.
When a user changes the date on the main form to what they require, then the date of the first record in one of the subforms is changed to this date. Obviously this form isn't useable as it changes the data. Does anyone know why it is doing this and how to prevent it from occuring?
I would like the date to filter records, but not to change existing ones. I would still like to be able to edit in the forms also.
Any help would be much appreciated.
Lizy