你换一个思路。
你在BeforeConnectOuterDataSource事件里判断,如果远程不通,就改变连接字符串即可
http://www.foxtable.com/help/topics/0682.htm