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. VBA data storage the text box way

VBA data storage the text box way

Scheduled Pinned Locked Moved The Weird and The Wonderful
data-structuresquestion
13 Posts 11 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.
  • H Offline
    H Offline
    hairy_hats
    wrote on last edited by
    #1

    Me (paraphrasing): No, colleague, putting each one of a list of 24 values into its own text box is not an efficient method of data storage. How about putting them into an array, then you can reference them by number. Colleague: I didn't know about arrays. Me: (stunned silence) Colleague: I use gotos to get to the code that reads data from the right text box. Me: Modern programming recommendations are that you keep usage of gotos to a minimum because it makes determining program flow very difficult. Colleague: Really? Me: :doh:

    F R N M B 5 Replies Last reply
    0
    • H hairy_hats

      Me (paraphrasing): No, colleague, putting each one of a list of 24 values into its own text box is not an efficient method of data storage. How about putting them into an array, then you can reference them by number. Colleague: I didn't know about arrays. Me: (stunned silence) Colleague: I use gotos to get to the code that reads data from the right text box. Me: Modern programming recommendations are that you keep usage of gotos to a minimum because it makes determining program flow very difficult. Colleague: Really? Me: :doh:

      F Offline
      F Offline
      fjdiewornncalwe
      wrote on last edited by
      #2

      There comes a time when some should consider alternate career paths. I believe the local Burger King is hiring.

      I wasn't, now I am, then I won't be anymore.

      S 1 Reply Last reply
      0
      • F fjdiewornncalwe

        There comes a time when some should consider alternate career paths. I believe the local Burger King is hiring.

        I wasn't, now I am, then I won't be anymore.

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

        He or his colleague ;)

        (yes|no|maybe)*

        A 1 Reply Last reply
        0
        • H hairy_hats

          Me (paraphrasing): No, colleague, putting each one of a list of 24 values into its own text box is not an efficient method of data storage. How about putting them into an array, then you can reference them by number. Colleague: I didn't know about arrays. Me: (stunned silence) Colleague: I use gotos to get to the code that reads data from the right text box. Me: Modern programming recommendations are that you keep usage of gotos to a minimum because it makes determining program flow very difficult. Colleague: Really? Me: :doh:

          R Offline
          R Offline
          RobCroll
          wrote on last edited by
          #4

          Probably thinks he's a data visualization expert. :-\

          "You get that on the big jobs."

          1 Reply Last reply
          0
          • H hairy_hats

            Me (paraphrasing): No, colleague, putting each one of a list of 24 values into its own text box is not an efficient method of data storage. How about putting them into an array, then you can reference them by number. Colleague: I didn't know about arrays. Me: (stunned silence) Colleague: I use gotos to get to the code that reads data from the right text box. Me: Modern programming recommendations are that you keep usage of gotos to a minimum because it makes determining program flow very difficult. Colleague: Really? Me: :doh:

            N Offline
            N Offline
            Nathan D Cook
            wrote on last edited by
            #5

            Is the colleague actually a programmer? If so, I echo said "stunned silence".

            1 Reply Last reply
            0
            • S StM0n

              He or his colleague ;)

              (yes|no|maybe)*

              A Offline
              A Offline
              AspDotNetDev
              wrote on last edited by
              #6

              Let's just say that somebody should goto Burger King. ;)

              [Managing Your JavaScript Library in ASP.NET]

              F S L 3 Replies Last reply
              0
              • A AspDotNetDev

                Let's just say that somebody should goto Burger King. ;)

                [Managing Your JavaScript Library in ASP.NET]

                F Offline
                F Offline
                Firo Atrum Ventus
                wrote on last edited by
                #7

                Me, Me,,, I'm hungry But my boss is staring this way :~

                1 Reply Last reply
                0
                • A AspDotNetDev

                  Let's just say that somebody should goto Burger King. ;)

                  [Managing Your JavaScript Library in ASP.NET]

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

                  And he shall never return... unless he got some burgers with him :laugh:

                  (yes|no|maybe)*

                  1 Reply Last reply
                  0
                  • A AspDotNetDev

                    Let's just say that somebody should goto Burger King. ;)

                    [Managing Your JavaScript Library in ASP.NET]

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #9

                    Ok, you convinced me. I will do that right after work.

                    "I just exchanged opinions with my boss. I went in with mine and came out with his." - me, 2011 ---
                    I am endeavoring, Madam, to construct a mnemonic memory circuit using stone knives and bearskins - Mr. Spock 1935 and me 2011

                    1 Reply Last reply
                    0
                    • H hairy_hats

                      Me (paraphrasing): No, colleague, putting each one of a list of 24 values into its own text box is not an efficient method of data storage. How about putting them into an array, then you can reference them by number. Colleague: I didn't know about arrays. Me: (stunned silence) Colleague: I use gotos to get to the code that reads data from the right text box. Me: Modern programming recommendations are that you keep usage of gotos to a minimum because it makes determining program flow very difficult. Colleague: Really? Me: :doh:

                      M Offline
                      M Offline
                      musefan
                      wrote on last edited by
                      #10

                      So it sounds like he has effectively implemented his own array, albeit with poor choices in how to store and access the data, but I think that shows good logic. After all, he doesn't know what an array is, yet he has decided an array style function is the best approach. He may not have the "experience" of a great developer, but being able to think for himself is a good thing. I think too many programmers are around that just do what the book says, and therefore struggle to be creative when a need arises for something that has yet to be documented.

                      I may or may not be responsible for my own actions

                      B 1 Reply Last reply
                      0
                      • H hairy_hats

                        Me (paraphrasing): No, colleague, putting each one of a list of 24 values into its own text box is not an efficient method of data storage. How about putting them into an array, then you can reference them by number. Colleague: I didn't know about arrays. Me: (stunned silence) Colleague: I use gotos to get to the code that reads data from the right text box. Me: Modern programming recommendations are that you keep usage of gotos to a minimum because it makes determining program flow very difficult. Colleague: Really? Me: :doh:

                        B Offline
                        B Offline
                        BillW33
                        wrote on last edited by
                        #11

                        That is a serious gap in knowledge! :wtf: Did this person graduate with a programming related degree.

                        Just because the code works, it doesn't mean that it is good code.

                        R 1 Reply Last reply
                        0
                        • M musefan

                          So it sounds like he has effectively implemented his own array, albeit with poor choices in how to store and access the data, but I think that shows good logic. After all, he doesn't know what an array is, yet he has decided an array style function is the best approach. He may not have the "experience" of a great developer, but being able to think for himself is a good thing. I think too many programmers are around that just do what the book says, and therefore struggle to be creative when a need arises for something that has yet to be documented.

                          I may or may not be responsible for my own actions

                          B Offline
                          B Offline
                          BillW33
                          wrote on last edited by
                          #12

                          If the "colleague" was a high school intern who has never taken a programming class, then yes their logical abilities show promise and they could be trained. However, if this is someone with a degree in programming then they really missed some very basic stuff. :omg:

                          Just because the code works, it doesn't mean that it is good code.

                          1 Reply Last reply
                          0
                          • B BillW33

                            That is a serious gap in knowledge! :wtf: Did this person graduate with a programming related degree.

                            Just because the code works, it doesn't mean that it is good code.

                            R Offline
                            R Offline
                            Rob Grainger
                            wrote on last edited by
                            #13

                            The degree bit is not relevant - I'm self-taught, but can read books too. This is really really basic.

                            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