Sorry about my English, I speak spanish

My problem is as follow:

I Have an Application in vb6 with access 97 as database, the way I protect de database is with Encryption, now I have opted to add more protection with an

MDW file containing users and group info, I know the way to do that.

The main access to the DataBase is through DataEnvironment.
All work excellent including in the Connection String the Jet OLEDB:System database to the path of the MDW file so the User ID and password
all the command work the right way, but there is a curious error with all Grouping command I Have in the DEnvironment, the error is the following:

Error -2147217900 (Instrucción SQL no válida, se esperaba DELETE, INSERT, PROCEDURE, SELECT O UPDATE)

Any Idea??

Thanks in advanced