Can i do all that i can do in VBA ACCESs USING VB 6.0

G

Guest

hi Every one
i have devoloped a database with in ACCESS that has a form with controls
like combo box etc.. Now I want to do that from visual basic not vba. i used
the DAO to access the data.
i tried to devolop the form from vb , but the control properties look
different. for example: the combo box in VBA has properties like row source
so that i can directly write a sql to add the items to combo. but in Vb i
cannot find that property.
i finding it a difficult to work from vb.
please help how to get the object of ACcess .. how do i iterate to the table
fields from vb.
can i work with sql from vb.. for example to get the list for the combo box...

please be a little detail

a sample code if u can provide will do a great help...
thanking for ur caring
 
D

Douglas J. Steele

Realistically, you should be asking this in a newsgroup related to VB, not
one related to Access.

The default combo box box in VB is not bound, like it is in Access. That
means that you have to open a recordset, read each row in that recordset and
use the AddItem method of the combo box to add each entry.

In general, it's far faster to develop in Access than in VB. Is there some
reason you're converting?
 

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

Similar Threads


Top