Year (Now ()) does not not in the rules

Can someone tell me why the year now does not work in our rules of procedure? If I have the code for the current year, it works very well, but not by the following:

If vCurrScen2 = 'P' and pov_year > Year (Now ()) then
If POV_Period < 11 may
HS. "A cost of #FM MFG" EXP & nuns & "= S #Forecast.A MFG #Cost.» «P #Next.W #Periodic ' & Tops & ' + S #Forecast.A MFG #Cost.» P #Next + 1.W #Periodic' & Tops
Else if pov_period = 11 then
HS. "A cost of #FM MFG" EXP & nuns & "= S #Forecast.A MFG #Cost.» «P #Next.W #Periodic ' & Tops & ' + S #Forecast.A MFG #Cost.» "Y #Next.P #Jan.W #Periodic" & Tops
Else if pov_period = 12 Then
HS. "A cost of #FM MFG" EXP & nuns & "= S #Forecast.A MFG #Cost.» «Y #Next.P #Jan.W #Periodic "& Tops & ' + S #Forecast.A MFG #Cost.» "Y #Next.P #Feb.W #Periodic" & Tops
End If
End If

It works fine if I use the following syntax:

If vCurrScen2 = 'P' and pov_year > then '2010'
If POV_Period < 11 may
HS. "A cost of #FM MFG" EXP & nuns & "= S #Forecast.A MFG #Cost.» «P #Next.W #Periodic ' & Tops & ' + S #Forecast.A MFG #Cost.» P #Next + 1.W #Periodic' & Tops
Else if pov_period = 11 then
HS. "A cost of #FM MFG" EXP & nuns & "= S #Forecast.A MFG #Cost.» «P #Next.W #Periodic ' & Tops & ' + S #Forecast.A MFG #Cost.» "Y #Next.P #Jan.W #Periodic" & Tops
Else if pov_period = 12 Then
HS. "A cost of #FM MFG" EXP & nuns & "= S #Forecast.A MFG #Cost.» «Y #Next.P #Jan.W #Periodic "& Tops & ' + S #Forecast.A MFG #Cost.» "Y #Next.P #Feb.W #Periodic" & Tops
End If
End If

It drives me crazy because it works in another calculation very well.

Any help will be greatly appreciated!

Published by: user4631789 on March 12, 2010 10:21

Total shot in the dark, I do not have my result of test app, but don't: work cstr (year (now ()))?

Tags: Business Intelligence

Similar Questions

  • Game of Backgammon Microsoft does not know the rules of the game

    Again, I have here asking you to play the game of backgammon Microsoft ~ it's a shame, really.  Embarrassing for Microsoft.  The Microsoft backgammon game computer does not have the basic backgammon rules.  He knows nothing of any strategy.  He doesn't know how to play.  He doesn't know how to work the scores.  He doesn't know the same basic movements.  It is llike playing CandyLand with a child.  Please, please fix this game.

    Do not play the computer.  It is worthless.

  • spam does not follow the rules

    Why junk mail circumvents the rules? Is there a way around it?

    I'm getting, daily mail of a spammer, I tried implementing the rules of email and when I click on 'Apply' they work, but when the mail comes, once again, it goes straight to the Junk rather than follow the rule, I put in place.

    You can bypass spam filters and use a 3rd party like application

    SpamSieve.  You can expect 99, 8-99, 9% accuracy that you train the Spam folder.

    Buy one once, the best $ I ever spent and extremely easy to use.

  • using bitlocker to encrypt the hard drive but the computer now does not recognize the hard drive.

    I use a computer, provided by the company, with the OS Windows 7 Enterprise.

    Is connected a drive 2.5 inch 500G external hard, of WD.

    Using BitLocker to lock the hard drive and with a document of the company. And, later, you unlock the hard drive with the same computer. Status ok. However, I connect the HD to any other device, but no HD were found. Then I plug the HD again with my computer, the BitLock software are not really able to the HD has recognized and sometimes rapidly upward and ask for the key to recovery.

    I tried to use the key (txt file), but still no success.

    I called the hotline of Microsoft and was re-directed I post my question here.

    Appreciated if anyone in this community can help...

    My computer is LEnovo X 201.

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the Forum TechNet site:

    http://social.technet.Microsoft.com/forums/en/w7itproperf/threads

  • PS does not open the .cr2 files

    PC crashed. After re - install my version of Bridge CS3 and PS will not open then .cr2 files they have open these files before crash. Always able to open the same files in Lightroom. Please guide me to answer what the marriage of a friend of the girl in 2 weeks and now am sweating bullets. Is it drivers, camera (Canon 50 d) or something else?

    TIA

    Plug in Camera Raw does not follow the rules of initiation to computing.

    Should I advised you to read the instructions on the download page.

    You must delete or move the original plugin from:

    C:\Program Files\Fichiers Adobe Plug-Ins\CS3\File Formats

    And then place the downloaded version 4.6 in there.

    It will not overwrite the old, which must go!

    (To be sure of success, make a search for other instances of the Camera Raw.8bi file and delete them.)

  • 5 c does not recognize the sim card

    I got a plan on the development of media and 5 c. Phone is unlocked and now does not recognize the sim card. What should do?

    What is the error message you get?

  • Product key does not validate the reinstallation of Windows XP.

    Original title: validation after reinstall.

    I had to wipe the hard drive of my laptop and re - install xp media a friend disc ed.

    Laptop was supplied with xp media ed installed in 2005, but the product to the rear of the machine key now does not match the key on disk

    How to validate the new facility to access updates etc?

    Thanks for yr help

    Jon S

    Your friends drive is most likely a "Retail" XP version which has its own product key. In most cases, you can reinstall XP using 'Reticular' media and then activate with your OEM. Is that what you did?

    ============================================

    How to activate Windows XP
    http://support.Microsoft.com/kb/307890/en-us

    See the section titled: "how to activate Windows XP by phone.
    Also, make sure that you do not confuse the product key numbers and letters
    (number 8 for the letter B, etc.)

    ===================================================================

    Blank page to activate Windows in the wizard of Windows Product Activation
    http://support.Microsoft.com/kb/314935

    How to contact a Microsoft Product Activation Center:
    http://support.Microsoft.com/default.aspx/KB/950929/en=us

    Microsoft Activation centers worldwide telephone numbers:
    http://www.Microsoft.com/licensing/existing-customers/activation-centers.aspx
    (This site is for activating Volume License, but if you call, they will help you)

    The phone number is not working:
    Microsoft Wordwide contacts: http://www.microsoft.com/worldwide/default.aspx

    Once Windows activated / Genuine Advantage Notifications:
    http://www.Microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=afd45b36-3d77-4259-801c-d31a9a90cdcf
    (This tool will confirm that the copy of Windows installed on your PC is genuine and authorized)

    J W Stuart: http://www.pagestart.com

  • BIOS Inspiron 2305 does not detect the drive in ahci mode

    The hard drive in my Inspiron one 2305 crushed and I tried to install a 500 GB Seagate Barracuda drive.

    The Bios does not detect the drive. I noticed that the SATA in the BIOS mode option has been put on AHCI. I changed the ATA mode and the BIOS has detected the drive.

    However when I try to install a clean version of Windows 7 (Dell OEM disc), to halfway to the installation Setup will fail. I noticed that the reason why it will fail, is that the installation process now does not see the hard drive.

    Can someone tell me what steps to take to do the installation?

    theFlash1932 and natacuk4

    Although I was not able to swap the Sata cables as natacuk4 suggested; It looks like just unplug and reinstallation of cables Sata what it did the trick!

    I was able to boot the system several times and it seems that everything works fine.

    Thank you guys for helping me solve this problem!

  • my iphone 5 s has been disabled. I'm trying to restore my iphone with itunes and itunes asks me to put the password for my iphone. but my iphone does not display the unlock screen. What should I do now?

    my iphone 5 s has been disabled. I'm trying to restore my iphone with itunes and itunes asks me to put the password for my iphone. but my iphone does not display the unlock screen. What should I do now?

    Hello

    Follow the instructions here:

    If you have forgotten the password for your iPhone, iPad or iPod touch, or your device is disabled - Apple supports

  • I uninstalled flash on my mac now youtube videos will not play. the error says safari does not recognize the video formats available.

    I uninstalled flash on my mac now youtube videos will not play.

    the error says safari does not recognize the video formats available.

    Reinstall the Flash Player... Why did you remove it?

    Barry

  • I have a My Passport to the top by car and I get error messages on this to be ejected (although it was still connected). Now my computer does not recognize the drive. All solutions?

    I have a My Passport to the top by car and I get error messages on this to be ejected (although it was still connected). Now my computer does not recognize the drive. All solutions?

    Drive, interface in the crankcase of training controller, or the USB port or the cable may be faulty.

  • I tried to update OSX 10.5.6 to leopard 10.6.3 and was not working due to a disk error but now my mac book does not, as the starting system, but after a few secons it will turn off itself, what should I do? Thank you very much!

    I tried to update OSX 10.5.6 to leopard 10.6.3 and was not working due to a disk error but now my mac book does not, as the starting system, but after a few secons it will turn off itself, what should I do? Thank you very much!

    You probably should have updated to 10.5.8 first.

    Installation or update of Snow Leopard:

    http://manuals.info.Apple.com/en_US/Snow_Leopard_Installation_Instructions.PDF

  • Hello! I restored my iPhone 5 because IOS 9.2 does not work well, and now the IPhone does not recognize the SIM CARD ☹️ please someone help me! What can I do?

    Hello!! Recently, I have restored my iPhone 5 because IOS 9.2 does not work well. But now my iPhone does not recognize the SIM CARD.

    I Don' t know what to do, help me please

    You get an error message?

    What did he say?

  • On the Extensions Safari page - 'Install now' does not appear

    Hello!

    On the page Extensions Safari - lettering 'Install now' does not appear!

    I have deleted all the extensions, the folders and files to library - nothing has worked!

    Thanks for any help,

    Hans,

    Action Berlin ;-)

    Please read this message before doing anything.

    This procedure is a test, not a solution. Don't be disappointed when you find that nothing has changed after you complete it.

    Step 1

    The goal of this step is to determine if the problem is localized to your user account.

    Select the feedback connections* and log in as a guest. Do not use the Safari connection only 'user comments' created by 'find my Mac '.

    While signed in as a guest, you will have access to your documents or settings. Applications will behave as if you use them for the first time. Do not be alarmed by this behavior; It's normal. If you need any password or other personal information in order to complete the test, save, print, or write them before you start.

    Test while signed in as a guest. Same problem?

    After testing, log on to the guest account and in your own account, disable it if you wish. The files that you created in the guest account will be automatically deleted when you log out of it.

    * Note: If you have enabled 'find my Mac' or FileVault, then you cannot activate the guest account. The login 'User comments' created by 'Find my Mac' is not the same. Create a new account to test and delete it, including his home folder, after testing.

    Step 2

    The goal of this step is to determine if the problem is caused by changes in the system of third party that load automatically at startup or logon, by a device, by a police conflict or corruption of system files or some system caches.

    Please take this step regardless of the results of step 1.

    Disconnect all devices wired except those required to test and remove all the expansion cards from secondary market, as appropriate. Start in safe mode and log on to the account of the problem.

    Note: If FileVault is enabled in OS X 10.9 or an earlier version, or if a firmware password is defined, or if the boot volume is a software RAID, you can not do this. Ask for additional instructions.

    Safe mode is much slower to boot and run as normal, with limited graphics performance, and some things work at all, including an audio output and a Wi - Fi connection on some models. The next normal boot can also be a bit slow.

    The login screen is displayed even if you normally connect automatically. You need your password to log on. If you have forgotten the password, you will have to reset it before you begin.

    Test in safe mode. Same problem?

    After testing, restart as usual (not in safe mode) and make sure you always have the problem. View the results of steps 1 and 2.

  • How can I fix the "drag and drop" feature in Windows 7? It used to work, but now does not work, for no apparent reason!

    How can I fix the "drag and drop" feature in Windows 7?  It used to work, but now does not work, for no apparent reason!

    What happens when you try?  Make sure you drag the icon image and not the text of the name.

    If it still doesn't work there are some registry changes that can try to alleviate the problem.  But because the changes to the registry are tedious and dangerous, I recommend to leave the system to repair it for you.  Here's how:
    1. Type of restore in the search box of the start menu to find and open to restore system files and settings from a restore point.
    2. Click Next, choose a date before the problem started, then click Next once more.
    • This process only takes around 2 minutes and only restores your system files/settings: it will not affect any of your files, documents, photos, emails, or anything else.
    If the system restore does not resolve the problem try this to replace missing or corrupted system files.  Here's how:
    1. Type cmd into the start menu search box, and then press Ctrl-Shift-Enter to launch as administrator.
    2. At the command prompt to start the File System Check, type sfc/scannow .

Maybe you are looking for