Click to See Complete Forum and Search --> : Crystal Reports


May 21st, 1999, 10:37 AM
Sir

1. How to pass a recordset to a crystal report rather refering to a table
2. How to pass the memory variable to crystal report.
3. How to log on a ODBC server through program.

Please do the needful at the earliest.

elsoft@vsnl.com, elsoft@blr.vsnl.net.in
satisharas@hotmail.com, sai_vasu@yahoo.com

k_babs
June 24th, 1999, 09:13 AM
Hai,

Insert formula name in crystal report, In vb run time set value to that formula by using

Crystalreport1.Formulas(0) = "MyFormula = 'Myvalue'"

Index should begin from zero.

for more information. Refer Formulas (Find) in VB online help.

MailID: k_babs@hotmail.com

Best Regards.
K.Babu

babs

June 25th, 1999, 04:41 AM
For Sending memory variable to report :
Create a parameter field in the report (suppose this is AccCode).
Use can set this Parameter field from VB using the parameterField property of the custom control.

e.g:
Cr1.ParameterFields(0) = "acccode;300001090;true"

Regards
Prabhakar