Lister
Z Shift
- Local time
- Tomorrow, 05:07
- Joined
- Aug 24, 2003
- Messages
- 305
Hey All
I have a purchase order form, that has two combo boxes and a sub form.
It also has a date field and check box to be filled in when the goods arrive and are checked in.
At the moment there is nothing wrong with the form it works fine. But I have a problem with users going back in and changing the order after it has arrived. As you can imagine it make reconciling purchase orders with invoices a real pain.
What I would like is that once the check box is ticked, all the fields in the form become Read Only.
But only for that record, if the check box is not ticked the order could still be changed.
This way we can still change the record as we have to do some times because of supplier constraints.
But once its check in, it couldn’t be changed.
So I’m thinking an event off the check box would be the easiest way.
I would think that there would be a simple bit of code out there to do this.
If anyone could give me a hand, that would be great.
Thanks

I have a purchase order form, that has two combo boxes and a sub form.
It also has a date field and check box to be filled in when the goods arrive and are checked in.
At the moment there is nothing wrong with the form it works fine. But I have a problem with users going back in and changing the order after it has arrived. As you can imagine it make reconciling purchase orders with invoices a real pain.
What I would like is that once the check box is ticked, all the fields in the form become Read Only.
But only for that record, if the check box is not ticked the order could still be changed.
This way we can still change the record as we have to do some times because of supplier constraints.
But once its check in, it couldn’t be changed.
So I’m thinking an event off the check box would be the easiest way.
I would think that there would be a simple bit of code out there to do this.
If anyone could give me a hand, that would be great.
Thanks
