guest
|
| Posted: 06/11/2002, 3:15 PM |
|
I converted a CC2 project to CCS (PHP and templates). There are several
problems I have encountered. First, I have a date field in a grid that is a
URL field. There is no DBFormat property that I can see (so the date doesn't
show). I also had a date field that specified the default to be
Date('Y-m-d'). It generated as follows:
$InitialContactDate = new clsSQLParameter("ctrlInitialContactDate",
ccsD
ate, Array("mm", "/", "dd", "/", "yyyy"), Array("yyyy", "-", "mm", "-",
"dd", "
", "HH", ":", "nn", ":", "ss"), $this->InitialContactDate->GetValue(),
=Date('Y-
m-d'));
PHP does not like the =Date('Y-m-d'), if I remove the "=" it works. I have
removed this from the default value and replaced it with current date and it
still generates this way. I also tried setting the default to nothing and it
still generates. How do I fix this.
|
|
|
 |
|