>>Ed,
>>
>>>>>>can you start a cursor name w/ a numeric value?
>>>>>
>>>>>Nope, or form properties/methods and object names, or field names.
>>>>
>>>>It's a FP limitation. You MUST start from letter. Try this:
>>>>
>>>
>>>or an _
>>
>>You can use _, but it's mostly for system variables, like _mline or _tally.
>
>>Huh? Where did it ever say that in any of the VFP docs? It may be a naming >standards decision for your development group, but it's always been an >acceptable prefix for fields as long as name collisions don't occur.
>
>That is exactly right. There's nothing in VFP stopping you from doing it, or even suggesting that you shouldn't. But I have heard in the past (mainly from my schooling in C++) that I should only use _ to start a variable name for system variables. However, I haven't heard of anything in ANY language that makes this a manditory restriction
>
Yep, again it's a naming convention, and _ is used by some of the name manglers that link things togther in C++. The main thing here is that VFP doesn't enforce any standard naming convention on you, even if you do really, really silly things like using reserved names or even system variable names for field names (I can show you some really horrible FPDOS code with a field named _PCOLNO that had all sorts of interesting side effects in combination with macro expansion used with reports built using @...SAY). You'll find VFP violates some of its own rules for itself - look at the structure of the LABELS DBF that comes with VFP, and you'll find a bunch of reserved words as field names. The docs tell you that you have to start a name with an alpha character or an underscore IAC.
>Paul A. Busbey
>I.S. Department
>Sparagowski & Associates