Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New button on Maint form not working
Message
From
22/06/2006 07:56:27
 
 
To
21/06/2006 20:09:37
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP1
Database:
MS SQL Server
Miscellaneous
Thread ID:
01130594
Message ID:
01130772
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform