Fres. go over this thread copy most of the code to get it working. read alll the opsts ands you should get to where i am. the fact Achnex dont like the files still. this is weird and doing my head in. it works fine then run form C script and Wed but when compiled and run it doesnt like and and cant pick up tyhe database.