Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Saving record error
-
- Posts: 12
- Joined: Mon Oct 29, 2012 5:18 am
Saving record error
First of all, I think this app has a lot of possibilities. I've used Access and Open Office and this does provide some unique options. I had a database set up and it was working well. However, I upgraded to a newer version and now I'm getting save errors. When I add a record, the program saves a new record, but it doesn't save any of the data I enter. I can then click on the newly created (but mostly empty record) and add my data that way. Any suggestions?
-
- Posts: 12
- Joined: Mon Oct 29, 2012 5:18 am
Re: Saving record error
I'm having the same problem with all of the forms I've created.
I'm running: nubuilder-v2.8-12.12.11-Build550
I'm running: nubuilder-v2.8-12.12.11-Build550
-
- Posts: 12
- Joined: Mon Oct 29, 2012 5:18 am
Re: Saving record error
I've upgraded to the mostrecent version and still having the same problems. Not sure why as it worked with a previous install.
-
- Posts: 12
- Joined: Mon Oct 29, 2012 5:18 am
Re: Saving record error
I've tried creating new forms. I deleted the entire database and reinstalled. I used the sample file and then manually added the tables. I added the sample file to the SQL injection script to create the records and nothing seems to be working.
I tried attaching the sql script, but it won't let me. Here's the instructions for a sample table:.
Not sure what is with the table
I tried attaching the sql script, but it won't let me. Here's the instructions for a sample table:
Code: Select all
CREATE TABLE IF NOT EXISTS `team` (
`team_id` VARCHAR(11) NOT NULL ,
`team_name` VARCHAR(45) NULL ,
`team_captain` VARCHAR(11) NULL ,
PRIMARY KEY (`team_id`) )
ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
Not sure what is with the table
Re: Saving record error
chrisb,
What do you mean by
What do you mean by
StevenI added the sample file to the SQL injection script
-
- Posts: 12
- Joined: Mon Oct 29, 2012 5:18 am
Re: Saving record error
What I meant was that was the sql insert I used to create the table that the form was used for. I didn't know if I had some incorrect table setting that would cause the form to act that way.
Re: Saving record error
chrisb,
This is your problem.. Primary Keys need to be at least 14 characters wide - i suggest 15, and that therefor goes for foreign keys as well.
http://wiki.nubuilder.com/tiki-index.ph ... uilderDocs
These IDs are created with a php function (uniqid) and are being chopped off as you save them.
This will fix - adding a record and having to go back and select it in the browse.
Steven
This is your problem.. Primary Keys need to be at least 14 characters wide - i suggest 15, and that therefor goes for foreign keys as well.
http://wiki.nubuilder.com/tiki-index.ph ... uilderDocs
These IDs are created with a php function (uniqid) and are being chopped off as you save them.
This will fix - adding a record and having to go back and select it in the browse.
Steven
You do not have the required permissions to view the files attached to this post.