R
Reidar
I have a query that counts number of records with a certain Where-condition
like
SQL1 = _
"SELECT Count(tblUtleieLokal.UtleieID) AS AntallUtleieID " & _
"FROM tblUtleieLokal " & _
"WHERE tblUt.........
DoCmd.RunSQL SQL1
I need to get the value of AntallUtleieID into a variable.
How do I do that?
reidarT
like
SQL1 = _
"SELECT Count(tblUtleieLokal.UtleieID) AS AntallUtleieID " & _
"FROM tblUtleieLokal " & _
"WHERE tblUt.........
DoCmd.RunSQL SQL1
I need to get the value of AntallUtleieID into a variable.
How do I do that?
reidarT