Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT return only one row
Message
 
 
À
02/11/2002 15:31:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00718194
Message ID:
00718195
Vues:
17
This message has been marked as the solution to the initial question of the thread.
Your query will return only records that have text "ANTONIO" at the very end of the c_descri field. The record that have spaces after "ANTONIO" will not be included. Depending on your requirements you can change it to
lcChvPro="%"+"ANTONIO" + "%"
* OR
... TRIM(c_descri) LIKE ...
>Hi all,
>
>Why this only return one row, when i have more than 30...
>
>[Form]
>lcTable='CLIENTES'
>lcChvPro="%"+"ANTONIO"
>
>[COM]
>.Open("SELECT * FROM &lcTable WHERE c_descri LIKE '"+lcChvPro+"' ", This.lcConnection)
>
>
>Thank's
>
>João Batista
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform