Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change radiobutton after record retreived
Message
 
À
15/06/2004 15:26:07
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00914026
Message ID:
00914282
Vues:
13
Tony,

>I have a few radio buttons on my form that depend on a field that has text in it. When the record details are retrieved the bound 'txtMyField.Text' on my form might be 'UPS' so I want the UPS radio button to be checked and the others unchecked.
>
>I don't know where to put the code, in the Biz object or on the form. I think on the form itself, but I can't seem to run a sub on the form after record retrieval.

This is UI-specific code so it should go in the form.

>So the question is how do I run a sub on the form after the data has been retrieved?

You can simply add the line of code after your call to the business object method that retrieves the data.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform