以文本方式查看主题 - 易表在线答疑 (http://egrid2000.com/dvbbs/index.asp) -- 用户社区 (http://egrid2000.com/dvbbs/list.asp?boardid=2) ---- 内存溢出问题 (http://egrid2000.com/dvbbs/dispbbs.asp?boardid=2&id=27239) |
-- 作者:hbfnmxb -- 发布时间:2014/6/9 12:43:00 -- 内存溢出问题 使用 易表,连接远程打印机,在打印时,总是提示内存溢出,是什么原因? 打印按钮公式为: FilterFor("全员生","=","0101",2) And Report(GridName,"主观客观总成绩",1,Rows,1)And FilterFor("全员生","=","0102",2) And Report(GridName,"主观客观总成绩",1,Rows,1)And FilterFor("全员生","=","0103",2) And Report(GridName,"主观客观总成绩",1,Rows,1)And FilterFor("全员生","=","0104",2) And Report(GridName,"主观客观总成绩",1,Rows,1)And FilterFor("全员生","=","0105",2) And Report(GridName,"主观客观总成绩",1,Rows,1)And FilterFor("全员生","=","0106",2) And Report(GridName,"主观客观总成绩",1,Rows,1)And FilterFor("全员生","=","0107",2) And Report(GridName,"主观客观总成绩",1,Rows,1)And FilterFor("全员生","=","0108",2) And Report(GridName,"主观客观总成绩",1,Rows,1)And FilterFor("全员生","=","0109",2) And Report(GridName,"主观客观总成绩",1,Rows,1)And FilterFor("全员生","=","0110",2) And Report(GridName,"主观客观总成绩",1,Rows,1)And FilterFor("全员生","=","0111",2) And Report(GridName,"主观客观总成绩",1,Rows,1)And FilterFor("全员生","=","0112",2) And Report(GridName,"主观客观总成绩",1,Rows,1)And FilterFor("全员生","=","0113",2) And Report(GridName,"主观客观总成绩",1,Rows,1)And FilterFor("全员生","=","0114",2) And Report(GridName,"主观客观总成绩",1,Rows,1)And FilterFor("全员生","=","0115",2) And Report(GridName,"主观客观总成绩",1,Rows,1)And FilterFor("全员生","=","0116",2) And Report(GridName,"主观客观总成绩",1,Rows,1)And FilterFor("全员生","=","0117",2) And Report(GridName,"主观客观总成绩",1,Rows,1)And FilterFor("全员生","=","0118",2) And Report(GridName,"主观客观总成绩",1,Rows,1)And FilterFor("全员生","=","0119",2) And Report(GridName,"主观客观总成绩",1,Rows,1)And FilterFor("全员生","=","0120",2) And Report(GridName,"主观客观总成绩",1,Rows,1) And ShowAllRows()
[此贴子已经被作者于2014-6-9 14:58:18编辑过]
|
-- 作者:wjq1072 -- 发布时间:2014/6/9 16:12:00 -- 报表打印函数,比PrintReport更加灵活。 语法 |
-- 作者:hbfnmxb -- 发布时间:2014/6/10 14:50:00 -- 我现在用的就是Report这个函数,且远程打印机只有一台,这个公式有问题吗 ? |
-- 作者:lyang70 -- 发布时间:2014/6/10 16:12:00 -- 先试一下吧... |
-- 作者:hbfnmxb -- 发布时间:2014/6/10 18:13:00 -- 先试一下哪个公式? |
-- 作者:lyang70 -- 发布时间:2014/6/11 9:20:00 -- 公式中Report(Grid,Report,StartRow,EndRow,Output,Option,Printer)第七个参数(红色标识的)加上... |
-- 作者:hbfnmxb -- 发布时间:2014/6/12 7:34:00 -- 这样对吗??? [此贴子已经被作者于2014-6-12 14:50:10编辑过]
|
-- 作者:lyang70 -- 发布时间:2014/6/12 10:12:00 -- Printer 可选参数,指定打印机。可以用函数Printers 获得当前计算机的所有打印机。 Printers返回指定编号打印机的名称。 例如 Printers(2) Printers(0)
话又说回来,你计算机本身只连了一台打印机,应该不用设Printer参数。还是那句话,公式修改后测试一下,不行传文件大家帮测一下。 |