Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. nqramjets

    Hanging object reference from trifecta of Type(), _Access(), and .Parent [SOLVED]

    This took two days to track down, so I figured it deserved posting for posterity. We came upon a situation where the simple solution to our problem was to add an _Access method to an object-type property which would go dynamically retrieve the requested object for us. In another segment of...
  2. nqramjets

    Using Sql Server AlwaysEncrypted back-end for VFP application

    We're investigating the possibility of using Sql Server 2017's AlwaysEncrypted functionality in our VFP 9 based application. Enabling this involves swapping out the connection string form Driver={Sql Server} for something newer which supports Always Encrypted, like Sql Server Native Client 11.0...
  3. nqramjets

    Preventing or disabling the backtick-escape "feature" in foxpro

    Hmm, perhaps your keyboard layout is different from mine, because for me a backtick-space combination results in CHR(0) every time. Either way, the ON KEY LABEL is a good idea. I'm a bit reluctant to try and handle it in our framework editbox level because we have several with instance-level...
  4. nqramjets

    Preventing or disabling the backtick-escape "feature" in foxpro

    We've recently run into a scenario where a user had accidentally hit the backtick character while doing data entry in an editbox (VFP9). In this case they actually typed the sequence ` (backtick - space), which result in a NUL char '\0' being inserted. This edit box is bound to a remote view...
  5. nqramjets

    Setting hidden properties in Init via DoDefault breaks Hidden visibility

    I feel justified if olaf hasn't seen it before!
  6. nqramjets

    Setting hidden properties in Init via DoDefault breaks Hidden visibility

    I know! I noticed that too, which is even more bizarre...[ponder]
  7. nqramjets

    Setting hidden properties in Init via DoDefault breaks Hidden visibility

    This seems to just be a bug. (VFP9 SP2) Can anyone confirm that this is strange behavior and that I'm not crazy, or is this something that can be explained away somehow? This may be related to the thread 626553 I laid out all 3 permutation that are worth investigating in the Case comments in...
  8. nqramjets

    VCX : Platform = COMMENT, UniqueId = RESERVED, Properties = Font Arial, blah blah...

    Thanks Olaf, I agree with you that they mustn't be written there by accident, but also find it interesting that they will not be present unless some font has been changed for that class definition; Others are simply blank. This actually came up as part of some research into 2-way VFPSource <->...
  9. nqramjets

    VCX : Platform = COMMENT, UniqueId = RESERVED, Properties = Font Arial, blah blah...

    In a VCX a class definition is terminated by Platform = WINDOWS, UniqueId = RESERVED row. If this is the class definition of a form (for example), updating the Font in the IDE will cause the closing COMMENT row to include Font data in the property field. From experimentation this appears to be...
  10. nqramjets

    Listing declared variables programmatically

    Olaf/DanFreeman: Thanks guys, perhaps that's actually the best solution. I'm afraid this is just one of those things that I couldn't quite do in a nice way so it's probably not worth hacking together. The only other thing I could think of would be to have a settings object with all of the user...
  11. nqramjets

    Listing declared variables programmatically

    Hi All, Olaf: Of course the code outside does not use it, but the next script which I run inside the wrapper might. This is exactly why I'm trying to hide these when they're produced. There are common parameter variable names like glUpdate or gcFile which I am interested in removing just to be...
  12. nqramjets

    Listing declared variables programmatically

    Hi Olaf, Thanks for the post. I had forgotten that PRIVATE can hide PUBLIC variables. I'm actually not getting the desired behavior. You're code works correctly only when the public variable declared has a name which matches the public variable in the outside scope. Notice that gcTest2...
  13. nqramjets

    Listing declared variables programmatically

    Oops, there's a bug in that for all globals.... Here we go: CLEAR MEMORY CLEAR * * Example data * PUBLIC goVal, gcVal gcVal = "Public Variable" goVal = CREATEOBJECT("Empty") pcVal = ["Private Variable"] poVal = CREATEOBJECT("Empty") LOCAL lcVal as String LOCAL loVal as Object LOCAL ARRAY...
  14. nqramjets

    Listing declared variables programmatically

    Thanks Mike, I was trying to avoid the step where we write to disk, but that's okay. I thought maybe you had some kind of slick trick to list them I missed. I've always wanted something like AMEMORY() or AVARIABLES() to just get a list... Oh well. I wasn't aware of the LIST OBJECT command at...
  15. nqramjets

    Listing declared variables programmatically

    I'm looking for a way to list or capture the declared variables programmatically, along with their values. MikeLewis refers to an error handler written entirely in FoxPro which sounds like it does exactly this in this thread: thread184-1687712. Here is the motivation: We have a wrapper which...

Part and Inventory Search

Back
Top