To post data to a report without a database field, create a new formula and then drag and drop that formul to the report. Now, the question is, what should the formula be? You can do it two ways. The first, and easiest, is to use the RecordNumber function. Just type that into your formula and it displays the record numbers, which is the same as incrementing by one. Try that and see what happens!
Oh yeah - there is also a RecordNumber special field, and you can drag and drop that onto your report as well and you don't have to create a formula if you do that.
If you need to learn more about Crystal Reports, my Encyclopedia book is filled with tutorials that walk you through the steps of building all types of reports. You can find out more about my books at
Amazon.com or reading the
Crystal Reports eBooks online.
Edited by BrianBischof - 20 Nov 2008 at 12:52pm