Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box to scroll thru a database
Message
De
24/03/2010 08:56:13
 
 
À
23/03/2010 08:28:10
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01456119
Message ID:
01456897
Vues:
37
>(Assuming your table's name is myTable, primary key field name is pkField and index tag name is myPkTag)
>
>
select fieldA,fieldB, ..., pkField from myTable where intemtype="x" into cursor test
>
>InteractiveChange or Valid:
>
>
=seek(test.pkField, 'myTable', 'myPkTag')
>thisform.refresh()
Is there another way to do this?because i made a new form added 1 combo box and 1 field
i populate my combo with my SQL and on valid /inint change i hav
=seek(test.private,'test','prvate')
thisform.refresh()
the text box has a control source of the field from the table also i set bound to to true.
even if i change the combo value..the text box doesnt change :(


the SQL 2 populate my combo should be in the form init as well?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform