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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

POPULATING OR FILLING TEXT BOXES WITH DATA FROM A DATABASE

Status
Not open for further replies.

TNN

Programmer
Sep 13, 2000
417
US
I can fill a db grid's fields with data from a database using a data control and writing SQL for the Recordsource property. Load time is relatively fast considering the number of fields that I can fill.

Is there a way to write SQL and fill text boxes with data from a database without using the recordset methods which are too slow.

I have 199 text boxes to fill with database data and using the recordset methods it takes approx 8 to 11 seconds to load all 199 text boxes.

Any help or suggestions appreciated.

TNN, TOM
TNPAYROLL@AOL.COM

TOM
 
Why don't you just asign the textbox datafield and datasource according to your database? Maybe I'm not understanding the question..

<---CuJo
 
Cujo,
You mean bind the text boxes to the database fields? I looked at this before but am going to have to look again since you bring it up. This might do at least for some of the text boxes.
Sometimes we overlook the obvious and make things harder on ourselves. Thanks Cujo.

TNN, TOM
TNPAYROLL@AOL.COM

TOM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top