Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding fields to Users table and mmUsersForm
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Adding fields to Users table and mmUsersForm
Environment versions
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01335256
Message ID:
01335256
Views:
61
I have added a few fields to the Users table and want to add them to the mmUsersForm. I created a new business maintenance form and changed the class to mmUsersForm. I used the Business Layer Generator to create new business objects but didn't generate the data access layer. When I try to run the form, I get an error on the resize method of the grid, which makes me think that there is still some problem with finding the new fields.

I then tried adding the code suggested in the help file when changing the name of existing fields in the user table to the ABusinessObject.cs and the Factory.cs files. I got an error on the code in the factory class saying "The type or namespace name 'User' could not be found (are you missing a using directive or an assembly reference?)". When I removed that code without changing the code in the ABusinessObject, I was back to the error in the grid resize method.

I must be missing a step. Any suggestions? Thanks.

UPDATE
Apparently, this is a bug in MM .NET which was the result of resizing the form. If I make my new fields fit in the form without changing the size, it works fine.
Linda Harmes
HiBit Technologies, Inc.
Next
Reply
Map
View

Click here to load this message in the networking platform