Hi
If variable eset is field name then you have problem with opening DBF and/or referencing to eset field in SPT function.
It is very important to know how SPT function referes to eset variable. Is it prefaced wit alias name or not, is it used FIELD declaration statement, etc.
If you can not see SPT code, then you must find in your code where you open DBF which contains field variable eset, and then analyze execution flow of your app.
Also I found this explanation on internet for error BASE/1003:
The specified variable was not found. If it is a database field ensure that the required database is open. If it is a private or public variable then it must be first created using PRIVATE or PUBLIC statement.
Anyhow if app works on Windows 10, then in Windows 11 you do not have same conditions in Windows 11 as in Windows 10, Up to now I did not have any problems nor differences when app works on Windows 10 and on Windows 11, 64 bit.
Regards,
Simo.