[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Simple ? about VB/Crystal Reports

Posted on 1999-01-08
3
Medium Priority
?
124 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

656 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