Does the attached come closer to what you want?
Hi Derek,
I wish I could have said big yes, but unfortunately it's not. However, I'm truly grateful for your kind efforts of help... Always...
I'm not sure if you have checked out my latest sample project named "Save as new record Test.zip " on post #3. There, all those show/hide, enable/disable events quite close to what I'm trying to achieve with the exception of hiding some Invoice Type combo items.
1. Hiding when adding new record. Since we can only issue refund for something received, I wanted to hide "Sale", "Sale Refund" and "Purchase Refund" combo items when we are adding a new purchase invoice. Smilarly, hiding "Purchase", "Sale Refund" and "Purchase Refund" combo items when we are adding a new sale invoice.
2. When user clicks on Edit selected Purchase Invoice, Invoice Type combo item "Sale Refund" should be hidden preventing user saving it as a sale refund by mistake.
3. When user clicks on Edit selected Sale Invoice, Invoice Type combo item "Purchase Refund" should be hidden preventing user saving it as a purchase refund by mistake.
Key point is when issuing a refund against an invoice (fully or partially) refund should be saved as a new record, not overwriting existing record as it currently does. Please see images (1,2,3 and 4) on the post #3. Hence the title of the post most important part is to achieve saving existing record as different/new record which I have no idea how to do it with using same table and form. Perhaps post title should have been Saving existing record as an another record.
Required overlying objects on the form can be done later on as needed. It's easier to manage them during work/test phase. I left Refund numbers panels separate atm but they will be overlaid once all working. I usually do cosmetics on later stages of the project .