[ic] not using autonumber when creating a new item in admin ui

Stefan Hornburg racke at linuxia.de
Thu Jan 15 10:28:17 EST 2004


On Thu, 15 Jan 2004 15:21:15 +0000
John Allman <allmanj at houseofireland.com> wrote:

> Stefan Hornburg wrote:
> 
> >Certainly you can select a key value in your
> >form like that
> >
> ><input type="hidden" name="mv_data_key"	value="idf">
> ><input type="hidden" name="idf"	value="7778899">
> >
> >Bye
> >	Racke
> >  
> >
> This doesn't appear to have worked:( now nothing is being put in the 
> table at all.

Check your error log / SQL log for hints.

> 
> I'm a little confused by the documentation about mv_data_key:*
> 
> "mv_data_key*
> The field that is the primary key in the table. It must match the 
> existing database definition."
> 
> This seems to say it's the name of the field, not the value of the field 
> in the new entry?

Yes. idf is the primary key in my example.

Bye
	Racke

-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team



More information about the interchange-users mailing list