Need help running SQL statement in excel.
Not sure where to begin but here is where I am.
I made an ODBC connection to an AS/400 DB
I have an SQL statement that when run in WIN_SQL runs fine.
I now need to add a text_box or cell that allows users to enter data and then click or something to run the query with that data as the where
So does anyone have a sample of the code to call the connection?
And then an example of how to pass the value?
Thanks!
Not sure where to begin but here is where I am.
I made an ODBC connection to an AS/400 DB
I have an SQL statement that when run in WIN_SQL runs fine.
I now need to add a text_box or cell that allows users to enter data and then click or something to run the query with that data as the where
So does anyone have a sample of the code to call the connection?
And then an example of how to pass the value?
Thanks!