>>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.