Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Properties in ActiveX Controls
Message
 
À
21/08/2001 13:14:11
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00544388
Message ID:
00546900
Vues:
19
>Eric,
>
> I want to create an ActiveX control that will be used on a form that uses ADO and has the following functionality.
>
> 1. Creates a new record.
> 2. Navigates through a recordset.
> 3. Has the ability to delete a record.
> 4. Has the ability to update and cancel records.
>
> I have a bunch of forms where this ActiveX control will be used. So I want to create it generically and pass the current recordset to each of the functions. Is this possible? If so, how?
>

OK in this case, just like I said earlier, Create a public property with a ADODB.Recordset datatype and pass your current recordset to this property.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform