|
-
Nov 19th, 2006, 10:17 PM
#1
Thread Starter
Member
Database and VB. Not so simple anymore.
I'm in the process of learning VB 2005 Express from VB 6.0. I realize there's a lot more functionality, but they should just call it Visual ASIC because it sure isn't for Beginners anymore.
Anyway, the simple process below in VB 6.0 seems impossible to duplicate with VB 2005. Now there's binding sources, table adapters, etc. I've watched Microsoft videos and read Microsoft books, searched the internet, and nobody seems to have a simple database setup. Maybe it takes 30 lines of code now to do the same thing, I don't know.
Public FootballDB As Database
Public FootballRS As Recordset
Set FootballDB = OpenDatabase(App.Path & "\football.mdb")
Set FootballRS = FootballDB.OpenRecordset("Info")
FootballRS.MoveFirst
debug.print FootballRS!GameName
debug.print FootballRS!Team1
debug.print FootballRS!Team2
I don't want to use the wizard. I don't need any controls to be data-linked. Can somebody help convert this? SIMPLY?
Greg
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
|