Use of controls in adp's.

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

Issue number 2. I want to use the [Screen].[ActiveControl] to pass the forms
control to a function in an Access Project.
=MakeVisLstBox(Forms(0),[Form],[Screen].[ActiveControl])
I find that in the function the control seems to pass only as a string? I
defined the function as:
MakeVisLstBox(Masterform As Form, Subform As Form, FrmCtl As control)
the ‘as control’ shows the problem. The word control does not get
capitalized. I have reviewed preferences with no success. Any ideas?
Thanks,
Mark
 
Mark said:
Issue number 2. I want to use the [Screen].[ActiveControl] to pass the
forms
control to a function in an Access Project.
=MakeVisLstBox(Forms(0),[Form],[Screen].[ActiveControl])
I find that in the function the control seems to pass only as a string? I
defined the function as:
MakeVisLstBox(Masterform As Form, Subform As Form, FrmCtl As control)
the ‘as control’ shows the problem. The word control does not get
capitalized. I have reviewed preferences with no success. Any ideas?
Thanks,
Mark
 
Back
Top