Gossamer Forum
Home : Products : DBMan : Customization :

Changed 'ID' to 'RecordID' for export to excel

Quote Reply
Changed 'ID' to 'RecordID' for export to excel
Changed ID to RecordID so the exported excel file could be imported into excel. Now I can't add a new record.
Quote Reply
Re: [rdub] Changed 'ID' to 'RecordID' for export to excel In reply to
Did you change it every place that it's used? Like in the html.pl file?


JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.
Quote Reply
Re: [JPDeni] Changed 'ID' to 'RecordID' for export to excel In reply to
In the html_record_form and html_record areas?
Quote Reply
Re: [rdub] Changed 'ID' to 'RecordID' for export to excel In reply to
Any place in any file where that field name is referenced must be changed. Presumably, yes, it would be mostly in sub html_record and sub html_record_form. But also in your .cfg file, where you define what the $db_key variable is. It's likely that it's not used anywhere else, but I would look it over to be sure.


JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.
Quote Reply
Re: [JPDeni] Changed 'ID' to 'RecordID' for export to excel In reply to
I changed those areas, but, I'll try again.
Quote Reply
Re: [rdub] Changed 'ID' to 'RecordID' for export to excel In reply to
If you've changed every reference to the field name and you still can't get it to work, then you must have done something else in addition to changing the field name that's causing the problem.


JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.
Quote Reply
Re: [JPDeni] Changed 'ID' to 'RecordID' for export to excel In reply to
Youre right. I'm starting over now.
Quote Reply
Re: [rdub] Changed 'ID' to 'RecordID' for export to excel In reply to
I started over. The mod worked. Changed 'ID' to 'RecordID' in the default.cfg file and in the html.pl file at sub html_record_form { and sub html_record_form { . There must be someplace else that I am missing. The only other thread I see on this is from January 2000. It doesn't clarify and it is quite old so I don't know if I'll get a response.
Quote Reply
Re: [rdub] Changed 'ID' to 'RecordID' for export to excel In reply to
Sorry. I had missed one variable. Think it is working.