Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug in wizard txtbtn
Message
From
01/10/1997 11:38:44
Shihchau Tai
Apic Systems Pte Ltd
Singapore, Singapore
 
 
To
30/09/1997 15:48:47
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00052053
Message ID:
00052660
Views:
32
>>>The statement TYPE("m.cChildKey")#TYPE('oAddRecKeyValue') is always .T.
>>because TYPE("m.cChildKey") is always Character type. cChildKey is assigned
>>with my key with type Integer. How do I make the code looks at my key type
>>instead of the property type.
>
>TYPE("m.cChildKey") will always return "C" because the m.cChildKey
>contains the _name_ of the real key. TYPE(m.cChildKey) (no quotes) will
>return the type of what m.cChildKey contains, i.e. the key itself. Just
>remove the quotes.

Hi! Thx for answering my question.

You answered part of my questions. However, the quotes were added in VFP5.0 to solve some 'add blank record....' kind of bug in VFP3.0. I have not used VFP3.0 before but I guess I should not be going back to the buggy code. What is your opinion?

Once again, thx.


Tai
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform