Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with a query
Message
De
23/05/2002 15:11:37
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
 
À
23/05/2002 14:56:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00660684
Message ID:
00660698
Vues:
10
Edgar

Change the query to use VFP's parameterisation rather than macro substitution:
SELECT ATENCION.FINICIO, ATENCION.FFIN FROM ATENCION WHERE ATENCION.NUMERO = ?NUMERO INTO ARRAY PAUSAARRAY 
If you are still seeing an error (and it would help to know what it is!) then check your values of I (as used in the array to assign numero) and the array value itself to ensure it is of the same type as the field.

HTH

Regards

JR
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform