Howdy,
I am a beginner and need some help from you guys.
Database: SQl Server 2000
BO: 6.1b
How the truncate the time part in a Date Object. The object(date datatype) is used as predefined prompt filter(list of values enabled) When runing the report, the value comes like
ex: 12/10/2004 12:00:00.
i just want the date part.
this is tricky.how to create a look up table?
I got 2 tables
table Field1 Field2
tbl1 xanum CSid
tbl2 ccid —
A object has be created in BO for CCID, but i want to lookup tbl1 and display corresponding values in CSID column
The query/relationship is :
select csid
from tbl1 INNER JOIN tbl2 ON
convert(int,substring(tbl2.ccid,6,9)) = tbl1.xanum
I know its more confusing, but any help would be much appreciated…
I think you should just change the object format. Right click the object in the designer and select “Object Format”. Select Date and change the format to one that doesnt have time.
I dont know if I got what you are looking for, but you can create an object to do convert(int,substring(tbl2.ccid,6,9)), and then join with tbl1.xanum using that object. That would give you the same query.
Can I suggest that you edit your original post in this topic, and give it a more meaningful subject? You will find that you will get more help that way.