Rob's solution is good, although you could also accomplish it with the 
OnGetText event for your dvDate field (select the field in the field editor and
look on the Object Inspector event page). I.E.

procedure TForm1.DvDateGetText(Sender: TField;  var Text: String; 
DisplayText:Boolean);
begin
text := DateTimeToStr(Sender.asDateTime - 1);
end;

Dave

soonhuat ong <[EMAIL PROTECTED]> wrote:                             Hi David 
Smith, would you mind to elaborate in details ?? 
 
 David Smith <[EMAIL PROTECTED]> wrote:          I was able to do that once by 
writing to it's text property which it should have by being a descendant of 
TComponent.
 
 Dave
 
 soonhuat ong <[EMAIL PROTECTED]> wrote: Hi all,
 
 I create a dataview on my Rave Report with following fields:
 dvName = String Type
 dvDate = Date Type
 
 Now i drop 2 DBText components on my Rave Page, DBText1 will bind to dvName, 
and DBText2 will bind to dvDate .. 
 
 The question now is, i want DBText2 to display a day before actual dvDate 
value, how can i do it ?? 
 
 Thanks in advance everyone
 
 [Non-text portions of this message have been removed]
 
 [Non-text portions of this message have been removed]
 
 [Non-text portions of this message have been removed]
 
 
     
                                       

       

[Non-text portions of this message have been removed]

Reply via email to