How do you capture real detail of sql errors in crystal viewer of CR2008
How do you captue the further details of an sql error when running a report in Crystal 2008 viewer (within a software application)? I get a 'failed to retrieve data from database. Details: Database Vendor Code: -nnnn' error where nnn is a number like 210074. If I run the same .rpt directly thru crystal I get a failed to retrive rowset. Then after choosing ok on that message I get another message with more details and this time (in this particular case) it happens to be 'Column XXXXX cannot be found in database or is not specified for query. Other times it could be something about excedding max length/precison, etc..
We recently switched from using the RDC CR10 to this new .net viewer way. With the RDC it gave us the 'meaningful" message so we could tell what was wrong. Using this new method it does not. Is there a setting for showing more detail or some coding that would give me the real message detail using cr2008?
Don't know if it matters but in this case it is a Progress database.
Hello,
Back in the RDC days we manually added a lot of code to capture the exception info. When CR was re-written in 9 we removed all custom "fixes" and error handling, we basically said any ANSII 92 standards rule apply. We just pass what the client gives us.
What this means is we dynamically pass the exception from the client to CR and interpret what we can or we simply pass the error code to the error UI.
What you can do is to use a try/catch block and create your own error table according to Progress Error codes to pass on a more meaningful message to your users.
We won't due to the vast amount of errors possible and the vast amount of DB clients we would have to maintain. If the client doesn't pass meaningful info onto CR then we just pass it's error onto the the end user.
Thank you
Don
Similar Messages
-
How do you Capture pages in 5.0
How do you Capture pages in 5.0
You can't, that entire method has been removed.
Pages 5 is a severely cut down beta. Apple removed over 100 features and added a lot of bugs.
Pages '09 should still be in your Applications/iWork folder.
Peter -
If you use the WCF-SQL adapter it is recommend that you set UseAmbientTransaction to true if you are changing data. I think this requires MSDTC to be enabled on the SQL server that you are changing the data on. (http://msdn.microsoft.com/en-us/library/dd787981.aspx)
I think that Availability groups does not support MSDTC. (http://msdn.microsoft.com/en-us/library/ms366279.aspx).
How can you change data on a SQL 2012 application database that uses availability groups from BizTalk server?Hi,
Yes, Availability groups doesn't support MSDTC. Please refer to the similar discusison which maybe helpfull:
http://dba.stackexchange.com/questions/47108/alwayson-ag-dtc-with-failover
http://stackoverflow.com/questions/17179221/msdtc-in-always-on-availability-groups -
How would you capture the stdout of Runtime.getRuntime().exec())?
Say you wanted to execute PKZIP25.exe from java using Runtime.getRuntime().exec(). How would you capture the output of PKZIP25 (the console IO) in a file so you could check the results?
Thanks
Bill BlalockThanks.
Could you explain a little more?
The program I am calling seems to be executing, as far as Java is concerned, but nothing happens. I imagine I have made mistakes in calling it but can't see the output to the console.
Should I use Runtime.getRuntime().exec() or Runtime.exec() for something like this?
I appreciate the help!
Bill B. -
How do you capture buzz & reverse in the RMX?
Hey all - on the Stylus RMX, whenever I "capture" the chaos - it always leaves off the reverse & buzz elements. Upon reading the RMX online manual, it specifically says this is not possible. So - the question is - if you can't capture these 2 features w/in the RMX capture, how can you capture the actual performance (as heard) within Logic?
PowerMac G5 1.8GHZ single 2GB RAM Mac OS X (10.4.3)What mode are you in? I believe you must have stylus rmx is groove mode instead of slice mode. You can then also set logic to record what movements you make with those faders, either by mouse or if you have them mapped to another controller. I find that I will drag over a loop and then record the reverse and reorder parameters later so I can get them to happen more with what is happening in the rest of the song.
-
How do you capture a picture of someone you are ta...
How do you capture a picture of someone you are video chatting with?
Please see this FAQ.
Taking a video snapshot of another person
Regards,
Tamim
Location - Dhaka | Bangladesh - Standard Time Zone: GMT/UTC + 06:00 hour
If one of my replies has adequately addressed your issue, please click on the “Accept as Solution” button. If you found a post useful then please "Give Kudos" at the bottom of my post, so that this information can benefit others. -
How do you capture a still picture from DVD
How do you capture a still picture from a DVD
Click iMovie/About. If you have version 9.0.4 (iMovie 11) this will work. If you have an earlier version, this will also work, but there are also other ways.
First, get an app called MPEG Streamclip, which is free. (MPEG Streamclip from Squared 5)
Open MPEG Streamclip.
In iMovie, select the clip you need. Then, right-click/Reveal in Finder.
Drag this clip into MPEG Streamclip
In MPEG Streamclip, move the playhead to the frame you want.
In MPEG Streamclip, click FILE/EXPORT FRAME.
Choose JPEG, TIFF, or PNG and give it a name.
You can then drag this photo into iPhoto.
I have created a short video Tutorial on how to do this. There is one error in the Tutorial, where it says that Command-click is the same as right-click. I should have said Control-click instead. -
How do you capture a screen shot
how do you capture a screen shot on a MacBook Air
Quickest way is Command-Shift-3:
This takes a screenshot of the screen, and you can then save it as a file on the desktop
Cheers! -
How do you capture an answered phone number in contacts ?
How do you capture an answered phone number in contacts ?
When you look at your call history in the phone app, you see the number that you want to add, and press on the small right arrow on the right. It will show you a new page where you can simply create a new contact or add it to an existing one.
-
How do you create a pdf which is in a readable view, rather than having to rotate the document?
This cannot be done with Adobe Reader. Do you have Adobe Acrobat?
-
How do you un-highlight text highlighted in error in Reader?
How do you un-highlight text highlighted in error in Reader?
Also How can you change the color of the highlighting?Yes i saw, but what i don't understand is that i don't see "Allow Page Breaks within Content" on my textfields :
Maybe i am using an older version of livecycle.
In an other order of idea, have you checked if the page was set to allow page breaks? -
RoboHelp 11
When previewing topics from within the project, a script error diplays: 'HHComponent Activator' is undefined.
How do you get rid of this script error?Hi there
Have you tried clicking Help > Updates and applying the service release?
If not, I'd start with that.
Cheers... Rick -
How Do You Test a Flash Drive for Errors Using OS X?
HI. In Windows there are Flash Drive tester that tests if there's something wrong with the Flash drive's chips. How do you test a flash drive for errors on OS X? I bought the HP v220w which is tiny for a 16GB and it's metal. The whole thing goes into the plug. Design wise, it is great, it's very elegant like a jewelry. Thanks in advance.
Gbu.Format it for OS X and run a surface scan on the partition. That should show any hardware problems that don't keep it from working altogether.
-
How do you capture a view as an external file?
I am trying to write an interface using C++.NET. So far, everything is working well. It connects the database to a pre-designed recordset and accepts SQL commands.
The next step is to input SQL commands to create Views. In order to use those Views in my interface, I believe they need to be stored in some external file that would be accessible to my interface application.
How can I capture and store Oracle 10g XE Views ?I'm still not sure we're talking the same language here.
PL/SQL is the programming language.
SQL is the query language. PL/SQL can contain SQL statements.
Views are stored queries, not stored result sets. You might create a view as
SQL> CREATE OR REPLACE VIEW employee_departments AS
2 SELECT e.empno, e.ename, d.dname AS department
3 FROM emp e
4 JOIN dept d ON d.deptno = e.deptno;
View created.
SQL> desc employee_departments
Name Null? Type
EMPNO NOT NULL NUMBER(4)
ENAME VARCHAR2(10)
DEPARTMENT VARCHAR2(14)
SQL> SELECT * FROM employee_departments
2 WHERE department = 'SALES';
EMPNO ENAME DEPARTMENT
7499 ALLEN SALES
7521 WARD SALES
7654 MARTIN SALES
7698 BLAKE SALES
7844 TURNER SALES
7900 JAMES SALESHowever the base tables are read and the join repeated whenever the query is issued - the results are not stored anywhere and it does not make sense to talk of putting them in a file. What if the underlying data changes? Your users read from the file and get the old results. Oracle provides mechanisms for handling application cache structures but it's advanced stuff (I've only read about it, I'm not a 3GL programmer myself) and I would have thought not suitable for someone trying to put up a simple application quickly.
You said you can get your C++.Net application to connect to the database and get result sets. Just use that same approach when accessing the views you have created. You don't need a 'file'.
> Most users of consumer software dont really want to spend the time and effort to familiarize themselves with the workings of a sophisticated database. Ideally, for them, they don't even know a database exists in conjunction with their application.
I still don't see what this has to do with anything. No they will not be familiarising themselves with the workings of a database, they will be interacting with your fine application. -
How do you capture an additional fees in a Shopping Cart
Hello Experts,
There is a need to capture additional charges such as Sea Freight, Air Frieght, and Transportation Fee etc u2026. We are currently working to implement SRM 7.0 (classic), we are trying to figure out how we would capture these types of charges. We only implementing Self-Service piece of the SRM. Please advice.
Thanks and Regards,
EJ KumarDear Poster
Your query is barely readable and seems to have been copied and pasted from somewhere, please create a new thread with details of the assistance you require in a more readable format.
SAP SRM Moderator
Maybe you are looking for
-
Nano sim from iPhone interchangeable with new nano sims in Moto X and new Droids?
>> Duplicate post removed to comply with Verizon Wireless Terms of Service. See iPhone 5 nano sim can be used in Moto X- interchangeable? << Message was edited by: Verizon Moderator
-
Dialog programming - How to place a select-option field in a dialog screen
Hi all, In Dialog Programming, How to place a select-option field in a dialog screen. Kindly give me some example code... Thanks, Jaffer Ali.S
-
Export to Disk sounds different
The sound of my songs seems to change when I export them. I have auto-normalize turned off, I'm exporting to AIFF, and no I don't have any EQ, sound enhancer or sound check turned on in iTunes. In fact when I drag the AIFF in as another track in the
-
Explain Customer Exit (ABAP) Logic
Hi Experts Could any one explain me what is this Customer Exit doing CASE I_VNAM. WHEN 'ZXPDATE'. IF I_STEP = 2. CLEAR L_S_RANGE. L_S_RANGE-LOW = SY-DATUM. L_S_RANGE-SIGN = 'I'. L_S_RANGE-OPT = 'GE'. APPEND L_S_RANGE TO E_T_RANGE. ENDIF. ENDCASE.
-
Guest account needs adminstrator's name/password to save to external harddrive.
My brother has a guest account on my iMac. He now has an external harddrive to save his home folder to now and again so he can back-up his music and pictures etc, but each time he attempts to do so he is asked for the adminstrator's name and password