Changed ID to RecordID so the exported excel file could be imported into excel. Now I can't add a new record.
May 28, 2005, 5:39 PM
Veteran / Moderator (8669 posts)
May 28, 2005, 5:39 PM
Post #2 of 9
Views: 5371
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.
JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.
May 28, 2005, 6:43 PM
Veteran / Moderator (8669 posts)
May 28, 2005, 6:43 PM
Post #4 of 9
Views: 5363
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.
JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.
May 28, 2005, 7:53 PM
Veteran / Moderator (8669 posts)
May 28, 2005, 7:53 PM
Post #6 of 9
Views: 5384
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.
JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.
May 29, 2005, 12:23 PM
User (87 posts)
May 29, 2005, 12:23 PM
Post #8 of 9
Views: 5336
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.