Cowboy
Thu Mar 13 09:51:19 CDT 2008
You can do what you envision, and that should do well at keeping things up
to date. It is even better if you can have a controller farther up the stack
that will automatically refresh the forms when data changes. One option
there is the Smart Client Software Factory, which you can download for free.
Read through it first, as there is a learning curve and your app may not
warrant this much work. If you want to consider this route:
Information
http://www.codeplex.com/smartclient - documentation
http://msdn2.microsoft.com/en-us/library/aa480482.aspx - general
http://tinyurl.com/34797q - book (downloadable)
You can find all of the necessary bits on the www.microsoft.com/downloads
site. You need to install, for this to work:
.NET 3.0 (or 3.5 - Visual Studio 2008 works here)
Guidance Automation Extensions
Guidance Automation Toolkit
Composite Application Block
Visual Studio Extensions for .NET Framework 3.0
Smart Client Software Factory
The main download URL for the Smart Client Software Factory is here:
http://tinyurl.com/yv7m3n
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss
*************************************************
| Think outside the box!
|
*************************************************
"Miro" <miro@beero.com> wrote in message
news:uTJZTVRhIHA.4376@TK2MSFTNGP05.phx.gbl...
> I'm just trying to wrap something around my head and am looking for some
> pro's vs con's on this scenario of what I am thinking of trying...
>
> If someone with some experience with this could point me in the right
> direction -
>
> Lets say you have an MDI and 2 forms that open in that app.
> Each form looks at the customer database but displays it differently.
>
> If a customer gets added on form1, you would want it to instantly show up
> on form2.
> Same data - just displays the info differently.
>
> So im assuming there are 2 options to do this:
> 1. on the MDI form, have a 'global' public shared dataset, so as a
> dataset gets refreshed, it refreshes the new records instanlty on both
> 2. Keep track if the other form is open, if it is, and a refresh occurs
> on this dataset, and its connection, refresh the other / shoot the one new
> record over
>
>
>
> Thanks,
>
> Miro