11.1 -> 11.2 upgrade problems

John DeSoi (7/2/08 12:46AM)
John DeSoi (7/2/08 8:04AM)
Maurice Inzirillo 4DNC (7/2/08 2:36PM)


John DeSoi (7/2/08 12:46 AM)

I have a pretty simple application I upgraded to 11.2 where I have  

noticed a number of problems I was not having with 11.1.

To start, 11.2 did not recognize any of my previous preferences. I had  

to reset method colors and just about every setting in preferences.

My runtime volume build with no changes other than the 11.2 upgrade no  

longer knows about all the words I saved in the dictionary during  

spell checking.

A procedure that worked in 11.1 now sometimes reports that a record is  

locked, but if you check LOCKED ATTRIBUTES in the same method all the  

values are empty.

The worst problem is that the Sum function returns an incorrect value  

when called from a form method or object script. It finally dawned on  

me it was summing all the selected record values except for the  

current record. Here are two traces of the same code, one called from  

a form method and the other called from a method run in a new process:

-------------- next part --------------

Here the current record value amount is 50, but Sum returns zero.

-------------- next part --------------

4D reports both the structure and data are OK.

Anyone else having these problems, or just me?

John DeSoi, Ph.D.

John DeSoi (7/2/08 8:04 AM)

I have a pretty simple application I upgraded to 11.2 where I have  

noticed a number of problems I was not having with 11.1.

To start, 11.2 did not recognize any of my previous preferences. I had  

to reset method colors and just about every setting in preferences.

My runtime volume build with no changes other than the 11.2 upgrade no  

longer knows about all the words I saved in the dictionary during  

spell checking.

A procedure that worked in 11.1 now sometimes reports that a record is  

locked, but if you check LOCKED ATTRIBUTES in the same method all the  

values are empty.

The worst problem is that the Sum function returns an incorrect value  

when called from a form method or object script. It finally dawned on  

me it was summing all the selected record values except for the  

current record. For example, with one record selected, the debugger  

shows [Expense]Amount = 50, but Sum([Expense]Amount) = 0. I get the
 

correct values with the same code and records if I call it from a  

separate method in a new process.

4D reports both the structure and data are OK.

Anyone else having these problems, or just me?

John DeSoi, Ph.D.

Maurice Inzirillo 4DNC (7/2/08 2:36 PM)

Hi John,

With release 2, the local preferences folders have changed.

see the addendum 11.2 page 45 :
http://www.4d.com/support/documentation.html

HTH

Le 2 juil. 08 ý 14:04, John DeSoi a Ècrit :

I have a pretty simple application I upgraded to 11.2 where I have  

noticed a number of problems I was not having with 11.1.

To start, 11.2 did not recognize any of my previous preferences. I  

had to reset method colors and just about every setting in  

preferences.

My runtime volume build with no changes other than the 11.2 upgrade  

no longer knows about all the words I saved in the dictionary during  

spell checking.

A procedure that worked in 11.1 now sometimes reports that a record  

is locked, but if you check LOCKED ATTRIBUTES in the same method all  

the values are empty.

The worst problem is that the Sum function returns an incorrect  

value when called from a form method or object script. It finally  

dawned on me it was summing all the selected record values except  

for the current record. For example, with one record selected, the  

debugger shows [Expense]Amount = 50, but Sum([Expense]Amount) = 0. I
 

get the correct values with the same code and records if I call it  

from a separate method in a new process.

4D reports both the structure and data are OK.

Anyone else having these problems, or just me?

Best regards,

Maurice Inzirillo

--

4D NET Center S.A.

4DBK 3.1 : www.4dbk.com

Internet 4D Hosting : www.4dnetcenter.com

Phone : +41 (0)32  342 27 32

email : maurice.inzirillo@...

iChat : maurice_inzirillo@...

Skype : maurice.inzirillo

Reply to this message

Summary created 7/2/08 at 9:21AM by Intellex Corporation

Comments welcome at: feedback@intellexcorp.com