• WSAlexya1

    WSAlexya1

    @wsalexya1

    Viewing 15 replies - 91 through 105 (of 410 total)
    Author
    Replies
    • in reply to: Help needed parsing string… (97 SR-2) #739148

      Thanks Mark!

      I have it working now… We’ll be upgrading soon… The boss said “Not until AFTER year end!” laugh

      I like your idea about “standard format for incoming data“… BUT
      rofl Ever heard of ADP?? ‘Nuff said… wink

    • in reply to: Help needed parsing string… (97 SR-2) #739149

      Thanks Mark!

      I have it working now… We’ll be upgrading soon… The boss said “Not until AFTER year end!” laugh

      I like your idea about “standard format for incoming data“… BUT
      rofl Ever heard of ADP?? ‘Nuff said… wink

    • in reply to: Help needed parsing string… (97 SR-2) #739142

      I agree with you Hans… When I started in this department I found that there were TONS of make table queries in about every mdb I looked at…. I almost never use them now… Except during the design process… OR when a query is getting way too slow because of the amount of levels of joins and subqueries…

      Someone much more experienced than I once told me “If you have to make tables during daily processing… the database design isn’t right… ” …In most cases, if not all, I agree with him…

      This seems to be processing in a reasonable amount of time at this point, so I’ll leave it for now…
      Again… Thanks a million!

    • in reply to: Help needed parsing string… (97 SR-2) #739143

      I agree with you Hans… When I started in this department I found that there were TONS of make table queries in about every mdb I looked at…. I almost never use them now… Except during the design process… OR when a query is getting way too slow because of the amount of levels of joins and subqueries…

      Someone much more experienced than I once told me “If you have to make tables during daily processing… the database design isn’t right… ” …In most cases, if not all, I agree with him…

      This seems to be processing in a reasonable amount of time at this point, so I’ll leave it for now…
      Again… Thanks a million!

    • in reply to: Help needed parsing string… (97 SR-2) #739108

      Okay… It’s settled… I’m a complete idiot today!

      I had commented out the last line of Mark’s function… GetMonthPosRev = intPos + 1… because I didn’t want it to add one to the position…
      So guess what?… The function was returning 0…
      stupidme

      I’m kinda concerned about the efficiency of these functions though… Maybe I’m wrong (Very Probably!!!) but I was stepping through the code and mannn does it do a lot of looping for each string… The query is using this on over 50,000 records… Who knows… I suppose something similar is happening behind the scenes when I use InStr() too… Oh well…

      It works!!! …Thank you both VERY VERY MUCH for the help!!!!!! thankyou hugs kiss cloud9 thankyou

    • in reply to: Help needed parsing string… (97 SR-2) #739109

      Okay… It’s settled… I’m a complete idiot today!

      I had commented out the last line of Mark’s function… GetMonthPosRev = intPos + 1… because I didn’t want it to add one to the position…
      So guess what?… The function was returning 0…
      stupidme

      I’m kinda concerned about the efficiency of these functions though… Maybe I’m wrong (Very Probably!!!) but I was stepping through the code and mannn does it do a lot of looping for each string… The query is using this on over 50,000 records… Who knows… I suppose something similar is happening behind the scenes when I use InStr() too… Oh well…

      It works!!! …Thank you both VERY VERY MUCH for the help!!!!!! thankyou hugs kiss cloud9 thankyou

    • in reply to: Help needed parsing string… (97 SR-2) #739057

      Thanks Hans… Now it’s returning 0 for the position for every record… I don’t know what’s wrong at the moment but I guess I’ll have to keep trying… It was working find the first way I had it….. except now with this exception… hairout

      I really think I need to go forward and check for “Chr(32) MMM Chr(32) and a number” or “Chr(32) MMM and a number”… but right now, I don’t have a clue how…

      This HAS to happen at Year End right?? crazy

    • in reply to: Help needed parsing string… (97 SR-2) #739058

      Thanks Hans… Now it’s returning 0 for the position for every record… I don’t know what’s wrong at the moment but I guess I’ll have to keep trying… It was working find the first way I had it….. except now with this exception… hairout

      I really think I need to go forward and check for “Chr(32) MMM Chr(32) and a number” or “Chr(32) MMM and a number”… but right now, I don’t have a clue how…

      This HAS to happen at Year End right?? crazy

    • in reply to: Help needed parsing string… (97 SR-2) #739028

      Thanks Mark… but I’m still having problems… Since I can’t use InStrRev, I have no clue how I was supposed to adapt this for my purposes…
      I must be brain dead today… Sorry… stupidme

      We really need a smilie for STRESSED OUT!! laugh

    • in reply to: Help needed parsing string… (97 SR-2) #739027

      Thanks Mark… but I’m still having problems… Since I can’t use InStrRev, I have no clue how I was supposed to adapt this for my purposes…
      I must be brain dead today… Sorry… stupidme

      We really need a smilie for STRESSED OUT!! laugh

    • in reply to: First of month entry in Form (Access XP) #739007

      Hi Colin…

      Why not do something like only showing the user a combo box with the Month name?
      ie… They select that the person wants to start in March or May or whatever… Behind the scenes on the form you take that value and fill a date field with the correct date…

      If you don’t want the users to be able to input a date and chance that they get it wrong, don’t let them input a date at all…. Only give them a choice… smile
      and PLEASE tell me that they are not going into the tables and making changes as they wish…

    • in reply to: First of month entry in Form (Access XP) #739008

      Hi Colin…

      Why not do something like only showing the user a combo box with the Month name?
      ie… They select that the person wants to start in March or May or whatever… Behind the scenes on the form you take that value and fill a date field with the correct date…

      If you don’t want the users to be able to input a date and chance that they get it wrong, don’t let them input a date at all…. Only give them a choice… smile
      and PLEASE tell me that they are not going into the tables and making changes as they wish…

    • in reply to: First of month entry in Form (Access XP) #739001

      Wait a minute… I just realized that I misunderstood… Are they going to be able to choose ANY month in the future??… For example, IF I sign up today, can I start a year and a half from now, on the first of the month?

    • in reply to: First of month entry in Form (Access XP) #739002

      Wait a minute… I just realized that I misunderstood… Are they going to be able to choose ANY month in the future??… For example, IF I sign up today, can I start a year and a half from now, on the first of the month?

    • in reply to: First of month entry in Form (Access XP) #738991

      Just a thought, but why don’t you put a combobox on the form that has two values…
      FirstOfMonth… DateSerial(Year(Date()),Month(Date()),1)
      FirstOfNextMonth… DateSerial(Year(Date()),Month(Date())+1,1)
      That way the user would only be able to choose one of the two…

      Does that help?

    Viewing 15 replies - 91 through 105 (of 410 total)