TDateField type

Hi,
I have a aplication make to paradox database.
Now, i need convert this client/server aplication do a n-layer aplication...
a paradox compatible server aplication will remain ... so, i need make a oracle server compatible...

in oracle, Date is TDateTimeField, and i dont obtaining a solution to transform theses fields in TDateField, cause i using only the date in that...

for where to start?

tks,,

p.s.: doa40/delphi7/wxp/ora10g
 
Oracle dates can always contain a time fraction, so they are always represented as a TDateTimeField. However, a TDateField is derived from a TDateTimeField, so you can treat both as TDateTimeField.
 
oh,,,
nLayer/nTier aplication i think i need convert the values...
if in my appServer oracle compatible i have a dateTimeField... in my appServer paradox/firebird compatible i don't have...
in my clientApp all date fields are dateFields...
my solution, until now, is modified db.pas to try assume the dateTimeField as dateTime, except try dateField in DataConvert call...
but, i don't think this a good solution... maybe will turn slow with a grand data volum...

I Try use a dateField as DateTimeField, in appServer oracle and appServer paradox compatible... and, change the clientDataSet to dateTimeField... but a error like "0.0 is not a valid timeStamp" or a crazy date like 26/11/20256 persists...

My error is im Doa implementation use in ntier applications, or i need find a paradox/firebird solution to make all appServers compatibles, in that is my error?!

give-me an idea!!!

tks...
 
Back
Top