Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New button on Maint form not working
Message
De
22/06/2006 07:56:27
 
 
À
21/06/2006 20:09:37
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP1
Database:
MS SQL Server
Divers
Thread ID:
01130594
Message ID:
01130772
Vues:
17
It seems that when adding references to other tables enter those first, then the table that's going to be in the maintenance form last. This sequence worked without any problems.

'''
''' Constructor
'''

'''
Public Sub New()

'Set up to store reference to business object
Private oDept As Dept_acct
Private oUsers As Pur_user

'Instantiate and register business objects
Me.oDept = CType(Me.RegisterPrimaryBizObj(New Dept_acct), Dept_acct)
Me.oUsers = CType(Me.RegisterPrimaryBizObj(New Pur_user), Pur_user)

' This call is required by the Windows Form Designer.
InitializeComponent()

'Get all department records
Me.oDept.GetAllReqs()

'Get all users into grid
Me.oUsers.GetAllUsersSP()

'Register the Users DataGrid as the Navigation control
Me.NavControl = Me.grdUsers

End Sub

I would have thought there shouldn't be a difference, but there was.

CU
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform