Results 1 to 2 of 2

Thread: Refreshing Textfield in datarepeater

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2000
    Posts
    7

    Talking

    hello!

    I'm using a Data repeater to display my OCX with on textfield.
    When a row is activate and when I click on another one, I see the previous value in the textfield and immediately the new value appears. It seems to be a problem of refresh or link betweem my OCx and the Recordset of the datarepeater.

    Havs someone an idea?

    thanks.

  2. #2
    New Member
    Join Date
    Jun 2000
    Posts
    14

    DataRepeater

    Dear Colleague
    I also try to use the DataRepeater control and I seem to come even less far than you. I build my user-control, compile to get the OCX, then, on a form, place the DataRepeater control and a ADO Data Control. I set the Datasource and the RepeatedControlName properties of the DataRepeater. Then I add the field and property pairs eg as follows:

    DataRepeater1.RepeaterBindings.Add "OrderNo", "OrderNo"

    Thereafter, I run the form and I can see my data in the text boxes. However, when I edit a cell to change its value and then change record in the DataRepeater, the edited value immediately reverts to what it was before. It looks as if nothing gets updated. I am aware of the Microsoft Article Q197428 “DataRepeater does not update records”, but even if I use the ADO Data Control to change record, nothing appears to be updated. The DataRepeater Control does not even seem to have an Update method.

    Maybe you drop me a line.
    With thanks Johannes

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width