Page 3 of 3 FirstFirst 123
Results 31 to 36 of 36

Need help adding Record from a form to a Table

  1. #31
    MadTom's Avatar
    MadTom is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Jun 2018
    Location
    CT
    Posts
    70
    If DCount("*", "TableName", "Cap_ProjectQty Is Not Null") > 0 Then, works like I wanted. I knew it had to be DCount, now I can review that code.
    Thanks!


  2. #32
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    19,639
    Happy to help!
    Paul (wino moderator)
    MS Access MVP
    www.BaldyWeb.com

  3. #33
    MadTom's Avatar
    MadTom is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Jun 2018
    Location
    CT
    Posts
    70
    Some times I can find what I need by goggle, but after many searches can't find the answer. Ok when I open my table and delete all or I do a delete query I get #deleted in all the records. If I close and open form all is good. I have a button and tried to use requery and refresh, but does't work. Must be an easy fix? I'm only deleting after testing my form and clearing all the records.
    Thanks for all your help.

  4. #34
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    19,639
    Requerying the form should work. How exactly are you doing it?
    Paul (wino moderator)
    MS Access MVP
    www.BaldyWeb.com

  5. #35
    MadTom's Avatar
    MadTom is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Jun 2018
    Location
    CT
    Posts
    70
    Seems I tried it many time, but its works now! Great I used Me.Requery maybe this time! Thanks!!!!

  6. #36
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    19,639
    My coworkers say things that weren't working start working when I come to look.
    Paul (wino moderator)
    MS Access MVP
    www.BaldyWeb.com

Page 3 of 3 FirstFirst 123
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 7
    Last Post: 03-05-2016, 02:04 PM
  2. Adding new record to a table from a different form.
    By IncidentalProgrammer in forum Programming
    Replies: 5
    Last Post: 04-03-2015, 11:04 AM
  3. Replies: 2
    Last Post: 03-19-2014, 03:51 PM
  4. Replies: 4
    Last Post: 08-14-2012, 06:14 AM
  5. Replies: 1
    Last Post: 03-29-2010, 03:11 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
  •  
Tech Forums: Microsoft Office Forums