I ilikecs Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-22 #1 我需要通过随机定位RECNO提取数据,不知道用什么方法最简单? while循环? first->moveby?
Z zywcd Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-22 #2 first->moveby. 或者你就在使用sql获取数据的时候就随机获取。 select top No * from tablename order by rnd(len(fieldname)) 随机获取No条记录。
first->moveby. 或者你就在使用sql获取数据的时候就随机获取。 select top No * from tablename order by rnd(len(fieldname)) 随机获取No条记录。
I ilikecs Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-22 #4 不好意思,再问个问题:怎么把RICHEDIT的内容打印出来 richedit1.print(richedit1.text)没有反应?
Z zbr Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-22 #5 RichEdit.Print的意思是 Use Print to print the contents of a rich edit control. The Caption parameter specifies the title that appears in the print manager and on network title pages. 所以没有反应。 需要uses Printers ,用Printer打印。
RichEdit.Print的意思是 Use Print to print the contents of a rich edit control. The Caption parameter specifies the title that appears in the print manager and on network title pages. 所以没有反应。 需要uses Printers ,用Printer打印。
I ilikecs Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-22 #6 ZBR:能否详细指教? Printer.BeginDoc; try richedit1.Print('名单'); finally Printer.endDoc; end; 这段代码出错?
I ilikecs Unregistered / Unconfirmed GUEST, unregistred user! 2006-08-23 #8 唉,还是自己答吧: if PrintDialog1.Execute then richedit1.Print('名单');