Realbasic Object Model question

Neal Campbell nealk3nc at gmail.com
Tue Apr 15 13:15:48 CDT 2008


I used Object as the reference for the style in the V4RB Examples
folder, where you just define a table as a VTable object, so whatever
that is called is what  meant!

Anyway, I found out by experimenting that you can, within the
subclassed VTable class constructor do:

myField = new VString() and within the parens just use the same
parameters as you use in the API CreateStringField call and it works.


Ended up answering my own question!!

Neal

On Tue, Apr 15, 2008 at 2:08 PM, Ruslan Zasukhin
<sunshine at public.kherson.ua> wrote:
> On 4/15/08 7:43 PM, "Neal Campbell" <nealk3nc at gmail.com> wrote:
>
>  Hi Neal,
>
>
>  > I am working on a project using a local Valentina DB and want to use
>  >  the Object model. In the examples there are none of the "EVFlag"
>  >  attributes set. Does the OO model not use any of them (for instance,
>  >  indexed, nullable, etc.)?
>  >
>  >  I can see I establish the binary links as separate objects which is
>  >  quite nice but do not know about EVFlag settings.
>
>  1) EVFlag of course can be used in the API Style.
>
>  For example see here:
>
>  <http://www.valentina-db.com/dokuwiki/doku.php?id=paradigma:public:en:docume
>  ntation:api:vtable_class:structure_methods:numeric_fields#vtable.createshort
>  field>
>
>  You can see it usage in CreateXXXXField() methods
>
>  CreateShortField(
>     inName as string,
>     inFlags as EVFlag = fNone,
>     inMethod as String = "" ) as VShort
>
>
>  So you can write:
>
>     tblPerson.CreateStringField( "fldLastName", EVFlag.Indexed )
>
>
>
>  2) Please note, Valentina provides not OO Model, but OR Model,
>     i.e. Object-Relational.
>
>  3) in section of WIKI / Articles you can find article about models.
>
>
>
>  --
>  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]
>
>
>  _______________________________________________
>  Valentina mailing list
>  Valentina at lists.macserve.net
>  http://lists.macserve.net/mailman/listinfo/valentina
>



-- 
Neal Campbell
Abroham Neal Software
Programming Services for Windows, OS X and Linux
(540) 242 0911
---------------------------------------------------------------------
Try Spot for OS X, the intelligent DXCluster Client at
www.abrohamnealsoftware.com

For a great dog book, visit www.abrohamneal.com


More information about the Valentina mailing list