What's Wrong With This 'Picture'?
Ruslan Zasukhin
sunshine at public.kherson.ua
Sat Jun 3 14:52:54 CDT 2006
On 6/3/06 2:34 AM, "Chuck Pelto" <cbpelto at pcisys.net> wrote:
>>> Still working towards a modular approach to keeping data in a listbox
>>> closely related to the data in the VTable/VField it came from, in an
>>> application being developed with RB2006v2 and V4RB2.
>>>
>>> I'm having a bit of a problem with a particular call....
>>>
>>> theTable.theField.Value = theData
>>>
>>> The params for the method in the module are as follows:
>>>
>>> theTable as VTable, theField as VField, theData as string, recID as
>>> integer
>>>
>>> The problem is that during compile, I'm getting an error that
>>> theTable.theField.Value does not exist as a method or property.
>>
>> So you have
>>
>> Foo( theTable as VTable, theField as VField, theData as string,
>> recID as
>> integer)
>>
>> theTable.theField.Value = theData << ????
>>
>> end
>>
>> Of course this is wrong. How you going join PARAMETERS into this
>> chain ?
>>
>> TheTable is Vtable varaible.
>>
>> Class VTAble do not have theField property
>
> Okay....
>
> ....how do I translate to the module the field inside of the table I
> want to update?
>
> The IDEAL here is to build a module that can be easily transliterated
> from one application to another.
You already have pointer on field object,
So all you need something like this
theField.Value = theData << ????
theTable.UpdateRecord
--
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