Hi Craig,
>
>>>In getexpr if I use my own functions, like GetDescription(town,'towns','town','fullname') I always have an error: 'Invalid subscribe (?) reference' (or something similar). This Error could be ignored. Now is my question: how can I catch this error and in this case do nothing. All other errors should be treated as 'normal' errors.
>>
>>Nadya,
>>
>>If you are getting an error, something is wrong. It could be that GetDescription is an internal function used by VFP. I've seen this before. I had a function called IsLead that would give me a similar error.
>
> I tried Help on GetDescription and it seems like it's not a VFP function. Anyway, I'm getting this error in each my function, like GetLotSizeSqFt or GetCondoname, which are definitely not VFP functions. I'll try getexp from command window and see, if I will receive the same Error.
>
I tried getexpr to gg from command window and it works fine. So, the problem is in the program. Actually, I asked this question not for me, but for my colleague. We will do some futher investigations.
Thanks for your help.
If it's not broken, fix it until it is.
My Blog