Roger Lovelock wrote:
> First report completed and correct in every particular (Financial Statement). 
> I am now working on various transaction listings. Problem I have is hopefully 
> simple - in the Financial Statement the only date was the Report date (ie 
> Today) which was easy to get and format per local format. In the transaction 
> listings each detail line has a date of course. My problem is - how do I 
> enter a date in my test cursor - in the absence of any sort of indicator it 
> is being read as either a string, or an integer and my formatting of the 
> field is then causing an error.
> Any advice appreciated.

The string values in the report designer property sheet will get eval()'d by 
the 
report writer, which is why when you enter a string you need to put the quotes, 
like 
"Paul McNett". For dates, use datetime.date(2006,5,3) for example (no quotes).

Paul

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to