Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Weird and The Wonderful
  4. Shocking.

Shocking.

Scheduled Pinned Locked Moved The Weird and The Wonderful
phpcom
7 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mel Padden
    wrote on last edited by
    #1
                        AsOfDateBlankLabels();
    		if (this.g\_eFormMode != PortfolioDetailFormMode.Portfolio\_Edit)
    		{
    			c\_boolSetDefaultValues = false;
    		}
    
    		//must be set to true going forward:
    		c\_boolSetDefaultValues = true; 
    

    I need say no more. And before you ask, AsOfDateBlankLabels doesn't use it. At all.

    Smokie, this is not 'Nam. This is bowling. There are rules. www.geticeberg.com http://melpadden.wordpress.com

    P B 2 Replies Last reply
    0
    • M Mel Padden
                          AsOfDateBlankLabels();
      		if (this.g\_eFormMode != PortfolioDetailFormMode.Portfolio\_Edit)
      		{
      			c\_boolSetDefaultValues = false;
      		}
      
      		//must be set to true going forward:
      		c\_boolSetDefaultValues = true; 
      

      I need say no more. And before you ask, AsOfDateBlankLabels doesn't use it. At all.

      Smokie, this is not 'Nam. This is bowling. There are rules. www.geticeberg.com http://melpadden.wordpress.com

      P Offline
      P Offline
      phil o
      wrote on last edited by
      #2

      Where's the problem ? It compiles... :p /me running

      R 1 Reply Last reply
      0
      • P phil o

        Where's the problem ? It compiles... :p /me running

        R Offline
        R Offline
        richiej
        wrote on last edited by
        #3

        Did I read it wrong but it looks the the "c_" variable will always be true

        P 1 Reply Last reply
        0
        • R richiej

          Did I read it wrong but it looks the the "c_" variable will always be true

          P Offline
          P Offline
          phil o
          wrote on last edited by
          #4

          Exactly ; there's no point here to set it to false in the if statement as it is assigned to true just right after.

          S 1 Reply Last reply
          0
          • M Mel Padden
                                AsOfDateBlankLabels();
            		if (this.g\_eFormMode != PortfolioDetailFormMode.Portfolio\_Edit)
            		{
            			c\_boolSetDefaultValues = false;
            		}
            
            		//must be set to true going forward:
            		c\_boolSetDefaultValues = true; 
            

            I need say no more. And before you ask, AsOfDateBlankLabels doesn't use it. At all.

            Smokie, this is not 'Nam. This is bowling. There are rules. www.geticeberg.com http://melpadden.wordpress.com

            B Offline
            B Offline
            Bert Mitton
            wrote on last edited by
            #5

            That's what you get when you pay coders by the line. :laugh: Heck, sometimes they'll even throw in documentation!

            H 1 Reply Last reply
            0
            • B Bert Mitton

              That's what you get when you pay coders by the line. :laugh: Heck, sometimes they'll even throw in documentation!

              H Offline
              H Offline
              hairy_hats
              wrote on last edited by
              #6

              Bert Mitton wrote:

              documentation

              What? :confused:

              1 Reply Last reply
              0
              • P phil o

                Exactly ; there's no point here to set it to false in the if statement as it is assigned to true just right after.

                S Offline
                S Offline
                StM0n
                wrote on last edited by
                #7

                Sorry... it is in there for Justin Case ;)

                (yes|no|maybe)*

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups