X
xpengi
Hi,
I have an existing query, named "query1", "select count(*) fro
students where amount IS NULL",
i will get "60" and want to sign it to a label's caption in a form
such as,
lblTitle.caption = "There are " & resultOfQuery (60) & " students."
how to do this?
i code as but not work.
lblTitle.Caption = "There are "
CurrentDb.QueryDefs("query0").ReturnsRecords & " students."
then lblTitle shows "There are TRUE students"
Thanks really.
Pete
I have an existing query, named "query1", "select count(*) fro
students where amount IS NULL",
i will get "60" and want to sign it to a label's caption in a form
such as,
lblTitle.caption = "There are " & resultOfQuery (60) & " students."
how to do this?
i code as but not work.
lblTitle.Caption = "There are "
CurrentDb.QueryDefs("query0").ReturnsRecords & " students."
then lblTitle shows "There are TRUE students"
Thanks really.
Pete