Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List View
Message
De
19/04/2000 11:41:25
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00361290
Message ID:
00361320
Vues:
8
>Hi All:
> I am trying to populate my list view at run time with the my sql statement. However, when this line of code is executed, I get an error message "Command contains unrecognized phrase\keyword". Can any help me with the problem and tell me what am I doing wrong.
>
>Thanks
>
>.LstSource.RowSource = ; && List view
> "SELECT &gcSelect FROM shSrce WHERE UPPER(fcShipNo)+UPPER (fcItemNo)+UPPER(fcShipSrce)+UPPER(fcSrcItmNo)=upper(ctemp.fShipNo)+UPPER(ctemp.fItemNo) INTO CURSOR csrShSrce ORDER BY KeyFld"


Mahmood,
If that's not a typo " && List view " comment would be after "...Order by keyfld"
.LstSource.RowSource = ;
"SELECT "+gcSelect+;
  " FROM shSrce  "+;
  " WHERE UPPER(fcShipNo+fcItemNo+fcShipSrce+fcSrcItmNo) = "+;
  " upper(ctemp.fShipNo+ctemp.fItemNo) "+;
  " INTO CURSOR csrShSrce "+;
  "ORDER BY KeyFld"  && List view
I hope fcShipNo, fcItemNo etc are not variables.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform