I am having an issue where we cannot add new records within a form. The form is located both locally and over the network via network shares.
Whenever we open the Form, it'll open Base just fine, and we can see the Form in the Forms field, but after opening the Form from there and trying to create a new record it gives the error message in this photo:
What could be causing this issue and how would I go about resolving it?
thanks
Cannot create new record within Form
Cannot create new record within Form
Last edited by Hagar Delest on Tue Mar 12, 2013 3:07 pm, edited 1 time in total.
Reason: pic embedded.
Reason: pic embedded.
OpenOffice 3.3 on Windows 7
Re: Cannot create new record within Form
The error message tells it all. It does even tell you what you are supposed to do.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: Cannot create new record within Form
Well golly-gee-willickers! Why didn't I think of that.Villeroy wrote:The error message tells it all. It does even tell you what you are supposed to do.
1) you cannot just simply enter data into the specified field
2) it happens when it shouldn't and it's random, meaning it can happen and then another occasion, not
I'm also getting an error on another unit that says a specific user "cannot be found."
Any ideas other than smart remarks of pointing out the obvious will be greatly appreciated.
Thanks
OpenOffice 3.3 on Windows 7
Re: Cannot create new record within Form
Welcome noahw86,
For starters, can we presume you're running a the database in a proper multi-user mode through a database-server like HSQLDB, MySQL, etc?
Otherwise, if you're accessing a single-user, 'embedded database' stored within a Base .odb, then you'll be fighting OS-level file locks if you attempt to open the Form on multiple computers simultaneously, or even if you're running the Quickstarter on any connected computer used for database access.
Since you're running in a client-server environment, perhaps using a standalone Form, this could be caused by a variety of things including OS-level: file locking, database-level: user-roles, operating mode (single- or multi-user), table-level: constraints, referential integrity, lack of an auto-incrementing primary key...etc.noahw86 wrote:The form is located both locally and over the network via network shares.
For starters, can we presume you're running a the database in a proper multi-user mode through a database-server like HSQLDB, MySQL, etc?
Otherwise, if you're accessing a single-user, 'embedded database' stored within a Base .odb, then you'll be fighting OS-level file locks if you attempt to open the Form on multiple computers simultaneously, or even if you're running the Quickstarter on any connected computer used for database access.
AOO 4.1.x; LO 4.2.x; Windows 7/8 64-bit
Warning: Avoid embedded databases --> Solution: Adopt a portable 'split database' folder
Soli Deo gloria
Warning: Avoid embedded databases --> Solution: Adopt a portable 'split database' folder
Soli Deo gloria
Re: Cannot create new record within Form
And why don't you tell us? The most trivial reason would be that you simply forgot to add the form control for that mandatory field. It could be anything but you do not even tell us the database you are working with.noahw86 wrote:Well golly-gee-willickers! Why didn't I think of that.Villeroy wrote:The error message tells it all. It does even tell you what you are supposed to do.![]()
1) you cannot just simply enter data into the specified field
2) it happens when it shouldn't and it's random, meaning it can happen and then another occasion, not
I'm also getting an error on another unit that says a specific user "cannot be found."
Any ideas other than smart remarks of pointing out the obvious will be greatly appreciated.
Thanks
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: Cannot create new record within Form
Sorry, I'll clarify a little more. The "form" that I was referring to that is located both locally and on the network was the .odb file but that only opens the application and connects to the HSQLDB.DACM wrote:Welcome noahw86,
Since you're running in a client-server environment, perhaps using a standalone Form, this could be caused by a variety of things including OS-level: file locking, database-level: user-roles, operating mode (single- or multi-user), table-level: constraints, referential integrity, lack of an auto-incrementing primary key...etc.noahw86 wrote:The form is located both locally and over the network via network shares.
For starters, can we presume you're running a the database in a proper multi-user mode through a database-server like HSQLDB, MySQL, etc?
Otherwise, if you're accessing a single-user, 'embedded database' stored within a Base .odb, then you'll be fighting OS-level file locks if you attempt to open the Form on multiple computers simultaneously, or even if you're running the Quickstarter on any connected computer used for database access.
And yes, it is being run as a HSQLDB. I meant to include that originally. Also, worth noting, it isn't access permissions (I don't think) because it happens even when attempting to access it locally.
OpenOffice 3.3 on Windows 7