A family of Microsoft relational database management systems designed for ease of use.
Since a query can return multiple columns and records, you can't set a TempVar to a query. What you CAN do is ensure the query returns only one column and one record, then use a DLookup to set the value of the Tempvar