Project to display a database - data control, Visual Basic Programming

A Project to Display a Database:

1. Suppose that there are 5 fields describing a customer. Id, address, name, city & state.

2. Put 5 text boxes on the form to exhibit the records.

3. Put a data control on the form.

4. Set the DatabaseName property as shown below:

Data1.DatabaseName = "C:\ex.mdb"

5. Place the Record Source for the data control as the Customer by selecting ttable from the drop down list box in the property box.

6. Put the Record Type to 0 to point out the Customer table of ex.mdb .

7. Bind the text boxes to the data control. This is consummate by setting the Data Source to the Data1 for all the text boxes one at a time.

8. Put the DataField property for each text box and set to the various fields of the Customer table.

9. Run the project.

10. The records of the Customer table would be exhibited.

Posted Date: 10/10/2012 1:07:14 AM | Location : United States







Related Discussions:- Project to display a database - data control, Assignment Help, Ask Question on Project to display a database - data control, Get Answer, Expert's Help, Project to display a database - data control Discussions

Write discussion on Project to display a database - data control
Your posts are moderated
Related Questions
Do While Loop Statement : The statements contained by the do...while loop block executes till the condition given in the while is true. The working of do...loop is elaborate

Coding conventions are recommended that may help you write code via Microsoft Visual Basic Scripting Edition. Coding conventions can include the given: Naming conventions for ob

ARCHITECTURE OF WIN 32 PROGRAM   Figure: working of Win 3 program The hardware events in the figure are the mouse associated events like the mouse move, left

Executesql: The ExecuteSQL is used for executing the query on the database. The CRecordset uses the RFX mechanism to replace data between field data members of the record set

Events: The Controls are placed on a form and then to make them functional an "event procedure" is related with the control object. An event process is what happens in respons

Retrieval Methods: There are 3 ways to find a document. The primary method is a positional retrieval. This is achieved by keeping in mind where you left it. The next method is

( Wage Calculator with Tax Calculations) Develop an application that calculates an employee’s earnings, as shown in Fig. 4.23. The user should provide the hourly wage and number of

Question 1 Write about the Visual Basic Application Development Life cycle with a sample Forms development for performing integer arithmetic operations Question 2 Discuss the


departmental store attributes