[V4RB] Does order in constructor make difference?

Ruslan Zasukhin sunshine at public.kherson.ua
Sat Jan 24 22:45:41 CST 2004


on 1/24/04 10:36 PM, Cindy Brown at cindy at kowhaiprogramming.com wrote:

> Hi Ruslan,
> 
> I spent ages on this database. I thought I had got it right in the end by
> changing the order but I would get to a certain point in the database and it
> would fail. The program would just quit. In VAPP the data looked fine, the
> methods calculated correctly.
> 
> I found, though, that in doing particular methods which are set as strings:
> 
> substr(School_Number+4659,2,1)
> Substr(School_Number+4659,3,1)
> Substr(School_Number+4659,1,1)
> 
> These would fail on the odd record completely. Yet:
> 
> Substr(School_Number+4659,4,1) would always work.
> 
> School_Number is a short field. You have no ability to set in a method a
> field as a string and normally it just uses the number as a string if I set
> it in a concat or a substr but in this case it just didn't work.
> 
> I would like to stress that in VAPP it calculates perfectly. It just in
> V4RB. And I can run through 2000 records with no problems, the record
> showing properly, and on the 2001st record it fails. It is actually always
> the same records that fail. So then I deleted the record and retyped it in
> from scratch making sure the characters were all fine. It still failed. The
> record is not obviously different from the other records. I found at least
> four records that fail.
> 
> Once I removed those particular method commands and actually programmed them
> within RB, the records are working with no problems.
> 
> I can send you a small database on this if you want.

Yes of course.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list