要安装oracle form6,然后配置tns,tns名称就作为数据源名称,程序中写logon(username,password,datasource)就可以了,一般把这段程序写到ON-LOGON触发器中