Page 1 of 1

field in subform

Posted: Tue Dec 06, 2011 9:30 am
by johan
Hi,

I've tried to put a field (upload document) in a subform because I want to upload multiple files for 1 customer.

If I tried this, I get an error (not allowed).

Is there an other sollution to add multiple files to 1 customer?

Thanks,

Johan

Re: field in subform

Posted: Tue Dec 06, 2011 10:06 pm
by admin
Johan,

Can you send us a screen with the error on it?

Steven

Re: field in subform

Posted: Wed Dec 07, 2011 9:25 am
by johan
Steven,

It has to be file instead of field.

Johan

Re: field in subform

Posted: Mon Dec 12, 2011 7:44 pm
by johan
Steven,

I found http://www.nubuilder.com/change.php?cha ... e552432b2e in changelog. I've adjust this in my database but it's still not working.

Now I can place a file type in my subform but when I upload a file I get blob null and Nubuilder doesn't create the extra colums in my table. When I add the 3 colums by my self the result stays the same. I also don't get the foreign key (from my form) into the table.

So Nubuilder adds a row but with nothing in it.



Johan

PS How do I know that I'm using the most recent mysql tables of nubuilder?

Re: field in subform

Posted: Thu Dec 15, 2011 12:54 am
by admin
Johan,

In a subform you will probably need at least 1 normal field (not a file object) to be saved as well.
Try that and see how it goes.

Steven

Re: field in subform

Posted: Thu Dec 15, 2011 12:04 pm
by johan
Steven,

With an extra field it works fine.

Thanks again,
Johan

Re: field in subform

Posted: Tue Dec 20, 2011 6:10 am
by admin
.