[progress Communities] [progress Openedge Abl] Forum Post: Input Array Value To .net...

  • Thread starter Thread starter Robert Timothy
  • Start date Start date
Status
Not open for further replies.
R

Robert Timothy

Guest
Good Morning All, I have a migration project to convert (.p) to (.cls) in Progress Developer Studio 11.3, and stuck for a while with DataGridView. In earlier program (.p) we use Browse to display things : DEFINE TEMP-TABLE arl-list FIELD resstatus LIKE res-line.resstatus FIELD l-zuordnung3 LIKE res-line.l-zuordnung[3]. DEFINE VARIABLE stat-list AS CHAR EXTENT 14 FORMAT "x(9)" NO-UNDO. stat-list[1] = "Status 1" stat-list[2] = "Status 2". DEFINE BROWSE b1 QUERY q1 stat-list[arl-list.resstatus + arl-list.l-zuordnung3] LABEL "ResStatus ". Meanwhile in PDSOE we use query handle to display things, but the Array Variable doesn't have its own field on TEMP-TABLE. DataGridView data based on query handle which linked to TEMP-TABLE and BindingSource. Here is some code in PDSOE : DEFINE VARIABLE qh AS HANDLE NO-UNDO. CREATE QUERY qh. qh:SET-BUFFERS(BUFFER arl-list:HANDLE). qh:QUERY-PREPARE("FOR EACH arl-list"). qh:QUERY-OPEN (). BindingSource1:HANDLE = qh. My question is: Is it possible to input Array Variable value which is not defined in TEMP-TABLE to DataGridView? which is like Browse in earlier program. Thank you, Robert

Continue reading...
 
Status
Not open for further replies.
Back
Top