| | |
visual basic and access
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
perform these steps:-
1.open vb6 and create a new project
2.save the project
3.tools->visual data manager
4.file->new->microsoft access database->version 7.0 mdb
5.select the folder where u saved ur project
6.enter new db name and click create
7.right click on database window->new table
8.enter new table name->click add field
9.enter a field name and mention its type
10.click ok->close
11.click build the table
12.double click on the table name to open it
13.click add
14.enter some data
15.close vis-data
16.in the form take a textbox and a data control
17.select datacontrol and press f4
18.select databasename and locate ur access db
19.scroll down and select recordsource and select the table from list
20.open properties of the textbox
21.select datasource and make it to the datacontrol's name
22.select datafield and select the field u created in the table
23.save ur work and press f5
24.use navigation buttons of datacontrol to browse between the records
1.open vb6 and create a new project
2.save the project
3.tools->visual data manager
4.file->new->microsoft access database->version 7.0 mdb
5.select the folder where u saved ur project
6.enter new db name and click create
7.right click on database window->new table
8.enter new table name->click add field
9.enter a field name and mention its type
10.click ok->close
11.click build the table
12.double click on the table name to open it
13.click add
14.enter some data
15.close vis-data
16.in the form take a textbox and a data control
17.select datacontrol and press f4
18.select databasename and locate ur access db
19.scroll down and select recordsource and select the table from list
20.open properties of the textbox
21.select datasource and make it to the datacontrol's name
22.select datafield and select the field u created in the table
23.save ur work and press f5
24.use navigation buttons of datacontrol to browse between the records
![]() |
Similar Threads
- date format problem with access and visual basic (Windows NT / 2000 / XP)
- Is it possible to display report in Visual Basic which is created in Microsoft Access (Visual Basic 4 / 5 / 6)
- visual basic and access (Visual Basic 4 / 5 / 6)
- mySQL + visual basic 6 (MySQL)
- The Move.....Visual Basic 6, Visual Basic .NET ? (VB.NET)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: visual basic and access
- Next Thread: ADO programming
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age append application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine table tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






