PDA

Click to See Complete Forum and Search --> : ADO and VB5 question again.


BHostmeyer
Nov 1st, 1999, 09:06 PM
Someone try this and let me no how it works...

In VB5 add a reference to Microsoft Development Environment 6.0 and Microsoft Development Environment 6.0 Text editor.

now add the Ado component bar. link it to an odbc or access database

now make a text box, and a button


in the button_click event add the following code

text1.text = AdoDc1.Recordsource.Fields(0)

then run the program, if you can get this to work please let me no how...

Thanks

Brooke Hostmeyer