dynamictiger
Technical User
I have made a form to handle not in list events. It works fantastic until I hit a subform.
The procedure works by setting properties in the calling form for the the recordsource of the combobox and the field we are trying to add new data too. The newdata and the formname are passed as openArgs.
As you can see my problem is that the subform Me.Name property returns the form name of the subform not the name the subform is opened by. I have tried playing around with string expressions to make this work for a subform but don't seem to be able to get the correct syntax.
Anyone got a better idea?
The procedure works by setting properties in the calling form for the the recordsource of the combobox and the field we are trying to add new data too. The newdata and the formname are passed as openArgs.
As you can see my problem is that the subform Me.Name property returns the form name of the subform not the name the subform is opened by. I have tried playing around with string expressions to make this work for a subform but don't seem to be able to get the correct syntax.
Anyone got a better idea?