Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
This Select Group claims to be Missing or Invalid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01252346
Message ID:
01252409
Vues:
29
>>Thanks, I may need luck to fix this one. You are correct in the SET ENGINEBEHAVIOR is 90 - trying to be a good up-to-date programmer without reverting to old behavior. My late evening typos are corrected below. When you say Memo fields are not allowed - does that mean only in the GROUP BY or are they prohibited in the SELECT field list as well? I read the help and concluded that they should be left out of the GROUP BY. If I have to leave them out of the SELECT field list, I guess I'll have to generate this report cursor in two parts.....
>
>The memo fields cannot be included 'as is' into GROUP BY query. You have to leave memo fields out of the list or convert them to character fields by wrapping into PADR() and including result columns into GROUP BY.


My first impression upon reading the VFP9 help is that I need to leave the memo fields out of the GROUP BY list. Do you mean that I should also leave them out of the SELECT field list?

If so, I may have to solve this problem from another angle - more than one select with a SCAN ... ENDSCAN to preprocess some numbers.

Thanks,
Randy Bosma
VFP - Because life is too short to code in something else...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform