> > PUBLIC STATIC is the solution. I think you forgot that *THERE IS NO GLOBAL > > VARIABLE* in Gambas, so mut reference your connection variable from a form > ------------------------> you must... SO, it is better I declare it in a module, isn't it? Thanks Francesco