Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Between 2 dates
Message
 
À
14/11/2023 04:27:20
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01687236
Message ID:
01687243
Vues:
40
>
>TEXT TO lcSQLCmd NO SHOW PRETEXT 15
>SELECT * 
>       FROM DOCUMENTOS 
>WHERE  FECHA BETWEEN ?FECHA AND ?DATE()
>     AND tipodocu = 'F'
>      And  NOT DELETED()
>ORDER BY ID_ISO, FECHA, numdocu ASC
>ENDTEXT
>
>
>Hi Borislav,
>
>Thanks for the reply, everything works great!
>
>Best regards,
>Luis

You named variable as name from the table.
That is no good because VFP prioritize Field values.
CREATE CURSOR Test (Fld1 C(10))
INSERT INTO Test VALUES("aaaaaaa")
LOCAL Fld1 
Fld1 = "BBBB"
? Fld1
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform