Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Structural .CDX file is not found
Message
From
12/11/2009 06:01:58
 
 
To
12/11/2009 05:57:06
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01434346
Message ID:
01434351
Views:
39
For me it looks more then strange..
This code is method of custom class. And this method always produce an error when I try USE..
So..
I start new instance of VFP.. declare variables in comamnd window and Execute Selection - all works perfect.. table is open with correct alias without any errors.. but.. the class code - always produce an error..
I just thinking.. maybe some SET directives in IDE and in application are diffrent..



>Hm sounds like a focus problem.
>
>what means debugger? Is this a prg, a code snnippet run from command window or a full app?
>
>If it is an app is the dbf included in the project?
>
>Agnes
>>Hi,
>>I am more 10 years with foxpro.. and its surpise me sometimes.. now .. I can"t find answer on very simple question...
>>
>>I have a code which work always before and don't work now :) I have an error there "Structural .CDX file is not found"
>>When I try to open this DBF from Command window - all perfect.. when I copy this code from debugger.. paste to command window - all perfect!!!!!!!!! but... during TRY/ENDTRY - I'v got an error for same code... but it does not depends from TRY/ENDTRY.. when I remove it.. same code produce error.. and same code does not produce error if I use command window in IDE...
>>
>>Some SET settings? or... I feel stupid :(
>>
>>
>>
>>LPARAMETERS tcFilename
>>
>>lcReturnAlias = "__dbfconvert"
>>
>>IF USED(lcReturnAlias)
>>	USE IN (lcReturnAlias)
>>ENDIF
>>
>>TRY
>>	USE (tcFilename) IN  0 SHARED ALIAS &lcReturnAlias
>>CATCH TO loError
>>	=MESSAGEBOX(loError.Message,16,BZT_MSG_BZT,5000)
>>ENDTRY
>>
>>Return(SPACE(0))
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform