Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keyword query
Message
From
10/07/2012 10:22:00
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01548017
Message ID:
01548031
Views:
69
>>I must be losing the plot...
>>
>>I have the following line of code
>>
>>
>>	REPLACE IDNO WITH jcIdNo
>>
>>
>>On compiling I get the error "Command contains unrecognised phrase/keyword"
>>
>>If I change "IDNO" to be anything else it works! It is as though IDNO is a keyword. The problem is that this is a field name in an underlying table and is not something I wish to change.
>>
>>Am I missing something very basic here?
>>
>>Thanks
>>Barry Sutton
>
>
>No, IDNO is not a keyword.
>Make sure you didn't have a header file where you change IDNO to something else.

Borislav

That's it! I had a constant defined IDNO in a header file. Thanks - that would have taken me ages to locate.

Now I just have to decide if I want to change the header file or the table!

Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform