For this to work you must already have the correct database open.
These examples exercise most of the way of interacting with ACCESS
via DDE programatically. Passing a SQL string, asking it to execute a
query, run a macro, run a macro that calls a function, finding out
about a table in the database.

If you put some numbers in col1, col2 controls and then go to Access
and run macro SaveRow, you can see code which will retrieve data from
controls and save it in the database. It also changes the returncode
control in the VB form.

This was created with VB 1.0 and Access Version 1.0. 

Bruce L-C 
12/15/92

