Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A member object with this name already exists 1

Status
Not open for further replies.

alank01

Programmer
Jun 11, 2001
21
US
i would like to create a new class named 'application' based on custom and store in custom.vcx. i receive the above mentioned message. it irks me because i have seen this exact name used before ('applicatio' without the 'n' does work, as would +'ns'). i think it relates to the current instance of foxpro, as an application object can be referenced via 'application', as in ? application.caption returns 'Microsoft Visual Foxpro'. can someone enlighten me. thks. s-)
 
I suggest using a different name. You answered the question yourself. Application.XXXXXXX refers to the application. The applies to variable with the same name as functions.
 
For an alternate explanation, do:
help reserved words

Depending on context and syntax limitations, reserved words can't or shouldn't be used.

Rick
 
thks for yr input. i think the way the class name 'application' was used was by opening up custom.vcx table and changing the memo fields to name='application'. by hacking the vcx table the class name had an association outside of _vfp application before creation and works fine! point taken about using a reserved word though, this is an inherited project! thks again. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top