BindField in V4MD

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Feb 22 13:16:26 CST 2005


On 2/22/05 12:48 PM, "Florian Bogeschdorfer" <fb at memedia.de> wrote:

Hi Florian,
 
> I am trying out bindField and it does not work out.
> 
>  
> 
> My code:
> 
>  
> 
> (VALcursors["CAMPAIGNcursor"]).bindField("CAMPAIGN_NAME",member("DIS-CAMPAIG
> N-NAME"))
> 
>  
> 
> I get a bindfield.done from Valentina.
> 
>  
> 
> Now if I step through the cursor, shouldn't the field always display the
> CAMPAIGN_NAME from the current record?

Yes it should.

Hmm, exmaple "101 complex" have binding. Please check.

> And if I change the member text, shouldn't these changes be saved to the DB
> immediately?

No, you still need say curs.Update().

Benefit is that you do not need copy from EditField into cursor fields.

> Well, I don't get any field content to even display. What am I missing?
> 
> Even if I update the record conventionally (updateRecord()), the field is
> not changed although Valentina gives no error and although it works with the
> other record fields that are not bound.

Hmm, I did not check this point far ago, and it seems nobody use this
mechanism.

-- 
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
-------------------------------------------------------------




More information about the Valentina mailing list