Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: formula format (passing date from VB 6 to CR 8.5) Post Reply Post New Topic
Author Message
dummies
Newbie
Newbie
Avatar

Joined: 24 Jan 2007
Location: Indonesia
Online Status: Offline
Posts: 4
Quote dummies Replybullet Topic: formula format (passing date from VB 6 to CR 8.5)
    Posted: 11 Feb 2007 at 7:49pm
hii all,

i have a problem with my report.
i was try passing my date parameter from variabel to formula

Report.FormulaFields.GetItemByName("s-date").Text = "#" & Format(sdate, "mm/dd/yyyy") & "#"

Report.FormulaFields.GetItemByName("e-date").Text = "#" & Format(edate, "mm/dd/yyyy") & "#"

NB:
s-date & e-date = formula that retrun date value
sdate & edate = variable in VB 6

the value that i was passing could work well in the report operation but s-date & e-date format (dd/mm/yyyy) become dd/mm/yyy HH:MM:SS.

although i was format the s-date & e-date (in CR 8.5) to dd/mm/yyyy type, it have no effect.

does any one have a suggestion?
CR newbie
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.032 seconds.