Skip to Content
author's profile photo Former Member
Former Member

Checkbox in a Column

Hello,

I have a Matrix-Column as a checkbox. Now i want do check/uncheck all Checkboxes in the Matrix with one button-click

   
oform.Freeze (True)
For i = 1 To 64
  oColumn.Cells(i).Specific.Checked = True
Next
oform.Update
oform.Freeze (False)

It works and all Checkboxes will be checked. But if i scroll down in my matrix the arrow in the box will be removed, but the checkbox is still checked. It seems that it is a Refresh-Problem?

Any ideas to solve this?

Thanks

Chris

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2005 at 11:32 AM

    Hi,

    I think that you have to change the field values with the DI, the UI just "shows" the values.

    If I am wrong, please somenone correct me!

    I had a problem, with the oForm.DataSources.DBDataSources.Item("@MyTable").SetValue(x,x,x)

    , it doesn't work, doesn't apply the changes in the database.

    I solved it using

    oCompany.UserTables.Item("MyTable").UserFields.Fields.Item("FieldName").Value = "new value"

    Ribeiro Santos

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.