Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Relating Combo Boxes
Message
 
 
To
18/08/2004 12:04:01
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00934146
Message ID:
00934424
Views:
20
Thankyou Cetin,

When I put this syntax into form init I get an error 'unrecognised command verb'. What does this mean?
SET EXCLUSIVE OFF
SET DEFAULT TO ("C:\Foxpro Projects\Statistics")

with thisform.combo1
 .RowSourcetype = 3
 .Rowsource = 'Select distinct type from products into cursor crsproduct'
 .ColumnCount = 1
 .displayvalue='Select Product Group'
ENDWITH

with this.combo2
 .RowSourcetype = 3
 .Rowsource = 'Select subtype from products where type=crsproduct.type into cursor crssubtype'
 .ColumnCount = 1
 .displayvalue='Select Product Type'
ENDWITH
Many Thanks

My Table called products has 2 fields namely Type and Subtype. I have 5 records in there:
Type                Subtype

Trouser             Slimleg
Trouser             Kickflare
Trouser             Bootleg
Jacket              Double Breasted
Jacket              Single Breasted
Neil Lewis
IT R&D Manager
Velmore Ltd
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform