Gossamer Forum
Home : Products : DBMan : Customization :

Last Update Field

Quote Reply
Last Update Field
1) Date field creates appropriately in Add mode. Would like the date field to not display, and auto-update to current date when user updates a record. I tried using "hidden" assigning value like the config block in .cfg, but obviously my syntax is in error.

2) Would like to hide the UserId field from record display -- attempted to remove from record display, but then it gives me "can't find requested record" when I click modify.

3) On another twist, the Id field is blank when written to the file. Auto-Generate id is set to 1. Auto-Gen html display is 0. I have the Id field not displaying in screen display -- do I have to show it to get the id number generated/written?

Thank you.

Regards,

John
Quote Reply
Re: [fdcusa] Last Update Field In reply to
Scratch questions 1 and 2 -- figured out.

Question 3) still remains.

Regards,

John
Quote Reply
Re: [fdcusa] Last Update Field In reply to
Quote:
do I have to show it to get the id number generated/written?


No. But it does have to be your $db_key field. That's the only reason I can think of to that it wouldn't autogenerate.


JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.
Quote Reply
Re: [JPDeni] Last Update Field In reply to
I'm using the Userid as the key field which is guaranteed to be different all the time. Not a problem as I am not using the ID field for anything. 10-Q.

Regards,

John