1
  1. 我有一个数据窗口来显示来自 DB 的数据,以及在 DWclicked事件中的以下代码来显示来自 DB 的最新数据。

    if row > 0 then
        ReselectRow(row)
    end if
    

    我将数据窗口样式更改为网格样式。现在,如果我单击 DW 中的一行,它会显示错误ora-00936 missing expression错误。

    任何人都可以早些时候遇到这个问题,请帮助我如何解决这个问题?

  2. 在使用“黑色”颜色对其选择的整列进行排序后,在网格数据窗口中对数据进行排序。

    我想将这种黑色更改为任何其他体面的颜色。我怎样才能做到这一点?

4

1 回答 1

1

That error "ora-00936 missing expression" is from oracle, check your sql code.

And, no, there is not way to change that. But you can do this:

uncheck mouse selection (this property makes the selected column go black), then in the event click search for the field of the clicked header, finally use "Modify" function to change the color of that field (you can select any color you want!).

Remember to reset all the fields to their original colors.

于 2012-10-24T16:13:26.867 回答