Results 1 to 6 of 6
  1. #1
    weapon3000 is offline Novice
    Windows XP Access 2003
    Join Date
    Dec 2010
    Posts
    3

    Rookie Questions related to data entry


    I have designed a window to enter data into the records of a specific table.

    1st Question: How to program the window so the actual record to be altered is untouched unless I click the save button (I designed a command button to perform this function)? I really want this only after I click the save button, so I think setting recordlock to 1 wont help.

    2nd Question: In my design, I used several combos to allow me quickly select a value instead of type it manually. The problem is there are more selections than I needed, some of them are repeated; e.g. I only need to select either A or B, but I can find A B B pop out from the drop-down. How can I remove those self-repeating terms?

    By the way, the queries behind the combos are directed to different columns in the specific table where they have repeating values (column designed for classification purposes). Should I create another table to handle those classification terms and direct the queries over there?


    Thank you for any kind suggestion!

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    1. save button: No such thing. client/server DBs are 'live'. A common question however because of users in the web server where they send data back to the web server. Not the case here. In fact, one would need to do a good bit of work to make it work like this....make an unbound control for initial data entry and then use a 'save' button to re-write it to the actual control....but it is all a facade....

    2. repeating entries: you need to modify the query of the combo box to be 'unique values'.

    2.5 using a separate standalone table/list for combo lookup makes sense for static data - i.e. the 50 state abbreviations. but for lookup of current data i.e. WorkOrders then it doesn't make sense as that data is being constantly updated...so the correct approach depends.

    Be sure you have an Access textbook easily found at Amazon or any big book store. Forums are great - but reading the book helps ties together alot of things.

    Hope this helps.

  3. #3
    weapon3000 is offline Novice
    Windows XP Access 2003
    Join Date
    Dec 2010
    Posts
    3
    Thank you for the help.

    I will try to get a textbook asap

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    PMFJI but a "Save" button can be implimented by using a public boolean variable in the form such as blnSaveOK and setting it to True with the "Save" button. Then in the FORM's BeforeUpdate event, check the flag and execute Me.UnDo if the blnSaveOK is not True. Simple and direct and no unbound controls involved.

  5. #5
    weapon3000 is offline Novice
    Windows XP Access 2003
    Join Date
    Dec 2010
    Posts
    3
    really helpful, thank you.

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Any time. Is this thread ready for you to use the Thread tool mark it Solved?

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

Similar Threads

  1. VBA rookie needs help
    By everette in forum Programming
    Replies: 5
    Last Post: 10-16-2010, 03:59 PM
  2. Replies: 1
    Last Post: 06-01-2010, 12:19 PM
  3. Splitting a Database related questions
    By Matthieu in forum Access
    Replies: 5
    Last Post: 04-01-2010, 10:42 AM
  4. Splitting a Database related questions
    By Matthieu in forum Forms
    Replies: 3
    Last Post: 11-17-2009, 10:49 AM
  5. Three Questions on Data Entry Using Forms
    By The_Rattlesnake in forum Forms
    Replies: 1
    Last Post: 10-30-2009, 06:04 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