T
timfgo
I am trying to do something that in my mind should be incredibly
simple. I want to use VBA to store data from an SQL select query. I've
come to understand I'm going to need to use DAO to complete this, which
I'm not opposed to, but I dont know it and I cant find any simplified
examples of how to do a single SQL query. In pseudo this is basically
what I want.
Function storage As String
Dim sqlvariable
sqlvariable = "select * from Table1 where ID = 1"
I am completing this from a module in Access 2000, and it will be an
onclick function through a form. Does anyone have a stripped down
example of how I can get ssql to hold the data from the select
statement?
simple. I want to use VBA to store data from an SQL select query. I've
come to understand I'm going to need to use DAO to complete this, which
I'm not opposed to, but I dont know it and I cant find any simplified
examples of how to do a single SQL query. In pseudo this is basically
what I want.
Function storage As String
Dim sqlvariable
sqlvariable = "select * from Table1 where ID = 1"
I am completing this from a module in Access 2000, and it will be an
onclick function through a form. Does anyone have a stripped down
example of how I can get ssql to hold the data from the select
statement?