[V4RB] a60 base object trouble
Robert Nichols
robert at formworkdesign.com
Tue Mar 2 06:47:58 CST 2004
What is "example 1"? My V4RB_client comes with an example named "single
table". This example also demonstrates my trouble.
In the sample, your method object boPerson.TestAddRecords generates a
sql query string by using the "name" property of the base object:
c = DataBase.SqlSelect("SELECT * FROM " + name, kV_Server,
kV_ReadWrite )
In this case, as with my own project, using Server and client a60 this
is now generating a query string of:
"SELECT * FROM "
You can take a look at the object boPerson in the RB debugger and see
that the "name" property has no value, while the other properties
appear to be properly populated.
I'm pretty sure I'm using a60 client. I am not able to identify its
version number, but its creation date is March 1. The previous version
of RB client I used, a8, DID identify its version number in the Finder
window. I wonder if something is wrong with my file...
Robert
On Mar 2, 2004, at 3:13 AM, Ruslan Zasukhin wrote:
> on 3/2/04 5:06 AM, Robert Nichols at robert at formworkdesign.com wrote:
>
>> Hi Ruslan et al,
>>
>> Upon switching to 2.0a60 I have the following problem:
>>
>> Baseobject.name property has no value. I set the name in the
>> constructor, refer to it frequently (I have a subclass of vBaseObject
>> that generates sql query by inserting the name value of the particular
>> subclass for a given table).
>>
>> Anyway, with a60 the app crashes with "no table" error because I have
>> a
>> sql string that includes NO table name (should have been provided by
>> the base object). Investigating in the debugger shows that no base
>> objects have a value for NAME.
>
> Hi Robert,
>
> You have upgrade both Server and V4RB client, yes?
>
> Please test Example1 of V4RB Client.
> If needed modify it to show your problem and send to me ASAP.
>
> --
> 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
> -------------------------------------------------------------
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
More information about the Valentina
mailing list