This topic is locked

Time Field

6/25/2006 10:49:33 AM
PHPRunner General questions
U
Uwe Loyal author

Hello!
I read may Artikels in this Forum about time fields, but there is still a bug.

In my Database "view as" is blank and "edit as" is a textfield (explained in this Forum by Admin).

When I push the alter link, there is no time in this field, if I push the view link, there is a time shown.

If I'm altering this to an Textarea, all works fine.
How can I see the time, while using the altering page, using textfield iso textarea?.
Rgds

Uwe Loyal

Alexey admin 6/27/2006

Uwe,
thank you for pointing me to this.

We'll add a full TIME fioeld support to the next PHPRunner version.
To get your pages working please try to modify dbconnection.my.php file in

C:\Program Files\PHPRunner\source\include folder.

Find this snippet there:

---------------------------------------------

function IsDateFieldType($stype)

{

$type=strtoupper($stype);

if($type=="DATE" || $type=="DATETIME" || $type=="TIME" || $type=="TIMESTAMP")

return true;

return false;

}

---------------------------------------------

and replace it with

---------------------------------------------

function IsDateFieldType($stype)

{

$type=strtoupper($stype);

if($type=="DATE" || $type=="DATETIME" || $type=="TIMESTAMP")

return true;

return false;

}

---------------------------------------------

Then rebuild your pages.

U
Uwe Loyal author 7/19/2006

Thanks for Info!

When is the new Version ready for download?

Is it possible to get a Testversion?
Rgds

Uwe Loyal