vb.net: editing, saving, updating and deleting on the same form-VBForums
Results 1 to 2 of 2

Thread: vb.net: editing, saving, updating and deleting on the same form

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2007
    Posts
    159

    vb.net: editing, saving, updating and deleting on the same form

    HI
    I am developing a vb.net project. Some of the forms will need the client to ‘delete, save, update and edit, should I do all this in one form or create different forms? Please what would be the best way to handle this without having too many buttons on the same form and confusing issues? I have not done this before.
    Thanks for your kind suggestion.

  2. #2
    Hirsute Mumbler FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    2,860

    Re: vb.net: editing, saving, updating and deleting on the same form

    Personally I like to keep everything in one form where possible. I'm confused about the actions you've described, though. What's the difference between Update, Save and Edit? To my mind there are three basic actions: Create, Update, Delete. But those actions require slightly different situations before they can be carried out (you can't "create" a record that already exists and you can't "delete" a record that doesn't already exist). So my basic form design has two "modes": "new", where all the fields are blank and which allows the user to create a new record; and "existing", where the user can view an existing record and update or delete it.

    Of course, that's just the default behavior. There's always a circumstance somewhere in the application where that doesn't erally fit and then I design a different, more suitable, paradigm.
    When one of my minions says, "Hey, he's just one guy, what can he do?" I say "This"... and shoot them.

    The problem with putting your lair in a volcano is keeping your robot army from melting.

    I know that the human being and the fish can coexist peacefully - George Bush

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.