Last Modified Date

A place for users and developers of the Xataface to discuss and receive support.

Last Modified Date

Postby njw » Fri Aug 01, 2008 3:46 am

Does the last modified date field have to have a specific name or is there an option to tell Xataface that this is the date field to use?

Many thanks

Neil
njw
 
Posts: 280
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Fri Aug 01, 2008 7:54 am

Use the timestamp=update directive in the fields.ini file.

e.g.

[my_field]
timestamp=update


Just make sure that the field allows null values.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Many thanks

Postby njw » Fri Aug 01, 2008 8:20 am

Neil
njw
 
Posts: 280
Joined: Wed Dec 31, 1969 5:00 pm

Sorry

Postby njw » Fri Aug 01, 2008 8:22 am

But how does Xataface know that this is the field to use if I have more than one date field?

Thanks

Neil
njw
 
Posts: 280
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Fri Aug 01, 2008 8:24 am

You specify the timestamp parameter in the section for one particular field. In the example I gave above you would be using the [my_field] field.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 26 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved