# Re: DataEnvironment于执行阶段设定路径后,该如何设定开启资料表

Posted by 大汉堡 on November 14, 1999 at 22:51:04:

In Reply to: DataEnvironment于执行阶段设定路径后,该如何设定开启资料表 posted by 阿哲 on November 13, 1999 at 04:54:50:

: 路径,如:
: Private Sub Connection1_WillConnect(ConnectionString As String, Userid As String, Password As String, Options As Long, adStatus As ADODB.EventStatusEnum, ByVal pConnection As ADODB.Connection)
: DataEnvironment1.Connection1.Properties("data source") = Path_str
: End Sub
: Path_str资料库下有多个资料表,如何动态设给command1指令

这不是很麻烦吗?为何不在DataEnvirontment中就设定
好呢??
当然设计时需要DataBase Path,但设计完再将Path清
空,你还是可执行阶段指定Path

Follow Ups:

- Re: 大汉堡.又要麻烦你了 阿哲 12:03:21 11/15/99 (1)
  - Re: 大汉堡.又要麻烦你了 大汉堡 20:36:24 11/17/99 (0)