larry wrote:
> Paul,
> 
> How do you set the date format for a date type field? I have..
> 
> dabo.settings.dateFormat = "%m/%d/%Y"
> 
> declared but the report shows in yyyy-mm-dd format.

Because that's how datetime.date instances are configured to show their str() 
values.

I've done it in 2 ways. I really need to provide a beforeHook so that you can 
import 
needed imports.

#1:
<expr>self.myDate.strftime('%x')</expr>

#2:
fill your report cursor's date field with a string rendition using 
dabo.lib.dates.getStringFromDate(myDate)

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