Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bound Data to Textbox using DAO object libary

Status
Not open for further replies.

webcrazy

Instructor
Dec 24, 1999
14
US
I'm new to VB,

I'm trying to use the DAO object libary 3.51 to bound a database Field to a TextBox instead of the data control but I can't seem to get it to work.

Please help me here is the code below:
*********************************************************
Public Sub populateFields()'Sub I created
Dim Text1 As TextBox
With rsPasswordsTable 'This was Dim as the Recordset
dbPasswords.Connect
Text1.DataField = "WebSite" 'WebSite is the Fieldname
End Sub
************************************************************
Any help will be greatly appreciated

Webcazy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top