{{tag>category:"OpenInsight Specific"}}
[[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]]
==== EDIT TABLES (OpenInsight Specific) ====
=== At 10 NOV 1997 11:52:40AM DEBBIE wrote: ===
DOES ANYONE KNOW HOW TO ASSOCIATE 2 EDIT TABLES SO THEY
SCROLL SIMULTANEOUSLY???? THANKS, DEBBIE.
----
=== At 10 NOV 1997 06:23PM Cameron Revelation wrote: ===
Debbie,
Use the TopPos property to scroll an edit table to a specific row. Use the VScroll event to detect vertical scrolling. (I had never done this before but with only these two things it is very easy!)
Example code:
ThisPos=.Table_1-]TopPos
ThatPos=.Table_2-]TopPos
if ThisPos # ThatPos then
.Table_2-]TopPos=ThatPos: @fm: ThisPos
end
return 1
You'll have to substitute your own control names for Table_1 and Table_2. Also, you will want to put this code on both tables and swap the control names (Table_1 becomes Table_2 and vice versa).
Cameron Purdy
info@revelation.com
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=3E802C9F0052C58F8525654B005CB6BB|View this thread on the forum...]]