?
Solved

Simple ? about VB/Crystal Reports

Posted on 1999-01-08
3
Medium Priority
?
121 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month10 days, 19 hours left to enroll

770 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