[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Simple ? about VB/Crystal Reports

Posted on 1999-01-08
3
Medium Priority
?
126 Views
Last Modified: 2010-05-03
I'm calling Crystal Reports from VB and setting up various
properties like .SelectFormula, .SortField etc. If the value
of these statements is wrong (e.g. I mispell a column name)
no report is created but I dont get an Error Message. Is
there an Error Log stored somewhere or some option in Crystal Reports to log these errors ?
0
Comment
Question by:eryan
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
Inteqam earned 120 total points
ID: 1454883
try to put this after the commandReport.action=1

if   commandReport.LastErrorNumber > 0 then
   msgbox commandReport.LastErrorString
end if

where commandReport is the CR activeX

hope this works

0
 

Author Comment

by:eryan
ID: 1454884
Cheers, sorry about the delay in getting back to you.
0
 
LVL 7

Expert Comment

by:Inteqam
ID: 1454885
IT IS OK , GLAD IT WORX

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question