>>Is there a function in Foxpro to tell me if a name is a valid field name or do I have to write this myself?
>>
>>It seems like i've seen it somewhere but I can't seem to find it.
>
>See the fuction SYS(2015)
Luis,
The original question was: how can we check, that the name, which was typed, is a valid field name. IOW, the first character should be a letter, the rest could be letter, digit or underscore. It's easy with chrtran function.
If it's not broken, fix it until it is.
My Blog