# Thank for Kevin

Posted by Terence on November 16, 1998 at 10:24:08:

In Reply to: Re: Crystal Repory透过odbc抓资料,却不能Refresh,Please Help me T_T! posted by Keven on November 12, 1998 at 12:29:30:

谢谢,我看你的说明,原来我没有设
CrystalReport1.Connect="DSN=database_name;UID=user_id;PWD=password"
现在可以抓到资料了!非常谢谢你!

: 你在设计Report时于File下有个Save Data with Report 选项不要打勾,而程式在撰写时,必需设定其连接之DSN及
: Server Name,UserID及Password,你可去参考其Help,然后
: 再跟你要抓取之SQL字串用SQLQuery属性丢过去即可,我以前有写过,可以抓到

Follow Ups: