Any way to prevent a formula from going bad?

I work mostly in 2008, so I'm not sure if that has happened to me in XI, but I'm wondering if the following has happened to anyone else . . . and if you know how to avoid it:
I created a report on a database that does not change (it's a copy used for year-end reporting then archived). It took a number of attempts to get it to work the way I needed it to, but once I did, the totals tied with other reports.
Then this morning I ran the report and the totals were different. I finally tracked it down to the record selection formula. There was nothing wrong with the formula, but the report was not picking up 3 records. I rebuilt the report from scratch and now the totals are correct again.
I've had this happen with formulas, too, where a formula stops evaluating and returns 0. The only way to fix it is to delete it then re-write it from scratch to get it to evaluate.
Has anyone run across this? And do you have any idea how I can prevent it?
Thanks,
Laura

Hi Laura,
Which version of MS SQL Server? What can happen is as Microsoft updates their MDAC ( Data Access Component ) it could change the way CR gets info and thus sends the SQL to the database. Exactly the cause is not know without using ODBC logging and crlogger to capture all of the DB API's CR is using. Crlogger is a logging component we created to help debug problems and is not shipped by default.
You could try using OLE DB and the MS Native driver to see if that helps. MS SQL uses OLE DB as it's native connection method so using ODBC adds an extra layer on top of the client and things can get lost in translation... On the extreme there are also file system issues where network and hard driver writes can flip a bit but those are impossible to detect and resolve. Other than what you have discovered, deleting and adding it back in.
In any event I don't think there really is anyway to ultimately stop all errors due to so many third party dependencies. Sometimes they can be the cause from some other user making changes without your knowledge, not that I'm saying this is the case but in general it can happen.
One new feature in CR 2010 and soon to be released the full CR Designer 2011 is they both have a new feature called Read Only Mode. That file type can not be modified at all by anyone or the system. May be a solution for you going forward.
There are also third party tools like Source Safe that uses a Database to check in and check out reports and other things so you always have a back up.... but can be a pain to manage and set up...
Thank you
Don

Similar Messages

  • Is there any way to prevent the OS from querying the Superdrive when start

    Just a random question. Whenever my MacBook Pro starts up (either from sleep or a complete/fresh start, the OS queries the drive slot to see if there is a disc present. While this may be normal behavior, it seems to slow down the start up process. (I rarely ever have a disc in the drive). Just curious if this, in fact, normal, or if there's something awry.

    Is there any way to prevent the OS from querying the Superdrive when start
    No
    he OS queries the drive slot to see if there is a disc present.
    How can you tell? Based on the noise it makes?

  • Is there any way to prevent web.xml from any change ?

    hi all,
    we have a filter in web.xml. Now we want to prevent it from any change in future. I mean after making a war(EAR) no one can change the filter in web.xml. if he chaged it then he will not be able to re deploy the application.Right now it is in web.xml so one can easily change it and then he can redeploy the application.
    Is there any way to prevent web.xml from any change after making EAR(WAR)?
    One can easily make a change in web.xml and redeploy the application to get the result. Now we want to restrict the web.xml as java class for any change after making EAR(or WAR).
    Could some one help me to do this?
    thanks,
    dinesh

    I think you could use some third party software to lock the folder like FolderLock, just make sure others ppl cannot access your file should be fined.
    This is my stupid solution only,cheers.

  • Is there any way to prevent web.xml from any change like java class?

    hi all,
    Is there any way to prevent web.xml from any change after making EAR(WAR)?
    One can easily make a change in web.xml and redeploy the application to get the result. Now we want to restrict the web.xml as java class for any change after making EAR(or WAR).
    Could some one help me to do this?
    thanks,
    dinesh

    hi,
    Not at development level. We want it after deploying the application on server .
    We want to create it (web.xml) at tomcat startup (or in any other web/app server ) before loading any context.
    Is there any way to run a simple java class(not servlet) on tomcat startup(before initializing the contexts)?
    Message was edited by:
    DP_java
    Message was edited by:
    DP_java

  • Is there any way to keep the flash from going off when you receive a text or other notification?

    I have an iphone 4s.  Is there any way to keep the flash from going off when you receive a text or other notification?  I keep it next to my bed at night and keep thinking there is lightning when something comes thru.  LOL

    Go to Settings>General>Accessibility and turn LED Flas for Alerts to Off.

  • Is there any way to prevent excess rows from being added to a table on the front panel?

    Whenever I programmatically add rows through a property node I can still go into the front panel and keep adding additional rows through the table. Is there any way to prevent this "excess scrolling"? Maybe grey out the rows or something? 
    At least I have chicken

    Hello Labviewleroy,
    You should be able to right click on the table on the front panel and select
    Visible Items>>Horizontal Scrollbar or Vertical Scrollbar
    You could also consider changing their visibility programmatically using a property node for the control or indicator that you are referencing. You can create the property node by right clicking on the control on the block diagram and selecting
    Create>>Property Node>>Visible Items>>Horizontal Scrollbar or Vertical Scrollbar
    Cheers,
    -Joel
    Motion PSE
    National Instruments

  • Any way to prevent macbook air from sleeping when lid closed?

    I believe there is no way to keep your macbook/air running when you shut the lid.
    I am running a background job where I am downloading a huge amount of data from the internet, which is coming through slowly (other applications could be where I am running a web server....). I want the machine to be running, but not keep the lid open - since I might want to move the laptop, not leave the screen/keyboard exposed.
    Where can I request Apple to add support for this behavior? Or did they anticipate this request in Mountain Lion already?
    Any suggestions? Others who would like the same feature?

    NoSleep makes closing of your MacBook lid possible without going into sleep mode. Now you shouldn't plug your mouse and monitor to stay computer awake - just check a tick in the System Preferences and continue downloading of huge files and watching favorite movies over the network with lid closed.
    here you go : http://lifehacker.com/5934158/nosleep-for-mac-prevents-your-macbook-from-sleepin g-when-you-close-the-lid

  • In Firefox 3.6.10 I was able to go forward and backwards between pages without the page defaulting to the top of the page. Is there any way to prevent the page from automatically moving to the top when using the forwards and back buttons in Firefox Four?

    I like to be able to navigate backwards and forwards without having to scroll down and find where I was previously. In Firefox Four, when using the forwards and back buttons, the page will automatically return to the top of the page. Is there any way to change this setting in Firefox Four to prevent it from doing that?

    Thanks for the response. No Time Machine, but I probably have a backup from a few months ago on an external hard drive. :/ I guess it'd have useful history, but not if it overwrote the last 3 months or so of Awesome Bar, that might not be so great.

  • Any way to prevent XP machines from logging onto domain?

    We've just completed upgrading our hundreds of XP workstations however, I am concerned that there could still be a laptop or two sitting in someones car that will eventually make it's way back in. Is the any way I can prevent XP machines from logging onto
    the network/domain?

    Hi,
    Checkout the below thread on similar discussion and steps to solve your requirement,
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/986bc78e-0ade-47a1-9e14-fc46f4cad24d/group-policy-restrict-all-xp-computer-to-log-into-domain?forum=winserverGP
    Hope this information will be helpful to you.
    Recommended: You can test this scenario in a test environment before moving ahead to production.
    Regards,
    Gopi
    www.jijitechnologies.com

  • Is there any way to prevent an ipad from using open wifi

    There are many open public wifi networks where my son can access inappropriate adult websites.  Is there a way to prevent him from using open public wifi networks.
    Dont they have restrictions so that people cannot access inappropriate material.?

    How Do I Block Websites on My iPad?
    http://www.ehow.com/how_8716944_do-block-websites-ipad.html#ixzz2lh8910jd
    How To Set Parental Controls and Block Content on the iPhone, iPad, and iPod touch
    http://blog.laptopmag.com/how-to-set-parental-controls-and-block-content-on-the- iphone-ipad-and-ipod-touch
    How to block specific websites from being accessed with Safari for iPhone and iPad
    http://www.imore.com/how-block-specific-websites-being-accessed-safari-iphone-an d-ipad
    How To Setup Parental Controls On The iPad
    http://content.mobicip.com/content/how-setup-parental-controls-ipad
    ParentKit
    https://itunes.apple.com/us/app/parentkit/id600618138?ls=1&mt=8
    Parental TimeLock - Time limit for children
    https://itunes.apple.com/us/app/parental-timelock-time-limit/id689577280?ls=1&am p;mt
     Cheers, Tom

  • Any way to prevent purchased items from syncing with iPhone music?

    My kids buy a ton of crap music. I have configured my iPhone to only sync selected artists, playlists, and albums. But the purchased crap still shows up and I have to navigate through them.
    Is there a setting where I can filter these out from the sync process?

    By purchased crap you mean this music on your iPhone includes an iCloud icon?
    If so, on your iPhone go to Settings > Music > Show All Music > Off.

  • Is there any way to prevent my Calendar from displaying in GMT time?

    I just update my iOS to 8.1.2 on my iPhone 6. It appears in my calendar in GMT time despite the fact that I set my time zone to +7
    Why Apple support team never solve this problem. So confusing.

    Hi chalit2000,
    If you are seeing Calendar events listed in a time zone other than the one the iPhone is currently set for, you may want to check to see if Time Zone Support is enabled. You may find the following article helpful:
    iOS: How to adjust Time Zone Support for calendars - Apple Support
    Regards,
    - Brenden

  • I use my iPad Mini for giving speeches.  Is there any way to keep the screen from going to sleep?

    I should say, when I pause while someone else talks for a couple of minutes.

    http://ipad.about.com/od/ipad_basics/ss/How-To-Delay-The-Auto-Sleep-Mode-On-The- iPad.htm
     Cheers, Tom

  • In Mail, is there any way to prevent the ampersand 20 symbol in downloaded attachments?

    Long title, but as it suggests, every time I download an attachment in Mail that has a space in the title, Mail puts in %20 to replace the space (ascii symbol for space).  I'd like to prevent this and have attachments stored under the name they are sent.  Any way to do this?

    Is there any way to prevent the OS from querying the Superdrive when start
    No
    he OS queries the drive slot to see if there is a disc present.
    How can you tell? Based on the noise it makes?

  • Is there a way to prevent an image from turning blue when selecting it?

    I'm exported a pdf from InDesign that will be used as a brochure for one of the exhibitions at our museum. I'm wondering if there's any way to prevent an image from turning blue when a reader clicks on it. Since all of the images are works of art, I'd rather that they not change color when people click on them.
    I changed the security settings so the images couldn't be copies, hoping that would prevent the blue square, but it didn't help.
    thanks for any suggestions.
    Chris

    There are several ways to do that and here are but two of them.
    1. If you want to make a new image you can right click on the channel, click on Duplicate Channel and under Destination>Document, select New
    2. If you want to add a new layer to your document, click on the channel in the channels panel, go to Select>All, then Edit>Copy, click on RGB in the channels panel and then Edit>Paste

Maybe you are looking for