Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird problem with COUNT()
Message
De
19/07/2002 19:57:26
 
 
À
19/07/2002 17:07:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00680656
Message ID:
00680696
Vues:
15
Michel,

You don't say what error you get.

I once had a problem in some WWC process code where certain commands wouldn't work - they didn't cause any error but also they did nothing apparent.

I found in my case that the PROCESS .prg, though it containd many PROCs/FUNCs was "too long" (no error about this either). That is, it had a whole lot of lines.
I found the solution by accident, because it had been my habit to keep a copy of any function I modified at the end of the PROCESS .prg, with OLD appended to the name.
I removed all this old crap and the commands started working again.
It was only some commands that didn't work, and I guessed at the time that it was commands toward the end of the alphabet, but I never found out for sure.

good luck


>I am having a weird problem with the COUNT() function when being run inside a class from a WWC application. Running all those occurences which create problems inside the APP from the VFP command line works ok.
>
>For example, this line works ok:
>
>
>COUNT FOR &gcForumList &lcWhere TO lnCount
>
>
>but any line such as:
>
>
>COUNT TO lnCount
>COUNT FOR Numero>=600000 TO lnCount
>COUNT FOR AddDate>=ldDate TO lnCount
>
>
>doesn't work.
>
>I never saw anything like this. Basically, the only way the COUNT line works in that environment is to have a macro substitution. Having a COUNT line such as those 3 makes the application to sit there and not returning anything.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform