[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]] ==== New KB article about Multi-Selecting Rows in Edit Tables (OpenInsight Specific) ==== === At 15 FEB 2000 03:31:52AM Oystein Reigem wrote: === {{tag>"OpenInsight Specific"}} There's a new KB article [url=http://www.revelation.com/WEBSITE/knowledge.nsf/90cb98ba69f5b6b5852566f500653992/fb46c9ef20f4d28e85256882006835de?OpenDocument]Multi-Selecting Rows in Edit Tables in Order to Place the Selected Rows into Another Edit Table[/url]. To make a multi-select edit table the article says to put a handler on the GOTFOCUS event of the edit table. Isn't window CREATE the proper event for this handler? Also the handler destroys and re-creates the edit table. I thought that was necessary only for edit tables ]64K with version 3.7.x. I think the article should mention that. But at least tell me if I'm correct. And with all the discussion recently on runtime licenses I'd expect the article to carry some statement about destroying and re-creating controls. :-) - Oystein - ---- === At 15 FEB 2000 03:51AM JC wrote: === Oystien, I have used the following for a while now: * ctrl=edit table * Set Edit Table style to allow multi-row select cs=ctrl ps=STYLE' old_style=get_property(cs, ps) et_style=field(old_style, @rm, 1) numb=iconv(et_style-4,4,'MX') numb += 512 numb=oconv(numb,'MX') et_style-4,4=fmt('0000':numb,'R#4') cs=ctrl ps=STYLE' ss=et_style ans=set_property(cs, ps, ss) I agree he CREATE event is the best place. You would still need the "Add" code to move the selections to the second edit table. John [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=0898F309EF3E1CD985256886002EDCEB|View this thread on the forum...]]