Gossamer Forum
Home : Products : DBMan : Installation :

Can't modify -invalid format

Quote Reply
Can't modify -invalid format
I'm getting an "Unable to modify" (invalid format message.

I have gone back to the default html.pl and turned auto generate on. and still get the same message.

I have debugging turned on, and have posted the page with the error, along with my sched.cfg at

http://www.technologyconsultants.com/DBM/

Default html.pl should be OK

The DB wasn't entered through DB Man. The only field I want to modify is the "Comment" field which is currently empty in all records, though it is defined in the .cfg

Based on the prior posts re this issue, I think that I've checked those issues already.

Thanks
Fred

[This message has been edited by Fred (edited September 30, 1999).]
Quote Reply
Re: Can't modify -invalid format In reply to
Try changing the following line:

Code:
'Comment' => [18, 'alpha', 50, 255, 1, '', 'Comment' ]

With the following:

Code:
'Comment' => [18, 'alpha', 50, 255, 1, '', ''],

Make sure that you do not have a space between the last single quote (') and the right bracket (]). Also you should not put Comment as the regular expression for the Comment field. If you want to have "Comment" be the default value, then you would use the following codes:

Code:
'Comment' => [18, 'alpha', 50, 255, 1, 'Comment', '']

Hope this helps.

Smile

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: Can't modify -invalid format In reply to
Eliot,
Thanks for catching my error. I mistakenly placed the default value as the regular expression. I also had a space before the closing bracket in each field definition, which I removed.

I have paced some "predefined" search links in the sub html_footer.
These work quite well, and return the search.

What I'd really like to do is be able to have these presdefined links return all of the records in sub html_modify_form_record.

In other words, one click returns a group of records, the comment would be added to each of them, and one click would save all of those modified records.

OR sub html_modify_form would allow multiple picks, instead of just one.

Any ideas?

Fred

[This message has been edited by Fred (edited September 30, 1999).]
Quote Reply
Re: Can't modify -invalid format In reply to
Yep...Carol (JPDeni) wrote a mod for the modify routine that prints out records in a spreadsheet format like the delete routines. The mod is located in one of the Threads in either the DBMAN Discussion or Installation Forum.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: Can't modify -invalid format In reply to
Creating the capacity for multiple modification is a huge task. I found the thread with my previous modification on it. It's at www.gossamer-threads.com/scripts/forum/resources/Forum12/HTML/000642.html .


------------------
JPD

PS. If you want to continue this discussion, could you please start a thread in the other DBMan forum? I'd really like this one to focus on problems with initial installation and configuring. (It's my own fault, because I haven't said anything about it for quite a while.)





[This message has been edited by JPDeni (edited September 30, 1999).]