100% I've just put #DEFINE DDOB .. in one of the method of that class. This would teach me to be more careful < g >
Thanks a lot.
>Dd you've any #DEFINEs that could affect this statement?
>>
>>I had a working class, which all of the sudden gives me a syntax error on this command:
>>
>>CREATE CURSOR c_Search ;
>> (cClient_Account_Number C(20) NULL, ;
>> cPatient_Name C(50) NULL, ;
>> dDOB D NULL, ;
>> DOS T NULL, ;
>> cProduct_Line C(60) NULL, ;
>> cUserID C(10) NULL, ;
>> cStatus C(230) NULL, ;
>> cTrans_Pk C(16) NOT NULL)
>>
>>
>>If I debug and run the same command in command window, it does create the cursor. But it doesn't work if I press resume button in the debugger.
>>
>>I re-compiled the library, but it still produces the same error. Why does this happen?
>>
>>Thanks in advance.
If it's not broken, fix it until it is.
My Blog