Ah, sorry 'bout that. No, it doesn't exist in the table, I'm trying to pull it from the form when it's been entered in the AcctNumb field, and store that value and the appropriate city (which is derived from the fldSysprin value.) That's why I thought INSERT was better than UPDATE.
It works in...
Hi AceMan, it's actually a variable drawn from a form. Here's the complete code:
Dim AcctSysprin As String
AcctSysprin = Forms![FrmEsc4Disp]![AcctNumb]
AcctSysprin = Left$(AcctSysprin, 8)
Dim AcctCitySQL As String
AcctCitySQL = "INSERT INTO TblDateContact"
AcctCitySQL =...
Hi, I'm really new to this, so here it goes...when I run this it runs without errors, but says "Updating 0 rows" and nothing is written to the table. What am I missing here?
Dim AcctSysprin As String
AcctSysprin = (Forms![FrmEsc4Disp]![AcctNumb])
AcctSysprin = Left$(AcctSysprin, 8)
Dim...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.