I'm trying to save a result data into a variable but i don't have a clue on how to do it... can anyone help me with this?..
i'm pretty sure that this is wrong but this is what i'm trying to do
let's just assume that the query returns only a single row... and i'm using ms access 2007 by the way... hope somebody can help me..
i'm pretty sure that this is wrong but this is what i'm trying to do
Code:
Dim product as String product = DoCmd.RUNSQL = "SELECT product_name FROM product"
Comment