Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Question
Message
De
25/05/1999 06:52:04
 
 
À
24/05/1999 16:51:39
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00222154
Message ID:
00222383
Vues:
18
>I can't get an SQL statement to run properly. The function actually examines the contents of the table to determine the class the 'customer' belongs ,creates an instance of that class, and then runs the appropriate class code. When I try to run this in an SQL statement it appears to run for ALL customers even though I specify that it is to run only for customers with balances. This is a lot of overhead in addition to the fact that the class code calls dialog boxes if there is no balance. I don't want to change the class code..
>
>I have found a way to do this. I add a numeric field to the SQL statement, have it go into a table rather than a cursor. Once the SQL is finished, I scan the table and run my function on each row. Seems to work fine. Thanks for your help.

Well, main thing is that you solved the problem. :-)
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform