V4RB 1.10 Platform inconsistency

Fred.Stephenson Fred.Stephenson at communication-unltd.com
Tue Mar 9 17:43:07 CST 2004


hi Ruslan,

I've just come across a problem where I wanted to update a database 
(add new fields) so I did the following after checking the schema 
version

   bo=mdatabase.BaseObject("customertable")

   vs=bo.CreateStringField("Referral",30,"ascii","")
   vb=bo.CreateBooleanField("Mailing","")
   vs.Indexed=true

now this works fine on the Mac and adds the fields however my app 
gives a nilexception when populating panes on the PC. When I check 
with viSql it displays the newly added fields as method fields.


all the best

Fred





More information about the Valentina mailing list