Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Feature not available ...
Message
 
To
08/03/2002 21:04:32
Fausto Garcia
Independent Developer
Lima, Peru
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00630499
Message ID:
00630581
Views:
28
Hi, Fausto!

I also can't find any forbidden command in your code! The only idea is: What about the &-operator?

BTW: Have you tested your code running under normal vfp runtime library? May be this is a way to use error handling to figure out the wrong line!

An additional hint about &-operator: In a lot of cases it isn't necessary to use &-operator, use the EVAL() function or name substitution instead for a better performance!

Here are some samples:

+++++
llcerrar = not USED("&tctable")
* better:
llcerrar = not USED( tctable )

+++++
SELECT * FROM &tctable INTO CURSOR curtmp
* better:
SELECT * FROM ( tctable ) INTO CURSOR curtmp

+++++
lcdato = ALLTRIM(&lccampo)
* better:
lcdato = ALLTRIM( EVAL( lccampo ) )

+++++
&xyz = This.WhatEver
* better:
STORE This.WhatEver TO ( xyz )
SeBaFlu
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform