|
-
Jan 23rd, 2000, 01:59 AM
#1
Thread Starter
Addicted Member
I am using a SelectionFormula when running a report in VB6. If I cut and paste it from the immediate window into crystal report - it works fine BUT when run from VB using the same string NOTHING happens. If I blank out the slectFormula line the report works OK from VB.So i'm obviously running the correct report, but it doens't like the selct criteria from VB but is OK with it directly in the report. I need to be able to change it at run-time from the VB program. How can I debug this?
-
Jul 10th, 2001, 04:30 AM
#2
New Member
I had the exactly the same problem, make sure the selection formula is empty in the crystal reports program.
In VB do not use the "selectionformula", use "replaceselectionformula"
You should find this will solve your problem.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|