Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Structural .CDX file is not found
Message
From
12/11/2009 06:29:30
 
 
To
12/11/2009 06:08:14
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:
01434356
Views:
40
Agnes,
This code fail in runtime also.. this bug I'v got from customer.. when I open the code.. I was also surprised.. and begin to debug..
So.. the problem does not depends from Debug window and variables defined in watch window... also.. in just started vfp version.. when I use command window I can open this DBF without problem.
I even copy variables values and execute selection in vfp command window.. NO PROBLEM.. just in class method code - it always produce an error... hmmmmm..... maybe class demage... realy no idea.


>A DISPLAY STATUS would show the setting.
>But if the code fails in the debugger suspend there. Try to open the table from comand window without stoping (just keep it suspended) the code.
>
>If this works the problem is by files included into an app, if it fails it's an setting.
>
>See example
>
>Agnes
>
>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)
>debug
>suspend
>ENDTRY
>*will stop here in case of error, just run the line from command window
>Return(SPACE(0))
>
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform