Plz tell me, how to read data from table using VBA

  • Thread starter Andriy O. Beregovenko
  • Start date
A

Andriy O. Beregovenko

HI
I have a table named as "optable", like this:
+--------+--------+
| option | value |
+--------+--------+
| opt1 | 1 |
| opt2 | 0 |
+--------+--------+
Plz, write a example code howto change data in table using VBA. Main trouble
is in to read data from table using SQL-query. VBA code is a standart event
for the button click
 
A

Andriy O. Beregovenko

I want to read the data as easy as posible... Simply i write data to table in
my database using DoCmd.RunSQL(myquery)... I want same easy to read data from
tables using SQL too ...... Simply my table is contain options for making my
form and queries .....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top