Access 97, Windows 95
Can a value be assigned to a field using VBA code?
Here is what I am trying to do:
Dim strEmail As String
strEmail = Left(strPICFirstName, 1) & “” & Left(strPICLastName, 7) & “” & “@dem.state.in.us”
Me!strEmailAddress = strEmail
Stepping through the code, “strEmail” results in the correct string, but “Me!strEmailAddress = strEmail” gives a Run-time error ‘2448’: You can’t assign a value to this object.
Thanks.