Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Memory variable in Crystal Report


Message #1 by Talon Wolles <ta_iwo@y...> on Fri, 30 Aug 2002 22:09:03 -0700 (PDT)
Assuming you're using the OCX;

Define a formula in CR having a value of "".  In this example, I'll call it
AsAtDate.  Then in VB;

    msFormula0 = _
        "AsAtDate= 'As At " & Format(Now, "mmmm d, yyyy") & "'"

    CrystalReport1.Formulas(0) = msFormula0

Pete

-----Original Message-----
From: Talon Wolles [mailto:ta_iwo@y...]
Sent: Saturday, August 31, 2002 1:09 AM
To: professional vb
Subject: [pro_vb] Memory variable in Crystal Report


Hi All,

Designing report in VB6 using the Crystal Report Pro,
I don't know if it is possible for me to use memory
variable defined in the VB code as part of formula or
as reporting field in the Crystal report. If so, I can
I do it.


-Talon

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com


---
Visual C# - A Guide for VB6 Developers
This book will make it easy to transfer your skills
from Visual Basic 6 to C#, the language of choice
of the .NET Framework.
http://www.wrox.com/ACON11.asp?ISBN=1861007175&p2p0059



  Return to Index