>>>I need an persistant object variable that is not affected by the clear or release commands (any options). Is this possible?
>>>
>>>I dont want to recode using to use the except option, I just need a persistant object variable.
>>>
>>>TIA
>>
>>There is a way to do this, although your code readability will suffer. VFP's system variables never lose their value, even when commands like CLEAR ALL or RELEASE ALL are issued. You could employ one of these variables that you don't use in your application to hold a value you need. There variables are typed, so therefore you'll have to use a date system variable for a date data type, and so forth. One example of a system variable that isn't widely used anymore is _FOXDOC (at least I don't think so). See the VFP Help file under system variables.
>>
>>HTH
>
>We need to hold an object and we could not find one that is for an object.
>Do you know one?
My apologies. I didn't read your original post closely enough. The only one I know of is _SCREEN, and you might need that. :)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only