Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 23rd, 2024, 9:50 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Access Database not updating correctly
PostPosted: February 3rd, 2008, 1:18 am 
Offline

Joined: May 28th, 2007, 11:39 pm
Posts: 81
Location: Wirral, UK
Opus: v7.03
OS: XP / Win 7
System: Various
Hello,

Don't know if anyone can help, but had quite a frustrating problem.

I've got an access database connected to my opus v.6 publication.

To start with, I was able to read data from the database, search records, update current record, add and delete records.

BUT

Each record in my database has 150 fields.

When I update just a few fields at a time, I manage to do so.

But if I try to update say 100 fields at once, NONE of the new data is updated into the file.

Is there a limit on how many fields Opus can cope with?

Has anyone else encountered a similar problem?

_________________
Opus Pro. v6.0
XP hOME
Intel Core 2 Duo 6550, 2 gb Ram
iNTEGRATED graphics card


Top
 Profile Visit website  
 
 Post subject:
PostPosted: February 3rd, 2008, 11:20 am 
Offline

Joined: December 14th, 2004, 5:08 pm
Posts: 55
Location: Holland
Opus: version 8.0
OS: XP, Vista, Windows7, Windows8
System: Intel Corei7-2600 CPU 3.400GHz
Hi Paul,

Did you write the access and update into a Opus script? If so pls show a copy of the script.

Cheers


Top
 Profile  
 
 Post subject: Databases
PostPosted: February 3rd, 2008, 11:44 am 
Offline

Joined: May 28th, 2007, 11:39 pm
Posts: 81
Location: Wirral, UK
Opus: v7.03
OS: XP / Win 7
System: Various
Hi,

I just used the options in Opus - no scripting used at all. Think I may have actually (after around 6-7 hours) have found a cause - that when you have a variable to update the database with, then if the variable is blank, this stops the entire update working. At least, ensuring none of the variables was blank has stopped the error for me. Has anyone else any experience of a similar problem?

_________________
Opus Pro. v6.0
XP hOME
Intel Core 2 Duo 6550, 2 gb Ram
iNTEGRATED graphics card


Top
 Profile Visit website  
 
 Post subject:
PostPosted: February 3rd, 2008, 12:17 pm 
Offline

Joined: November 25th, 2004, 1:24 pm
Posts: 512
Location: Scotland
Opus: 9.75
OS: Win 10
System: Asus i7-7700K 16Gb
I've created several database applications, and I can't remember having problems like this. I tend to use text fields, accept nulls and I use a space (" ") for any blank fields written to the database.
When you say 'when a variable is blank' how have you set up the variables??
and how do you write a 'blank' to the database??


Sandy

_________________
Whoever designed this, never actually used it!


Top
 Profile  
 
 Post subject: Databases
PostPosted: February 3rd, 2008, 12:28 pm 
Offline

Joined: May 28th, 2007, 11:39 pm
Posts: 81
Location: Wirral, UK
Opus: v7.03
OS: XP / Win 7
System: Various
Hi

I've created a new variable, either as a string or as a number, but not put any value into it. Then have a text input box for users to input a value to it. If they choose not to, then the variable is still blank. When I update current record, I asign the variable to a field, so that is how I can end up with a blank value being created for a field.

Thanks

_________________
Opus Pro. v6.0
XP hOME
Intel Core 2 Duo 6550, 2 gb Ram
iNTEGRATED graphics card


Top
 Profile Visit website  
 
 Post subject:
PostPosted: February 3rd, 2008, 1:53 pm 
Offline

Joined: December 25th, 2004, 3:31 pm
Posts: 178
You should use scripting for database as it is much easier to do for large field updates and easier to diagnose as we can view your SQL script and see if it is correct. The scripting engine in Opus is it's strongest feature and makes developing applications extremely easy, especially for repeat actions.

The only problem I have with database is having more than one user connected to the same Access Database from multiple computers. But that appears to be more of an Microsoft issue than anything else.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group