Subject: How to pass a query value from vb to crystal repor
Posted By: Milan Post Date: 9/17/2004 1:39:14 PM
when i tried to use selectionformula using query
there shows some error

with crystalReport
.....
.....
.selection=""
.action
how to pass multiple values form to a table

Reply By: Anantsharma Reply Date: 9/28/2004 1:15:49 AM
HI,

Well U must be adding the CrystalReport component to your form.

If u want to pass a SQL Query to Crystal report, you can use the Property "SqlQuery".

CrystalReport1.SqlQuery = "Select ..........From..... Where ..."

Another way if u want to use "SelectionFormula", u must be very clear about the Syntax. Please refer MSDN for syntax. For ur idea , you must enclose the formula withing curly braces ....

SystalReport1.SelectionFormula = {"......... ..=....."}

Somting like that.

Hope this helps.

B. Anant
Reply By: Milan Reply Date: 11/2/2004 8:50:56 AM
hi all
if u need any doubt in Crystal Report just mail me

hans.m@rediffmail.com




Go to topic 21449

Return to index page 726
Return to index page 725
Return to index page 724
Return to index page 723
Return to index page 722
Return to index page 721
Return to index page 720
Return to index page 719
Return to index page 718
Return to index page 717