borderAndreaVB free resources for Visual Basic developersborder

ASP.NET 3.5 Hosting - Click Here

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Next Topic (DataGrid Problem -- Urgent) New Topic New Poll Post Reply
AndreaVB Forum : Database : ADO how to Add new recordset Solved Topic
Poster Message
noknok
Level: Scholar

Registered: 23-11-2007
Posts: 30

icon ADO how to Add new recordset

how to call the the dtabase with 3 tables that only 1 table will be used in recordset

like i have 3 table in my data.mdb, october, november and december table, so in my form i like to use only october in my form how do i call that october so only that october can be used in my field form


thanks

01-02-2008 at 06:27 AM
View Profile Send Email to User Show All Posts | Quote Reply
noknok
Level: Scholar

Registered: 23-11-2007
Posts: 30
icon Re: ADO how to Add new recordset

dim rs as Recordset
Set rs = New Recordset
rs.Open "october", cn, adOpenDynamic, adLockOptimistic
    rs.AddNew
    serialtxt.SetFocus

not sure

01-02-2008 at 06:46 AM
View Profile Send Email to User Show All Posts | Quote Reply
stickleprojects
Level: Moderator


Registered: 09-09-2002
Posts: 987
icon Re: ADO how to Add new recordset

Hi
Google search for "VB6 Recordset AddNew" came up with a bunch of articles.
Which have you tried and what are you unsure about?
Kieron


____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)

01-02-2008 at 02:48 PM
View Profile Send Email to User Show All Posts | Quote Reply
noknok
Level: Scholar

Registered: 23-11-2007
Posts: 30
icon Re: ADO how to Add new recordset

Will first but now its ok ^^

02-02-2008 at 03:16 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Database : ADO how to Add new recordset Solved Topic
Next Topic (DataGrid Problem -- Urgent) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 Andrea Tincaniborder