I wonder how to close a form, using the
close event, without saving the data that are entered into the controls (txtboxes)?
I have tried to loop as many times as there are number of controls -1 on my form (starting on 0) and take the controltype (if accontroltype = acTextBox then...) and set it to null. But the err msg says that eather the
form is write protected (which is false in my case) or the value i try to set the control to (null) is to big. I use a dialog typ of form, but this is not supposed to cause any probs.
Please, email me suggestions.
/Axel Nilsson
close event, without saving the data that are entered into the controls (txtboxes)?
I have tried to loop as many times as there are number of controls -1 on my form (starting on 0) and take the controltype (if accontroltype = acTextBox then...) and set it to null. But the err msg says that eather the
form is write protected (which is false in my case) or the value i try to set the control to (null) is to big. I use a dialog typ of form, but this is not supposed to cause any probs.
Please, email me suggestions.
/Axel Nilsson