What's Wrong With This 'Picture'?

Chuck Pelto cbpelto at pcisys.net
Fri Jun 2 17:34:53 CDT 2006


On Jun 2, 2006, at 3:27 PM, Ruslan Zasukhin 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.

Regards,

Chuck Pelto


More information about the Valentina mailing list