MS access error

Hello,

I have a project with MS Access connection. When I generate a grid the following error ocurrs:
Undefined offset: 1 | Script: C:Program FilesNetMakev6wwwrootscriptcasedevelcompat
m_select.class.php linha: 1305

In database I’ve set the primary keys.

Another strange thing is that on development station, when I test the grid it displays totally wrong data from a query.
I open that query with ms access and the data is filtered ok…but when I test with scriptcase is not ok…it shows all the data without filter.
I deployed that grid online on the production server and …surprise there the data is displayed ok in http://localhost/project
What is wrong with it?

thank you