Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

field in subform

Locked
johan
Posts: 399
Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium
Been thanked: 3 times

field in subform

Unread post 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
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: field in subform

Unread post by admin »

Johan,

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

Steven
johan
Posts: 399
Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium
Been thanked: 3 times

Re: field in subform

Unread post by johan »

Steven,

It has to be file instead of field.

Johan
You do not have the required permissions to view the files attached to this post.
johan
Posts: 399
Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium
Been thanked: 3 times

Re: field in subform

Unread post 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?
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: field in subform

Unread post 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
johan
Posts: 399
Joined: Sun Feb 27, 2011 11:16 am
Location: Belgium
Been thanked: 3 times

Re: field in subform

Unread post by johan »

Steven,

With an extra field it works fine.

Thanks again,
Johan
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: field in subform

Unread post by admin »

.
Locked