Go4Expert (http://www.go4expert.com/)
-   Database (http://www.go4expert.com/forums/database-forum/)
-   -   Need help, using VB 2005 Express and Access (http://www.go4expert.com/forums/help-using-vb-2005-express-access-t6997/)

MOON 24Oct2007 14:28

Need help, using VB 2005 Express and Access
Ok, bear with me, this must be obvious to someone but I can not get it.

I'm writing an application in Visual Basic 2005 Express, and in my project I have an Access database added (.mdb) and the dataset (.xsd). What I need to do is in some functions I'm writing, retrieve information from a Table in said database, and I'm sure there must be some easy built-in functions for doing this but I don't know them.

For example for a constructor:


Public Sub New(ByVal intID As Integer) intClassVariable = some data from the table retrieved using the ID parameter

The ID parameter being the ID on the Table of course.

So how do I accomplish this? I noticed I can declare objects as DataSets...do I need to set a 'DataSet' object to refer to the .xsd part of my project?

thanks in advance

shabbir 24Oct2007 20:51

Re: Need help, using VB 2005 Express and Access
Express edition is free to download from the Microsoft website and you need to be buying the Access.

All times are GMT +5.5. The time now is 14:45.