Access Codes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • godsent
    New Member
    • Aug 2006
    • 33

    #1

    Access Codes

    am used to programming in vb.net...but the codes in Access (Visual Basic) are quite different..I need codes for loading a form in view of adding new record,i.e, on load the textfields must be blank..(Add new row)

    any further codes are most welcom

    regards
    godsent
  • PEB
    Recognized Expert Top Contributor
    • Aug 2006
    • 1418

    #2
    DoCmd.OpenForm formname, view1, filtername, wherecondition, datamode1, windowmode1

    view1 = A_NORMAL
    view1 = A_DESIGN
    view1 = A_PREVIEW
    view1 = A_FORMDS
    view1 = acFormPivotTabl e
    view1 = A_NORMAL

    datamode1 = A_ADDdatamode1 = A_EDIT
    datamode1 = A_READONLY
    datamode1 = A_EDIT

    windowmode1 = A_NORMAL
    windowmode1 = A_HIDDEN
    windowmode1 = A_ICON
    windowmode1 = A_DIALOG

    Comment

    Working...