Gossamer Forum
Home : Products : DBMan : Discussions :

Re: Dates-ID Number

Quote Reply
Re: Dates-ID Number In reply to
1) Your index.count file is corrupt. Edit the number in that file to the LAST record number in your default.db file, and make sure that you have enabled tracking via the $db_track variable in the default.cfg file.

2) The problem is that if you have the DATE field editable by your users, it will pose problems with editing it since users don't know the format...Two solutions:

a) Use a HIDDEN field in your sub html_record_form, like the following:

Code:

<input type="hidden" name="Date" value="$rec{'Date'}">


b) Add an example of how the format should look, like the following:

Code:

Please enter the following date format: (dd-mmm-yyyy)


Also, if you have edited the DATE subroutines in the default.cfg file, then that may pose problems with modifying existing records with different date formats.

Regards,

Eliot Lee
Subject Author Views Date
Thread Dates-ID Number magicbus 2653 Apr 27, 2001, 7:42 AM
Thread Re: Dates-ID Number
Stealth 2568 Apr 29, 2001, 12:36 AM
Post Re: Dates-ID Number
magicbus 2549 Apr 29, 2001, 7:16 AM