|
-
Nov 17th, 1999, 06:13 AM
#1
Thread Starter
Hyperactive Member
I have looked for hours in the MSDN library to try to find out how you display the information stored in a SQL database. I am connecting to the database using an ADO connection. Here is an example of what I'm trying to do.
Say I have a table called "Customers" and the table has three columns in it: "cust_id", "cust_lname", and "cust_fname". I want to be able to display these three tables on a form. However, this is where I am confused. I don't know if I need a flexgrid (because I've never used one, and don't really know what they're used for), or if I just use text boxes, or just what I need to have on the form. I also do NOT want to use the ADO Data Control, so I am going to have my own custom buttons to move around. I know how to program the buttons to move between recordsets, but I cannot figure out how to display the information in the current recordset. Please help, I'm going crazy.
------------------
Ryan
[email protected]
ICQ# 47799046
-
Nov 17th, 1999, 11:00 AM
#2
Guru
-
Nov 18th, 1999, 06:58 AM
#3
Thread Starter
Hyperactive Member
Thank you very much! It works great!
------------------
Ryan
[email protected]
ICQ# 47799046
-
Nov 18th, 1999, 02:43 PM
#4
New Member
But wouldn't closing the connection and the recordset prevent you from changing to other retrieved records? (Assume textboxes linked to the recordset). I wan't to get a bunch of records in one recordset, and I wan't to close the connection afterwards, without losing the ability to navigate the recordset. How can I do it?
Thank you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|