Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo will not display value after closed
Message
De
28/05/1999 15:47:48
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
28/05/1999 15:42:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00222776
Message ID:
00224111
Vues:
30
>Hi Cetin:
>
>I implemented the code and it still gave me a syntax error. Below I have cut and pasted what is "exactly" in my combo.init(). Maybe you can see something in it I am missing.
>
>thisform.currentstate = ""
>lcSQL = "SELECT DISTINCT TOP 15 Voterfilefields.cfieldlabel, "+;
> "Voterfilefields.cfieldname, Voterfilefields.cfieldfilestate, "+;
> "Voterfilefields.nfieldid, Voterfilefields.cfieldcategories "+;
> "FROM voices!voterfilefields "+;
> "INNER JOIN voices!fielddetails "+;
> "ON Voterfilefields.nfieldid = Fielddetails.nfieldid "+;
> "WHERE Voterfilefields.cfieldcategories = "Identifier" "+;
> "AND Voterfilefields.cfieldfilestate = ?thisform.currentstate "+;
> "ORDER BY Voterfilefields.cfieldlabel "+;
> "into cursor Cursor5"
>this.rowsourcetype = 3
>this.rowsource = lcSQL
>
>
>TIA
>
>Jason
Jason,
Oooo. Quotes in quotes. Replace all " with ' except the ones surrounding "Identifier". Also change ?thisform.currentstate to thisform.currentstate.
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