If you are now mournfully gazing at 
an entirely blank report, please check that you have completed all the
steps – a likely explanation is that you forgot to set TTable1’s Active
property to True. Similarly, if you are looking at a report with only one
line – ‘Kauai Dive Shoppe’ – the problem is probably that you failed to
connect QuickRep1’s Dataset property to TTable1.
摘自Build Reports using QuickReport 3,对Table和TQuery是一样的.

解决方案 »

  1.   

    test your TQuery.SQL.Text,just Execute it to find if is has something wrong 
      

  2.   

    测试过了,SQL绝对没问题:是select * from 表
    如果failed to
    connect QuickRep1’s Dataset property 那也不会啊,那怎么会有记录显示出来呢,虽然只有一条
      

  3.   

    再将QuickReport的DataSet设为你的那个Query,OK
      

  4.   

    我还在,但没有QQ,不知为什么申请QQ时总告诉我服务器忙,稍后再注册.
    如果你按照上述方法执行的话,应该可以的,你用的是delphi 5么?
      

  5.   

    我在delphi 5,6上均试过,没问题.
      

  6.   

    相识一场,bigban大给分拉:)
      

  7.   

    设置QuickReport属性DataSet为Query!!《mdx》
      

  8.   

    我说一点吧!
       QUERY AND TABLE都是一样的,你可一这样:
       QUERY对应一个DBGRID看其中的记录数为多少,而且在送行为表现打印时,是否有条件。