473,385 Members | 2,269 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Opening Access 03 reports in vb 06

i am doing a project for school, and this is a nessacery function for my project, anyone who can help me with this i would highly appricate it.
Dec 7 '06 #1
4 1258
i am doing a project for school, and this is a nessacery function for my project, anyone who can help me with this i would highly appricate it.
Use ADODC control
Add this component to your project
Microsoft ADO Data Control 6.0 (OLEDB)
and set the ConnectionString properties.

Below is just an example, you can set all these using the wizard.

Provider=MSDASQL.1;Persist Security Info=False;Extended Properties="DBQ=C:\Documents and Settings\5144\My Documents\db1.mdb;DefaultDir=C:\Documents and Settings\5144\My Documents;Driver={Driver do Microsoft Access (*.mdb)};DriverId=25;FIL=MS Access;FILEDSN=C:\Program Files\Common Files\ODBC\Data Sources\test.dsn;MaxBufferSize=2048;MaxScanRows=8; PageTimeout=5;SafeTransactions=0;Threads=3;UID=adm in;UserCommitSync=Yes;";Initial Catalog=C:\Documents and Settings\5144\My Documents\db1


Regards,
Padhu
Dec 8 '06 #2
Use ADODC control
Add this component to your project
Microsoft ADO Data Control 6.0 (OLEDB)
and set the ConnectionString properties.

Below is just an example, you can set all these using the wizard.

Provider=MSDASQL.1;Persist Security Info=False;Extended Properties="DBQ=C:\Documents and Settings\5144\My Documents\db1.mdb;DefaultDir=C:\Documents and Settings\5144\My Documents;Driver={Driver do Microsoft Access (*.mdb)};DriverId=25;FIL=MS Access;FILEDSN=C:\Program Files\Common Files\ODBC\Data Sources\test.dsn;MaxBufferSize=2048;MaxScanRows=8; PageTimeout=5;SafeTransactions=0;Threads=3;UID=adm in;UserCommitSync=Yes;";Initial Catalog=C:\Documents and Settings\5144\My Documents\db1


Regards,
Padhu
Thank you very much.
Just wondering is this component a seperate driver or do i just set it up withen vb?

Thanks.

Josh
Dec 8 '06 #3
Thank you very much.
Just wondering is this component a seperate driver or do i just set it up withen vb?

Thanks.

Josh
dont worry i have found it and set it up.
Dec 8 '06 #4
dont worry i have found it and set it up.
Just wondering how do you use this control to show the reports from a .mdb file.
I am struggling with this as it stands.

Thanks.

Josh
Dec 8 '06 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Nicola | last post by:
Hi Everyone, I am new to programming and would like to know how to open an access Report from within vb 6. I am trying to write a program to organise cross stitch threads. I have found out how...
3
by: Mike Wilson | last post by:
Is there a way to open an OLE DB database from within Access? I would like to use the Access GUI with its table and query explorer to examine a database only available through an OLEDB provider...
1
by: webmaster | last post by:
I have a password protected Access Database (.MDB) file. I also have a Crystal Report with database fields connected to table in this database. I want to display the Crystal Report Preview Form...
1
by: Don Sealer | last post by:
I have a report that includes 5 different subreports. I'd like to be able to open this report using a date function (Start Date and End Date). I'd like all five subreports to show the data from...
0
by: Mo Sihra | last post by:
hi when I try to print Access reports from VB 6.0 , Access gives some security warning and instead of printing the report, it tries to save it in some .mdi format. Please help me with opening and...
8
by: John Baker | last post by:
Hi: I have a situation where I need to programmatically open an Access application from an Access applications on the same system. Eventually the second application will close and return control...
12
by: insomniux | last post by:
Hi, In my database (access 2000) everything is done within the main form ("OpenForm"). It has a timer which triggers the code below. It first closes all reports and forms. Then it reopens the main...
0
by: kkrizl | last post by:
I've tried to research this problem, and I haven't been able to find any references to it. Probably because I shouldn't be doing it, but it was working, and now it's not. I'm trying to develop a...
1
by: kkrizl | last post by:
I've tried to research this problem, and I haven't been able to find any references to it. Probably because I shouldn't be doing it, but it was working, and now it's not. I'm trying to develop a...
0
by: bbrewder | last post by:
I am struggling with some MSAccess automation issues. Basically, we have a .Net application that uses MSAccess for reporting (legacy code). We are able to launch MSAccess fine and even work with...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.