|
|
注意事项:严禁重复发贴或发相同贴到不同板块,严禁广告,否则一律删除或者直接禁用帐号! |
|
把 SQL.Add('select * from Subject where cSubjectNam='+ComboB …… |
mudian |
2004/4/27 9:14:10 |
|
我觉得是 SQL.Add ('select * from Subject where cSubjectNam='' …… |
winnerkent |
2004/4/27 9:43:05 |
|
最好是一个变量来给赋值,然后 SQL.Add ('select * from Subject where cSubje …… |
zhaowei |
2004/4/27 10:34:22 |
|
with adoquery1 do begin close; sql.text:='select …… |
maomao718 |
2004/4/27 11:12:48 |
|
maomao718 (maomao) ▲△△△△ 普通会员 - 2004-4-27 11:12:48 4楼: w …… |
root_lh |
2004/4/27 13:13:25 |
|
SQL.Add('select * from Subject where cSubjectNam='+''''+ …… |
studier |
2004/4/27 14:10:53 |
|
SQL.Add('select * from Subject where cSubjectNam='+QuotedStr …… |
hjjszhshs |
2004/4/27 20:51:01 |
|
我常用 hjjszhshs (hjjszhs) 的方法,这样程序看起来不会太乱。 |
hotyei |
2004/4/27 21:35:45 |
|
哦 谢谢各位 不过我在已经试过了 还是一样的 没区别总是错 |
zzr173 |
2004/5/2 11:10:12 |
|
楼上有几位的代码应该是可以的,不过我认为这样写比较容易看:
SQL.Add('select * from Subje …… |
shaoyy |
2004/5/2 12:18:00 |
|
已经知道原因了 谢谢 |
zzr173 |
2004/5/4 4:08:56 |
|
没明白你的意思, 用后者也可以,既然用ado直接连接网络服务器不就行了, |
fox7899 |
2004/5/3 23:06:27 |
|
我也经常头痛这样的问题 |
zzr173 |
2004/5/4 4:00:42 |
|
什么错误能否截图给我看看,最好用IE6,自己发的帖子一个小时以内可以删除。 |
zizii |
2004/5/3 23:41:02 |
|
是不是就没有满足条件的记录 啊
|
willing |
2004/4/21 21:06:36 |
|
query1.SQL.add('select COUNT(*) from 主表 where 状态=''未读'' …… |
endo |
2004/4/21 21:53:49 |
|
有一个字段是‘状态’其中有‘未读’的记录 我是不是要建立一个count的字段呀 我怎么得到count(*)的返回值呀 |
youtiao |
2004/4/21 21:55:40 |
|
query1.SQL.add('select COUNT(*) as CNT from 主表 where 状态=''未 …… |
mudian |
2004/4/22 14:39:46 |
|
或者这样: query1.open; query1.recordcount; //返回记录总数
|
mudian |
2004/4/22 14:41:15 |
|
你有建立DBGrid和query1的关系吗?
|
jefliy |
2004/4/22 16:18:27 |
|
试试这个,不行才怪。 procedure TForm1.Button1Click(Sender: TObject); b …… |
ymzlx |
2004/5/3 22:18:19 |
|
再加上一个返回提示信息,试试这个,不行才怪。 procedure TForm1.Button1Click(Sender: …… |
ymzlx |
2004/5/3 22:20:24 |
|
你们都没有碰到过这个问题吗?有谁知道的,快告诉我啊,急,先谢了 |
coolhezhi |
2004/4/29 15:02:23 |
|
把你的程序发上来啊,没看怎么知道啊 |
heartair |
2004/5/3 15:40:06 |
|
是不是有相同的主键? |
crazy |
2004/5/3 22:10:45 |
|
有人在吗………………………… |
delphize |
2004/4/24 19:00:56 |
|
先说清楚你想达到什么样的效果 |
crazy |
2004/5/3 22:04:48 |
|
dx和 CS不一定一样 什么事情不能想当然! |
bios |
2004/5/3 20:36:06 |
|
窗口化的CS也是TopMost Style么? 不是吧 所以啊 |
sephil |
2004/5/3 21:47:24 |
|
自己定义好文件格式就行了 |
sephil |
2004/5/3 17:54:21 |
|
支持一下。 |
root_lh |
2004/5/3 18:12:57 |
|
难在打包啊! |
delphize |
2004/5/3 18:32:14 |
|
是的 偶早就问过 没人回答 你啊 估计也够戗!你们很多问题 偶们都问的 没信心了 ,没人帮忙 挨! |
bios |
2004/5/3 20:19:08 |
|
用 ZipTV v6.8.4 For D4-7 With FullSource 吧,我的程序做备份用的就是这个。 |
firerose |
2004/5/3 20:47:57 |
|
唉!太深奥了吧! |
delphize |
2004/5/3 21:32:57 |
|
难在效率
|
sephil |
2004/5/3 21:42:31 |
|
上不去! |
bios |
2004/5/3 8:20:12 |
|
试试http://uk.weather.com/weather/local/CHXX0259 |
jhy |
2004/5/3 20:32:48 |
|
太难了,要去服务器的 数据库文件 数据 你得知道他的数据在哪里 就象你想把 本论坛的所有 帖子都存下来一样,可那谈何容易! |
bios |
2004/5/3 20:37:53 |
|
老问题了 搜以前的帖子吧 |
sephil |
2004/5/3 20:14:39 |
|
是的搜索吧 《花心萝卜》大哥早在去年 就给出解决方案 你们新手都来晚了! |
bios |
2004/5/3 20:34:19 |
|
要知道窗口句柄 SendMessage(句柄, WM_KEYDOWN, Ord('A'), 0); |
sephil |
2004/5/3 18:21:12 |
|
严重同意的说 |
hotfire1258 |
2004/5/3 18:37:21 |
|
T TO 2 |
airred3000 |
2004/5/3 18:38:31 |
|
我只知道程序得标题如何知道它得句柄??? |
airred3000 |
2004/5/3 18:43:55 |
|
HWND := FindWindow(nil, 窗口标题); |
sephil |
2004/5/3 20:12:07 |
|
procedure TForm1.Button1Click(Sender: TObject); begin if G …… |
zizii |
2004/3/16 0:53:41 |
|
不行呀,我把网线都拔了,它还是在线...怎么回事呀???? |
lulugo |
2004/3/16 7:18:46 |
|
Uses:WinIne单元: ..... const cURL='http://freeqq2.qq.com/no …… |
luowenfu |
2004/3/16 8:16:46 |
|
出错了.... [Fatal Error] setdata.pas(10): File not found: 'winin …… |
lulugo |
2004/3/16 13:45:26 |
|
没有人能解决吗? |
none_six |
2004/5/1 18:47:57 |
|
wininet |
sephil |
2004/5/1 19:40:58 |
|
这个函数怎么用啊 |
willing |
2004/5/3 19:15:53 |
|
在这里,看看吧: http://www.delphibox.com/article.asp?articleid=554 |
delphize |
2004/5/3 19:11:42 |
|