H
Home
Hi,
i want to create a subform on a form, in which i can enter a parameter. I
have done this lots of times in a normal form and this works perfect, in the
subform it seems not to work. I have a textbox txtZoek in witch i type a
value. If the value is null then all my record mus be displayed when not
null only the values must display where Naam is like the value entered in
txtZoek. Why doesn't this work?
Thanks!
Rogier
[Forms]![frmKlantBestel]![subKlantZoekOp].[Form]![txtZoek] Is Null
Or
([Forms]![frmKlantBestel]![subKlantZoekOp].[Form]![txtZoek] Like "*" &
[Forms]![frmKlantBestel]![subKlantZoekOp].[Form]![Naam] & "*")
i want to create a subform on a form, in which i can enter a parameter. I
have done this lots of times in a normal form and this works perfect, in the
subform it seems not to work. I have a textbox txtZoek in witch i type a
value. If the value is null then all my record mus be displayed when not
null only the values must display where Naam is like the value entered in
txtZoek. Why doesn't this work?
Thanks!
Rogier
[Forms]![frmKlantBestel]![subKlantZoekOp].[Form]![txtZoek] Is Null
Or
([Forms]![frmKlantBestel]![subKlantZoekOp].[Form]![txtZoek] Like "*" &
[Forms]![frmKlantBestel]![subKlantZoekOp].[Form]![Naam] & "*")