Error 3757 Reference to a Nonexistent Field
Symptom
When trying to print a BarTender document, you may receive the following error message:
The following places reference a nonexistent field "[field]":
[Error Cause]
These conditions will not evaluate as expected.
This message may be followed by Error Message 3201 Database field not found.
Applicable to
BarTender 2019 and later
Solution
The error message will tell you the location of where to look:
In this case, we're looking at the suppression transform for Text 32. The reasons for this error can be the following:
- The database field no longer exists
- The database schema has changed (linking a new database without updating the fields)
- Database fields have been rearranged (happens primarily with text files and Excel spreadsheets)
- BarTender is parsing the fields strangely
The first three database related issues are likely due to a broken database connection:
- This can be fixed by reestablishing the database link
- This may involve correcting the field name or simply relinking the field in the transform dialog
- Check out the documentation for Error 3201 for possible fixes
The parsing error may be traced back to a schema error. Even if the schema error is resolved BarTender may not be able to read the field name correctly, adding an extra / at the end of it. You may need to reference the field indirectly to circumvent the error:
- Create an an off-label object(or use an existing one) that references the database field
- Make this object a named data source
- Reference the named data source in the transform dialog