Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

show button when data is in query

Status
Not open for further replies.

Lightlancer

Programmer
Jul 18, 2008
88
NL
Hey there,

On my home form, i want to have a button. and that button can only be seen when there is data in a query.

What is the VBA command for this??

Queryname: KPNopenstoringen

Greetz

Lightlancer
 
mybutton.visible=dcount("Anyfield","KPNopenstoringen")>0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top