Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binding a Combo programatically
Message
 
À
21/03/2002 14:51:10
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00635187
Message ID:
00635706
Vues:
13
This message has been marked as the solution to the initial question of the thread.
>Nick:
>
>I placed the requery() and refresh() in the save button. Before that I set the rowsourcetype = 3 and used the select statement for the rowsource. However, when I ran the form, I got the following error i.e., at the line where it says rowsourcetype = 3
>
>"OBJECT LABTESTINFO NOT FOUND"
>
>- Ravi

Hi Ravi,

Nothing is better than a little sample. :) And I just sent it to you by e-mail.

There is a form with the grid, combo and Save button.
You can edit Last_Name field in a grid - that will imitate your data manipulations. The grid has AllowAddNew = .t. so you can add the new records right there.

As soon as you click Save button the combo will be requiried and refresh the info you just entered.

See the combo properties, the code in combo Init, Destroy() and in Save button.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform