Program hang at database.close

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Apr 17 01:16:21 CDT 2008


On 4/17/08 12:11 AM, "Neal Campbell" <nealk3nc at gmail.com> wrote:

Hi Neal,

I have start do your code overview,
First comment is

  fld_String = tblpref.CreateStringField("Addr1",40,EVFlag.fNullable)
  fld_String = tblpref.CreateStringField("Country",75,EVFlag.fNullable)
  fld_String= tblpref.CreateStringField("License",90,EVFlag.fNone)
      

** I think it is better to use VarChar here.
            String is okay for N <=20 for example.

   
 
** Generally speaking, assignment of several objects line by line into the
same variable fld_String may looks scary :-)

    Although in your case this is not a problem, because Valentina
internally LOCK field objects of course, so they do not depend on REALbasic
variables that point them.
    
If you do not care about returned object, its possible do

  call tblpref.CreateStringField("Addr1",40,EVFlag.fNullable)
  



-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list