你的两各个DBGRID使用两个datasource没?
解决方案 »
- 简体系统写的软件,在繁体系统下导出excel乱码
- 动画去哪找呢?
- adotable adoquery adodataset有什么区别?我该用哪一个呀?
- 找朋友
- 请高手来看看!
- 这个怎么声明!!
- 如何根据数据多少来确定打印纸张大小?
- 请各位帮忙! 在compile .dpk文件时,总是提示“could not output file <Path>”
- 向各位师兄请教一个“邮件乱码”问题
- 寻求最佳解决方案:管理系统(Delphi6编、C/S结构),如何实现局域网间的拨号连接传输数据?尽量不使用WinNT作服务器。
- 如何使窗体的图标随机更换?
- 高分------如何获取主窗口外的鼠标坐标点 并能控制鼠标到指定的坐标?
但如果我每一次要调用这个函数时,如果不先free,那么就会出错,但我用以下这段代码free也会出错,代码如下:for i:=0 to self.componts-1 do
if componts[i].classparent.classname='tfield' then
componts[i].free
在創建時使用
try
.
.
.
Free格式了。
Session.GetAliasNames(tmpList);
for I := 0 to tmpList.Count - 1 do
if LowerCase(tmpList[i])='CostingDB' then
IsAliasName:=true; if not IsAliasName then
Session.AddAlias('CostingDB','MSSQL',CostDB.Params);
Finally
tmpList.Free;
end;