Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Relating Combo Boxes
Message
 
 
À
18/08/2004 12:04:01
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00934146
Message ID:
00934424
Vues:
17
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform