Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo will not display value after closed
Message
From
28/05/1999 15:47:48
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
28/05/1999 15:42:18
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00222776
Message ID:
00224111
Views:
29
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform