VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

This Code Will Show us that HOW CAN ACCESS DATA ON DATAREPORTS

Ali Farooq  (2 Submissions)   OLE/COM/DCOM/Active-X   VB 6.0   Unknown Difficulty   Thu 18th May 2006   Mon 8th February 2021

This Code Will Show us that "HOW CAN ACCESS DATA ON DATAREPORTS"

API Declarations


' MICROSOFT ACTIVEX DATAOBJECTS RECORSSET 2.1 LIBRARY
' From PROJECT MENU (REFRENCES)

' Create DATABASE(db1) and Table(tb1) in MS ACCESS.
' Fields of tables are ID, NAME, MARKS
' Save database (db1) in D DRIVE


' put 3 textboxes (array) and 3 labels on form.
' add one command button and name it with CmdSHOWREPORT

' add datareport and name it DataReport1
' add 3 lables and 3 RptTextBoxes in detail section of datareport
' in DATAFIELD (property of RptTextBox) write field of Tables one by one

' after doing all above steps paste following code in ur codding section
' on getting error please contact me.i will help u

' wish u good luck & take very good care of ur self

Dim con As New ADODB.Connection
Dim rs As New ADODB.Recordset


Rate This Code Will Show us that HOW CAN ACCESS DATA ON DATAREPORTS (1(1 Vote))
This Code Will Show us that HOW CAN ACCESS DATA ON DATAREPORTS.bas

This Code Will Show us that HOW CAN ACCESS DATA ON DATAREPORTS Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters