Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 10 total
Thread EWB 2.05B3 - Persistent load error
Fri, Aug 26 2016 1:48 PMPermanent Link

Trinione

The following error appears on application load. Upon closing it the system works fine. No code has been changed and this never appeared prior.

---------------------------------------------------------
'Uncaught Error: Persistent load error (The 'dsDatasetName' dataset must be open in order to complete this operation)

Line 30621
---------------------------------------------------------
Fri, Aug 26 2016 4:29 PMPermanent Link

Richard Harding

Wise Nutrition Coaching

<<No code has been changed and this never appeared prior.>>

Trinione

There is 2 coding changes that are required for existing applications.  Did you add the following to the OnCreate event of the main form?

  Database.AutoTransactions := false;
  Database.DatabaseName := 'DatabaseName';

Richard
Fri, Aug 26 2016 4:57 PMPermanent Link

Trinione

<< There is 2 coding changes that are required for existing applications.  Did you add the following to the OnCreate event of the main form?

  Database.AutoTransactions := false;
  Database.DatabaseName := 'DatabaseName';
>>


Richard:
Yep. Both are there. First lines in the OnCreate.

T'wasn't happening in 2.05B1 or B2. (Is t'wasn't a word?? Hmmmm)
Sun, Aug 28 2016 5:23 PMPermanent Link

Jeff Cook

Aspect Systems Ltd

Avatar

On 27/08/2016 8:57 AM, Trinione wrote:
>
> T'wasn't happening in 2.05B1 or B2. (Is t'wasn't a word?? Hmmmm)
>
't wasn't a word when you when you mishyphenated it!

(mishyphenated a word?)

Cheers

Jeff
Mon, Aug 29 2016 7:25 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

<< The following error appears on application load. Upon closing it the system works fine. No code has been changed and this never appeared prior. >>

Is this the application that you sent me ?  If so, I'm looking at it this morning.

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Aug 29 2016 3:42 PMPermanent Link

Trinione

Tim Young [Elevate Software] wrote:
<< Is this the application that you sent me ?  If so, I'm looking at it this morning. >>

Yes. Any solution/update?
Mon, Aug 29 2016 6:37 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com


<< Yes. Any solution/update? >>

Do you know which form was causing this ?  I'm not seeing it here, but I didn't open up every form (there's a lot of them Smile).

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Aug 29 2016 6:44 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Duh, never mind, I forgot that this was a run-time error, not a design-time error.

Still looking...

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Aug 29 2016 6:48 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Okay, there are too many missing custom controls for your project that you sent, so please email me a URL that I can use to load the application from, and I'll run it here and debug it in the browser instead.

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Aug 29 2016 7:14 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Never mind - I wanted to check it out before doing a new build.

I reproduced the problem here, but with a different dataset.   Your UIPermissionCheck function was trying to access a dataset before it was actually loaded (and opened).

Tim Young
Elevate Software
www.elevatesoft.com
Image