PDA

Click to See Complete Forum and Search --> : ado Data Environment


sultan
Nov 22nd, 1999, 09:43 PM
Can someone tell me how to bind data to a text box at runtime when using data environment?


This is what am using:
Set txt1.DataSource = DtEn1
txt1.DataMember = DtEn1.Command1
txt1.DataField = DtEn1.rsCommand1.Fields(2)

But I get an error on line two :"Type miss match"

but at design time thats exactly how it binds!????


Many thanks for you help.

regards
sultan