Hello All
I created a Crystal Report in VB.Net. But I do not know the
commands to execute it from a push button on a Vb.Net form
in the same project. Anybody have the steps?
Thanks
Tom
Printable View
Hello All
I created a Crystal Report in VB.Net. But I do not know the
commands to execute it from a push button on a Vb.Net form
in the same project. Anybody have the steps?
Thanks
Tom
Hi,
As far as I know you can't just preview it like you could in vb 6 you have to use the control the crystalreportviewer, place it on a form and set the properties to your report.
Ok,
I got the crystal viewer on and it brings up the report,
But all I get is the field names on the page header. The detail
data does not showup. I do not have an data selection criteria,
it is supposed to be just a simple dump of the contents of the table.
What am I missing?
Thanks
Tom:confused:
Ok,
I got the crystal viewer on and it brings up the report,
But all I get is the field names on the page header. The detail
data does not showup. I do not have an data selection criteria,
it is supposed to be just a simple dump of the contents of the table.
What am I missing?
Thanks
Tom:confused:
Hi
I don“t know the model of report you have created.
But try fill your report with a datasource like a ADO recordset or other, example:
YourReport.Database.Tables(1).SetDataSource(YourRecordset)
Is something like this.
It is preprinted form type of report. I am designing this report GUI style and am not hardcoding datasources like you suggest. I don't
know where to put such a thing. However I changed my data source to the "current connection" version of the table. Now when I run it, it prompts for a login. Strange thing is it asks for server,database,user, password. I can't get thru! My original connection to the table was using the MS OLE DB for Oracle provider in which I only need server name, user and password; where the server name is actually the database schema, NOT the name of the actual server computer. So it looks to me when I get this login the system is looking for a MS SQL connection instead.
Man I am confused!
TOm