G
Gib
Good day to all,
I am trying to use a module to make a subform visible or
not depending on values of fields in the main form.
I have been able to work in the module with:
Var1=dlookup("Field","Tbl", "id=" Forms!Form1.Field)
If Var1 = "X" then Count=Count+1
Var2 =dlookup(etc.)
The goal is :
If Count=y then
Subform.visable=True
Else: Subform.visable=False
Any help would be appreciated.
I am trying to use a module to make a subform visible or
not depending on values of fields in the main form.
I have been able to work in the module with:
Var1=dlookup("Field","Tbl", "id=" Forms!Form1.Field)
If Var1 = "X" then Count=Count+1
Var2 =dlookup(etc.)
The goal is :
If Count=y then
Subform.visable=True
Else: Subform.visable=False
Any help would be appreciated.