Background info, I'm writing a report against an Oracle Database and I'm using Crystal 8.0.
Here's the problem.
In our database, one field is for the date entry. This is a datetime field but only the date counts and the time goes to 12:00:00. The second field is a time entry, but it is a string type field with only 4 numbers for the entry. Thus, 0100 would equal 1AM and 1300 would equal 1PM. What I'd like to do is to combine these two fields into a formula that would become one datetime conversion of both fields.
If you can help me with that, I'd appreciate it
Problem #2-
In our database, I'm trying to get an average time between our From/To Date of occurrence. Thus, there are four fields. Date1, Time1, Date2, and Time2. And you guess it, this is part of problem #1 with the time thing.
So, just to make it more clear, an example
Date1 = 10/01/00
Time1 = 0300
Date2 = 10/1/00
Time2 = 0400
Thus, an incident occurred on 10/01/00 between 0300 and 0400. So, the answer to my question would be the average which in this case is
10/1/00 0330
Partial help would be appreciated. Thanks [sig][/sig]
Here's the problem.
In our database, one field is for the date entry. This is a datetime field but only the date counts and the time goes to 12:00:00. The second field is a time entry, but it is a string type field with only 4 numbers for the entry. Thus, 0100 would equal 1AM and 1300 would equal 1PM. What I'd like to do is to combine these two fields into a formula that would become one datetime conversion of both fields.
If you can help me with that, I'd appreciate it
Problem #2-
In our database, I'm trying to get an average time between our From/To Date of occurrence. Thus, there are four fields. Date1, Time1, Date2, and Time2. And you guess it, this is part of problem #1 with the time thing.
So, just to make it more clear, an example
Date1 = 10/01/00
Time1 = 0300
Date2 = 10/1/00
Time2 = 0400
Thus, an incident occurred on 10/01/00 between 0300 and 0400. So, the answer to my question would be the average which in this case is
10/1/00 0330
Partial help would be appreciated. Thanks [sig][/sig]