Hello,

I have a form (using WTemplateForm) which currently contains a WDateEdit
and its model to hold the vaue (using WFormModel). Also, I have a Dbo class
to store model values into database.

For WLineEdit, I can see that calling valueText() from WFormModel is
enough.

But for WDateEdit, what can I do to get a WDate object from WFormModel. The
line below throws exception.

WDate date = boost_anycast<WDate>(pModel->value(DateField));

I actually searching a generic solution for any data I can store using Dbo.

Regards,
Burak
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to