I'm using Microsoft Access 2016 forms with SQL Server 2018, and Microsoft SQL Server Management Studio 18.4
Already I have :
UPDATE Student SET NAME = 'PRATIK' WHERE Age = 20;
It is OK.
When I define AA & BB as below :
Dim AA as integer
Dim AA as string
AA = 20
BB = 'PATRIK'
And run as:
UPDATE Student SET NAME = BB WHERE Age = AA;
Error message said:
Invalid column Name 'BB' and 'AA'
I dont need data entry directly work on server to write AA and BB value (20, PATRIK).
I tried define as @AA=20, @bb='PATRIK' but Access 2016 forms reject of using Prefix@.