interbase数据库和程序分别在两台不同机器上(局域网没有问题),现在问题是如何用dbExpress连上Interbase数据库,其中database name的设置用在bde中一点问题都没有,请各位大侠多多指教!

解决方案 »

  1.   

    将sqlconnection的connectionname设置为interbase;
    然后设置sqlconnection的params;最主要是要设置database.下面上设置方法。
    To connect to an InterBase database on a remote server using TCP/IP the syntax is <server_name>:<filename>.To connect to an InterBase database on a remote server using NetBEUI, the syntax is: \\<server_name>\<filename>.To connect to an InterBase database on a remote server using SPX, the syntax is: <server_name>@<filename>.
      

  2.   

    to netwolfds(晓竹) :
    <filename>是在remote server上的绝对路径吗?我try一下先!!!
      

  3.   

    是绝对路径.
    <server_name>:<filename>  如:myserver:c:\try\mytry.gdb