For browser forms, it won't work because they don't forward credentials. You'll need to use a Web service such as Qdabra's DBXL Web service.
For filler forms, it should work so long as the user has connection to the databse.
Please clarify whether you are using browser or filler.
Thanks!