0

Does anyone knows how to make datasource location of a report fixed like in VB you can use app.path. Can anyone suggest how to do it?

Thanks in advance!

3
Contributors
4
Replies
5
Views
9 Years
Discussion Span
Last Post by freshface001
0

Hi,

From VB6, just before Viewing the report, Set the DB location for each tables used in the report..
What is your Database..? Access/Oracle/SQL...?

Regards
Veena

0

Hi,

Before Viewing the report , set DB location for all the Tables used in the report:

Dim tt As CRAXDDRT.DatabaseTable
For Each tt In m_Report.Database.Tables
 tt.Location = "C:\NewDB.mdb"
Next

Regards
Veena

0

in visual basic 6, using Data control for accessing the access database. give the data base name(*.mdb) in "DataBaseName" property of data control.and select the table in the "RecordSource" property of data control. then place no_of text fields or lables in the same form(appear Data control) for viewing the values of the access database data by selecting datasource as data controll name and select field name in the "DataFiled" property of text box or label.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.