Hi to all:
Sory to came again here in the forum,but I had no found posts,after search,with my problem...
I want to pass text in a variable named "StringA" from VB to a formula in CR and I have this:
1. I don't Know if the Syntax is correct - ....["stringA"]Code:Dim Report As New CRAXDRT.Application Dim Rpt As CRAXDRT.Report Dim formula As CRAXDRT.FormulaFieldDefinition stringA = "January" Set Report = New CRAXDRT.Application Set Rpt = Report.OpenReport("D:\Projectos VB\NORWIN\Norwin\decl.iva.rpt") Rpt.FormulaFields.Item(1).Text = ["stringA"]
2.I need to declare some variable...how?
Thanks in advance


Reply With Quote