Results 1 to 3 of 3

Thread: deleting records with bound controls

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2001
    Location
    India
    Posts
    203

    deleting records with bound controls

    .. I have this access form with these add\find and delete buttons on it...the add I did with
    VB Code:
    1. DoCmd.GoToRecord , , acNewRec
    the find was with
    VB Code:
    1. DoCmd.FindRecord
    ...now how do I do the delete record thing...there's nothing in the docmd function list...

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Aug 2001
    Location
    India
    Posts
    203
    ok ok...blame me fr doing my intensive google searches after posting this on the board...but I found this

    VB Code:
    1. DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
    2. DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70

    don't really now how this damn funny DoCmd object thing works....why cant they just make a delete function or something...and why do they make VB programmers like me think that they can program VBA using just their VB knowledge...anyways...enough ranting...sorry fr the post...now I'll try to figure out what more this DoMenuItem does....seems pretty powerful



    http://www.techonthenet.com/access/modules/del_rec.htm

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2001
    Location
    India
    Posts
    203
    and while we're at answering my dumb questions...can someone tell me why a checkbox in a MS Access form works like a radio Button.....i.e...why can't I I check\uncheck 2 checkboxes at the same time ?

Posting Permissions

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



Click Here to Expand Forum to Full Width