Eirman
asked on
What's The Syntax Error Generated By Access Macro Conversion
I created a Button in Access to open another form with the same record selected.
(The wizard created a Macro which worked fine).
I then "converted the Form's Macro to VBA "
The conversion produced faulty VBA (Expected end of statemend of statement Error)
(The wizard created a Macro which worked fine).
I then "converted the Form's Macro to VBA "
The conversion produced faulty VBA (Expected end of statemend of statement Error)
Docmd.OpenForm "VOCAB ENTRY", acNormal, "", "[THEWORD]=" &" '" [&TextTHEWORD] & "'", , acNormal
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you can share a database, (without data), and just the single form you are converting, which can reproduce the problem, I can forward it to the access team, and log a bug on it.
ASKER
That works - Well spotted!
Thank You Anders
Thank You Anders
ASKER
I'm using Access 2013 so the bug may be fixed in later versions.
I'll recreate the wizard / macro and post some relevant screenshots tomorrow.
I'll recreate the wizard / macro and post some relevant screenshots tomorrow.
I was able to reproduce this in my own version (Office 2019). I will forward to the dev team.
ASKER
Thanks again Anders.