Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rave report simple problem

Status
Not open for further replies.

stojakovic

Programmer
Apr 14, 2004
2
YU
I have a Table as a DataSet for my TRvDataSetConection.
But, I only want the last record from the table to be printed on the report.
I have tryed everything I know (wich is not a lot b.t.w.!)
but it is allways the whole table printed

 
If you want the last record in the table, try
SELECT MAX(ROWNUM) AS MAXROW FROM SAMPLE_TABLE

If your table has a key, and you want the last key, try
SELECT MAX(SAMPLE_KEY) AS MAX_KEY FROM SAMPLE_TABLE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top