Please tell me about Access VBA.

Asked 2 years ago, Updated 2 years ago, 123 views

I would like to enter a number (integer) in the text boxes X1 to Y1 to find the sum.
x1□~y1□sum□button□

Private SubtnWa_Click()
 
    DimSouwa As Long

    lSouwa = 0

    ForlSouwa= txtX1 TotxtY1
           lSouwa=txtX1+txtY1
    Next

    txtSouwa.Value=lSouwa

End sub

I wrote it down, butWhat is the correct program?

vba ms-access

2022-09-30 19:17

1 Answers

Previously, on the @IT site, there was a series (all 12 times) called Database/SQL superintroduction for beginners studying at Access VBA.
It's a very easy-to-understand article about how to create an Access form, how to use and use forms with VBA, SQL, and so on, so I recommend you read it.


2022-09-30 19:17

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.