Greetings! If anyone can give me some suggestions for this project I would be very grateful.
I have a form that mostly uses unbound controls for data entry. When saving, I pick up the values, validate, and write them to their related fields in the form's BeforeUpdate event. This works well for new records, but not for edits, because BeforeUpdate doesn't fire unless the form is dirty. Changing unbound controls doesn't not make a form dirty, so the edits get ignored on save.
I'm not sure what the best solution is for this. I guess I could use each control's AfterUpdate to write the values directly into the fields, but that would be far less efficient than doing it all in the form's BeforeUpdate event.
Any suggestions?
Shacho
I have a form that mostly uses unbound controls for data entry. When saving, I pick up the values, validate, and write them to their related fields in the form's BeforeUpdate event. This works well for new records, but not for edits, because BeforeUpdate doesn't fire unless the form is dirty. Changing unbound controls doesn't not make a form dirty, so the edits get ignored on save.
I'm not sure what the best solution is for this. I guess I could use each control's AfterUpdate to write the values directly into the fields, but that would be far less efficient than doing it all in the form's BeforeUpdate event.
Any suggestions?
Shacho