tags:

views:

223

answers:

3

Is there a .NET Control Similar to the Access 2007 Split Form?

Or has anyone built such a control?

I upgraded a small personal Name and Address DB to Access 2007 and noticed the Form had a property called “Default View” which can be set to “Split Form”. “Split Form” mode has a GridView and a Form together in one control. When a record is clicked in the GridView, it shows up in the form and it can be edited in either the GridView and/or the Form by setting some properties. Pretty slick.

+2  A: 

Not that I know of, but pretty much all you need is:

  • a split container
  • a user control containing your actual form
  • a grid view

Now you just hook up the grid view's item selection events with a controller that loads data into the user control's child controls.

From what I can tell, there Access Split Form doesn't do a lot more.

Sören Kuklau
A: 

Thanks for the answer Soeren. I was hoping to not have to roll my own control. We are rewritting our Benefits processing System for Unions and I noticed 80% of our controls that access tables fit right into this mold of GridView and Maintenance Form. Right now we have them coded as two controls.

Gerhard Weiss
A: 

A Flex Grid Control will probably do what you want but you will need to write a bit of VBA code, have a look at my Flex Grid Demo program for some examples.

Go to http://www.rogersaccesslibrary.com/forum/forum_posts.asp?TID=180

HTH

Peter Hibbs.