How can I stop Crystal reports from locking tables in our SQL db?  PLEASE HELP!!!

Post Author: kevans
CA Forum: Data Connectivity and SQL
I really need help with this and so far I've had no luck finding a solution on Crystal's knowledge base, forums our even outside of this site.
I recently upgraded from crw8 to crw10 and of course after converting reports and placing them into production I now discovered that crw10 will place locks (blocking) on the SQL tables it is using.
Is there a setting in crystal so I can turn this off?  Someone said I can use a statement like ... "with (nolock)"  but I can't seem to figure out the correct syntax to use, I'm not even sure if this works since I can't find info on it.  I desperately need help!!!
Example - if this is my select statement how would I add the "nolock" to it?
(DateTimeToDate (PDMTimeToDateTime ({call_req.open_date})) >= {?Starting Date}) AND   (DateTimeToDate (PDMTimeToDateTime ({call_req.open_date})) <= {?End Date}) AND    (if {?Select_Group} <> "ALL" then {ca_contact.last_name} = {?Select_Group}         else if {?Select_Group} = "ALL" then true) AND            {call_req.type} = {?Type}

Post Author: sharonmtowler
CA Forum: Data Connectivity and SQL
no lock is used in the sql stored procedure. i believe you can look at your sql statement in the report and place the nolock(prior to the table name)
the only problem with this is you may get dirty data. most sql developers dont recommend it especially with real time data.

Similar Messages

  • How Can I call Crystal report from R3?

    Hi experts,
      How Can I call Crystal report from R3?

    Hi Bill,
    Can you please be specific and could you please provide the steps
    Thank you

  • Paramerterized Interactive Reports - when running or clicking on a specific page how can I stop the report from rendering BEFORE the user enters parameters.

    I wasn't able to display in pic in this post 
    But it would look something like this
    Order type  -ALL- (select list)                GO (button)
    When I come into this page - the report renders ALL the data because the SQL is as follows
      AND ol.unit_selling_price <> 0
               AND(ordertype.transaction_type_id = :P1_TEXT OR :P1_TEXT IS NULL)
                ORDER BY   3
    Its setup this way because I want all records returned if the user makes no selections BUT CLICKS the "GO" or "SEARCH" button.
    I just don't all records rendered upon initial screen entry and without user having selection options....I.E initiate via a button.
    Thanks

    Hi,
    Here is what you can do with out any hidden items.
    on report condition select request = e1
    and enter  GO
    Now when you hit the Go button which actually submits the page to perform the search right?
    Now create a branch and redirect to same page and in REQUEST enter: GO  (But make sure you are selecting when GO button clicked and make it first branch if you have any unconditional branches)
    So the report will be seen by the user only when he hits the GO button from that screen.
    Simple enough right?
    Thanks,
    Ramesh P.

  • When I record an audio track, there is a waveform. When I stop recording, the waveform disappears and becomes a straight line. It also disappears from the track edit window. But the sound is there. How can I stop the waveform from disappearing?

    When I record an audio track using Logic Pro X, there is a visible waveform which appears as I record. When I stop recording, the waveform disappears and becomes a straight line. It also disappears from the track edit window. But the sound is still there. How can I stop the waveform from disappearing? And can I do something to view it after it has disappeared? Anyone know the anser?

    In Logic:
    Preferences/Audio Set Recording Delay to 0 <zero>
    This should always be set to zero unless a specific set of circumstances exist and you're audio drivers do not report position correctly.
    On occasion, usually when importing a Logic 9 project, Logic-X randomly changes this to a negative/positive number.  It's actually a bug in Logic, as it should always display the waveform.

  • How can I stop the screen from rotating on my iPod touch?

    My son is blind and has an ipod5 using the voice over feature. Everytime he moves it says landscape bc of the screen rotating. How can I stop the screen from rotating on him?

    To lock the screen in portrait orientation, swipe up from the bottom edge of the screen to open
    Control Center, then tap  the icon with an arrowed circle with a padlock inside
    page 20 of
    ios 7.0 ipod touch Manual

  • How can I stop my iPhone from synching my contacts and groups lists twice?

    How can I stop my iPhone from synching my contacts and groups lists twice....I am using iCloud but am not sure how correct this duplication.

    Go into Settings>Mail, Contacts, Calendars. Is this happening at the bottom in the signature section, or in the header of the mail where your email address is? If it is the signature, then go to the Signature area of the Mail settings. If this is in the header, then go to the account in question and edit your account information to include your name instead of Johnny.

  • How can i run a reports from forms

    Oracle forms 9i
    Hai All
    I am using oracle forms 9i.
    From the forms i need to generate a reports how can i generate a reports from there
    Regards
    Srikkanth.M

    there are hundreds of examples in this forum. Do a search

  • How can I stop a JFrame from closing when clicking the close button.

    I need to display a dialog when a user attempts to close my app, giving them the option to close, minimize or cancel. How can I stop the form from closing after the user makes his selection? I have the folllowing code, but my form still closes after selecting an option:
    private void formWindowClosing(java.awt.event.WindowEvent evt) {                                  
            //An array of Strings to be used a buttons in a JOptionDialog
            String[] options = {"Close", "Minimize", "Cancel"};
            //Determines what the user wants to do
            int result = JOptionPane.showOptionDialog(null, "What to you want to do?  Close the application, minimize or cancel?", "Please select an option...", 0, JOptionPane.QUESTION_MESSAGE, null, options, options[0]);
           //Determines what to do, depending on the user's choice
            if (result == 0) {
                //Close the application
                System.exit(0);
            } else if (result == 1) {
                //Minimize the application
                this.setState(Frame.ICONIFIED);
        }Any help would be much appreciated!

    import java.awt.event.*;
    import javax.swing.*;
    public class test extends JFrame {
         public static void main( String[] args ) {
              new test();
         public test() {
              setSize( 200, 200 );
              //the next line makes the JFrame not close
              setDefaultCloseOperation( JFrame.DO_NOTHING_ON_CLOSE );
              //now add a listener that does the trick
              addWindowListener( new WindowAdapter() {
                        public void windowClosing( WindowEvent e ) {
                             //ask the user and do whatever you wish
              setVisible( true );
    }

  • How can i stop my phone from vibrating in my ear when i am on the call?

    How can i stop my phone from vibrating in my ear when i am on the call? I usually keeps my phone on vibration mode so i get notified when there is a new mail or message? However, when i am on the call, then also, it vibrates in my ear everytime a mail comes. Very irritating. I use my business phone and mails keep coming every 2-5 mins.
    Please help.

    very impractical . specially when you call A LOT and receive notifications constantly!

  • How can i stop internet media from flooding elements 6?

    how can I stop elements 6 from constantly importing internet photos and flooding my memory?

    PSE isn't importing photos off the internet, but it could be importing photos from your hard drive that are being placed there as you browse the internet.
    It's likely that you've told PSE to import all new photos on your hard drive using the Watched Folders mechanism.
    In the Organizer, go to File > Watch Folders...
    See the list of folders PSE is currently watching.
    Check the setting near the bottom of the dialog as to what PSE should do when it finds new images in the folders it is watching.
    Make any necessary changes to have it do what you want it to do.
    Cheers
    Bob

  • Hi, how can I stop my screen from freezing up.Its acts like a scratch card, I use the mouse cursor to rub away to find the password box?

    HI,how can I stop my screen from freezing, It acts like a scratch card,I run over it with the mouse to scratch away at the grey screen to find the password box
    underneath?

    OS X: Login window partially appears, cursor movement redraws screen

  • How can I stop a report service manually ?

    How can I stop a report service manually in DOS command?
    I only know start a report service manually in DOS command.For example:rwserver service=repljbass

    My start/stop scripts for Solaris looks like this.
    Start:
    rwserver.sh server=reportserver batch=yes
    Note: batch=yes means that the extra control window doesn't start (at least on Unix)
    Stop:
    rwserver.sh server=reportserver shutdown=immediate authid=repadmin/reports
    Just remove the .sh and it'll work on your PC.
    PS. The complete Solaris start command I use is:
    exec nohup rwserver.sh server=reportserver batch=yes &

  • How can i stop an email from being sent?  i cannot find an outbox in outlook

    How can I stop an email from being sent.  I cannot find an outbox in Outlook

    Outlook is a Microsoft product, I'd suggest posting on the Office for Mac Product Forums.

  • How can we call a report from a form.

    how can we call a report from an existing form.

    Have you searched the Forms help system? It shows you how to use RUN_REPORT_OBJECT

  • How can I stop iPhone 5s from blinking apple logo

    how can I stop iPhone 5s from blinking apple logo

    Hello tigersrock,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/ts3281
    Have a nice day,
    Mario

Maybe you are looking for

  • ITunes for windows 8 won't automatically open.

    Whenever I plug in any apple device it will charge and windows will recognize it, but it won't open iTunes automatically or even show up in iTunes. How do I fix this?

  • Abcdef

    to_date('03-23-2010','mm-dd-yyyy') to_date('2008-06-08','yyyy-mm-dd') DBMS_OUTPUT.PUT_LINE(' 4th Where clause: ' || WHERE_CLAUSE); HKey_Local Machine -> Software -> Microsoft -> MSLicensing topas Removing batch of Files in linux: ====================

  • Connecting to dial-up internet with imac through mac mini?

    I can't quite figure out how to do this. I have a imac g3 and mac mini connected with ethernet crossover. the modem on imac is dead, dial-up connecting though mac mini. i can go through the menus for connecting through internet through ethernet but c

  • Can't Publish

    I have an iMac core duo with a Fibre-Optic connection. When I hit "publish" or "publish all" I get a .Mac Welcome window with sign-in. Behind that there is a Connecting to .Mac task bar which never connects (seemingly). I sign in over and over with n

  • [nQSError: 59001] Binary Logical operation is not permitted

    Hi All, I am querying 3 columns in a report. E.g. Sales -> Directly pulled from the database column Prior Month Sales -> AGO("Sales subject area"."Key Measures"."sales", "Sales subject area".Time_Dimension."Month", 1) Current YTD -> (CASE WHEN "Sales