Code Comments
Programming Forum and web based access to our favorite programming groups.On Tue, 29 Mar 2005 10:42:51 +0800 (CST), digit Shine <digit_shine@yahoo.com.cn> wrote: > 1 Does processForm() insert/update the crossLinks DO? Of course. > 2 My crossLink DO has a two fields primary key, shall > it be detected. In my case, error message shows: > FormBuilder: Primary key not detected - storing data > not possible. I understand this question as a crossLink table's Primary Key could easily be the combination of the two foreign keys. However, since DB_DO doesn't wupport multi-field keys and FormBuilder also hasn't been build with this in mind we still require a single-column primary key. I would suggest, as always before, an auto incremented id primary key with an additional unique constraint on the two foriegn keys. > 3 If the answer of the 1st question is NO, how can I > identify to insert or update in postProcessForm()? >=20 > Thx >=20 > bitShine >=20 > ________________________________________ _________________ > Do You Yahoo!? > 150=CD=F2=C7=FAMP3=B7=E8=BF=F1=CB=D1=A3= AC=B4=F8=C4=FA=B4=B3=C8=EB=D2=F4= =C0=D6=B5=EE=CC=C3 > http://music.yisou.com/ > =C3=C0=C5=AE=C3=F7=D0=C7=D3=A6=D3=D0=BE= A1=D3=D0=A3=AC=CB=D1=B1=E9=C3=C0= =CD=BC=A1=A2=D1=DE=CD=BC=BA=CD=BF=E1=CD= BC > http://image.yisou.com > 1G=BE=CD=CA=C71000=D5=D7=A3=AC=D1=C5=BB= A2=B5=E7=D3=CA=D7=D4=D6=FA=C0=A9= =C8=DD=A3=A1 > http://cn.rd.yahoo.com/mail_cn/tag/....com/event/mai= l_1g/ >=20 > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >=20 >=20 --=20 Justin Patrin
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.