whojstall11
Registered User.
- Local time
- Today, 07:37
- Joined
- Sep 7, 2011
- Messages
- 94
Can somebody please help me understand this code
I understand everything up into the "As Expr1" ? What does this mean?
Code:
[LIST=1]
[*] Private Sub CheckBoxName_AfterUpdate()
[*] Dim strSQL As String
[*]
[*] strSQL = "INSERT INTO TableB (FieldB1, FieldB2, FieldB3) " & _
[*] "SELECT " & Me.Field1 & " As Expr1, " & Me.Field2 & _
[*] " As Expr2, " & Me.Field3 & " As Expr3;"
[*]
[*] CurrentDb.Execute strSQL, dbFailOnError
[*]
[*] End Sub
[/LIST]
I understand everything up into the "As Expr1" ? What does this mean?