Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying to get a field in related table
Message
 
À
20/08/2006 13:42:58
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Divers
Thread ID:
01146540
Message ID:
01147137
Vues:
26
Tony,

>The problem is that I don't know what the syntax is to get that row. I can't get it right. I tried various syntax code, but keep on getting errors.
>
>Maybe you can give me a clue?

Are you sure you're doing this in the HookParentNavigated method? It didn't seem so from the code you posted. At any rate, I can't give you the exact syntax since I don't have your data structures, but the sample application's OrderDetail business object has similar code in it to retrieve OrderDetail associated with the parent Orders business object:
    Protected Overrides Sub HookParentNavigated(ByVal bizObj As mmBusinessObject, ByVal e As mmBusinessStateChangeEventArgs)
        Me.GetOrderDetail(CType(e.PrimaryKeyValue, Nullable(Of Integer)))
    End Sub
Best 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