473,395 Members | 1,495 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,395 software developers and data experts.

Crystal report linking in VB6

1
I'm trying to generate report within my visual basic 6 project. My problem is that i need just some specific records on the report at any given time. I create the recordset within the codes behind the viewer form, it works perfectly. Now if i pass this recordset to the report it gives me errors. Some common once being
Do not have permission or Subscript out of range. Mean while there is no single array within my codes
Aug 7 '06 #1
2 2298
I'm trying to generate report within my visual basic 6 project. My problem is that i need just some specific records on the report at any given time. I create the recordset within the codes behind the viewer form, it works perfectly. Now if i pass this recordset to the report it gives me errors. Some common once being
Do not have permission or Subscript out of range. Mean while there is no single array within my codes
Dear iam new to crystal reports please tell basic part to work

regards

lalith
Oct 15 '06 #2
if crystal report control name is cr write this code.

cr.reportfilename = "name of ur report file"
cr.action =1

that's all. it should work.
Oct 16 '06 #3

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

Similar topics

1
by: Stephan | last post by:
Hi, I'm using Visual Studio 2003 (C#) with the integrated Crystal Report software and have the following question: How can I assign a value (string) to an unbound (string) field in Crystal...
3
by: Colin Graham | last post by:
I have recently created a report in crystal(10) linking to a dataset as the datasource. I notice however that the fields available in the report all have STRING format and therefore i cannot change...
0
by: Matt | last post by:
I am running CR 8.5 from a (large) SQL Server db. My aim is to use crystal enterprise so end users in our sales team can access reports on demand for a given date range and client so I am trying...
4
by: ZRexRider | last post by:
Hi, I have an MS-Access 2000 application that is connected to a MS-SQL Server 2000 backend by linking tables through a DSN-Less connection. No problems at all with that part. This application...
1
by: RJN | last post by:
Hi I'm new to VS.Net Crystal Report. I'm using data sets as the source for crystal report. I've a dataset which has 2 data tables. The first table's schema is like this Ptid String Prid...
0
by: RJN | last post by:
Hi, I'm new to crystal report and require a help urgently. My requirement is something like this. I have a main report from where I call 2 subreports, say summary and details. The main...
1
by: RJN | last post by:
Hi, I'm new to crystal report and require a help urgently. My requirement is something like this. I have a main report from where I call 2 subreports, say summary and details. The main...
0
by: Henry | last post by:
I have written an ASP/VB.Net application via VS 2003 (Crystal V9) that uses MS Access 2000 as its database. I can export reports that have no linked sub reports for printing. However, I'm unable...
1
by: Frank Teunen | last post by:
Dear reader, I'm having a problem linking a dataset to a crystal report. I'm using next code. In between I explain my problem 'This code is to fill a dataset with the result of a stored...
0
by: bharathi228 | last post by:
hi, iam working with crystal reports.in my database table i have a columns like dtmtime,parameter_index dtmtime parameter_index status 1/2/2006 11 ...
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: 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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.