Results 1 to 3 of 3
  1. #1
    MDB is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2011
    Posts
    7

    Form design for CRUD

    Hi,



    I am new to access but looking at the sample databases, the example forms don't have a submit (or ok) button to commit record changes. The data is updated straight after leaving a field in a form. Is this standard practise for commercial apps written in access?

    Would the alternative optin be to include unbound text fields in a form and onclick of a sbmitt button perform crud operations programmatically using VBA?

    Many thanks.
    MDB

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,610
    Hi
    I am new to access but looking at the sample databases, the example forms don't have a submit (or ok) button to commit record changes. The data is updated straight after leaving a field in a form. Is this standard practise for commercial apps written in access?
    That's what I do. You may want to write a little code to check data validation in the BeforeUpdate events of some controls or the actual form.
    Would the alternative optin be to include unbound text fields in a form and onclick of a sbmitt button perform crud operations programmatically using VBA?
    I would not normally do this because it needs a lot more code but it is possilbe to use an unbound form. I have taken this approach to speed thinks up when the app is split and used by multiple users on a busy network and the data is large.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    I agree with Bob. I normally use bound forms, as you're letting Access do most of the work for you. I sometimes use unbound forms, most commonly when I have an app that needs to work via WAN instead of LAN.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Form design--lists and FKs
    By wes in forum Forms
    Replies: 10
    Last Post: 08-10-2011, 08:50 AM
  2. Form design
    By pgdeval in forum Access
    Replies: 2
    Last Post: 05-27-2011, 01:12 AM
  3. Form Design Question
    By mmori in forum Forms
    Replies: 0
    Last Post: 02-21-2011, 04:52 PM
  4. Form/DB design
    By claven123 in forum Access
    Replies: 3
    Last Post: 01-02-2011, 02:27 AM
  5. please help me to design this form..
    By saleemMSMS in forum Forms
    Replies: 1
    Last Post: 08-26-2009, 01:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums