in reply to Re^3: query linking
in thread query linking

I cannot help you; if you don't understand the purpose of your program (i.e. the database query) then you have big problems.

However, some pointers: