Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying data from other tables on maintenance form
Message
From
27/06/2008 19:48:13
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01327394
Message ID:
01327410
Views:
11
This message has been marked as a message which has helped to the initial question of the thread.
Hi Linda,

>I have a business form that allows the user to add or edit records that needs to display some fields from other tables that are not maintained on this form. I had thought that I could just use the other business objects for the foreign tables to display that information but that causes the save button not to work since there are multiple tables on the form.
>
>What is the best way to handle this? Should I just stuff the values into the text properties of the various fields from the refresh method? That seems a bit cumbersome.

I would do two things. First register your primary business object with the form using:
this.RegisterPrimaryBizObj() rather than RegisterBizObj().
Also, you can click on your save button and set the BindingSource property to the business object you want it to save records in.

Hope that helps
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform