Thread Rating:
  • 409 Vote(s) - 2.81 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RecordGridの右クリックメニューについて
03-06-2012, 10:06 AM,
#3
RE: RecordGridの右クリックメニューについて
一応、こちらで試したテストコードです。

Code:
{value
    def fields = {{Array-of RecordField}}
    {for i = 0 below 83 do
        {fields.append
            {RecordField
                {format "col%s", i},
                nullable? = true
            }
        }
    }
    def rs = {RecordSet {RecordFields {splice fields}}}

    {for i = 0 below 100 do
        def rd = {RecordData}
        {for f in rs.fields do
            def name = f.name
            set rd[name] = {format "value[%s]", name}
        }
        {rs.append rd}
    }

    {RecordGrid record-source = rs}
}

そんなに遅いとは感じませんでしたので、相違点を教えてもらえると助かります。


Messages In This Thread
RE: RecordGridの右クリックメニューについて - by hokada - 03-06-2012, 10:06 AM
Forum Jump:


Users browsing this thread:
2 Guest(s)

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: 'mybb_threadviews' (errno: 2)
Query:
INSERT INTO mybb_threadviews (tid) VALUES('425')