btree in edit table (OpenInsight Specific)
At 03 NOV 1998 04:51:28PM Paxton Scott wrote:
I've got an edit table with a key in col 1 and then some xlate stuff that shows up in cols 2 and 3 when the key is entered. I have a doubleclick quickevent on the edit table to find the key and load it. It works great….as long as the cursor is on the first column when dblclked. If on col 2 or 3, the "TEXT" gets stuffed there. I thought I could change the internal cursor to col 1 by getting the position with "NOTIFYPOS" and changing the col to 1 and setting "ACCESSPOS". Then I return 1. But the results of the index lookup still showup in the cell where the dclk happened.
Any clues, or do I have to write the whole thing in the script?
Thanks for any ideas, arcs@wws.net
ARCS, Inc. [img]http://www.wws.net/arcs/arcslogo.gif[/img] </QUOTE> ---- === At 03 NOV 1998 05:10PM Paxton Scott wrote: === <QUOTE> </QUOTE> ---- === At 03 NOV 1998 05:14PM Paxton Scott wrote: === <QUOTE>Well, I got the returned key to go into column one regardless of where the cursor was when clicked using the ACCESSDATA property! But, now I can't get the symbolics to recalculate and display the xlate data associated with the new key. With the TEXT property, redisplay worked automatically, of course you had to be in the right column in the first place. How do I force the symbolics to recalculate after the data is stuffed with ACCESSDATA? tHANKS, and as always, any ideas appreciated.arcs@wws.net [url=http://www.wws.net/arcs/]ARCS, Inc. [img]http://www.wws.net/arcs/arcslogo.gif[/img] </QUOTE> ---- === At 06 NOV 1998 11:02AM Cameron Revelation wrote: === <QUOTE>Hi Paxton, This is my second attempt, as I forgot to put my Author name in the last post so it was so kind as to tell me to supply my author name and in addition to discard all of my text that I spent hours typing in ;-( [i]I've got an edit table with a key in col 1 and then some xlate stuff that shows up in cols 2 and 3 when the key is entered[/i] Data bound I assume with the second and third column bound to symbolics. [i]I have a doubleclick quickevent on the edit table to find the key and load it[/i] IXLOOKUP I assume? [i]I thought I could change the internal cursor to col 1 by getting the position with "NOTIFYPOS" and changing the col to 1 and setting "ACCESSPOS"[/i] Use SELPOS, not ACCESSPOS. SELPOS refers to the visually selected cell. [i]I got the returned key to go into column one regardless of where the cursor was when clicked using the ACCESSDATA property![/i] Use INVALUE or DEFPROP instead with the optional row/column parameter. (See the help file.) [i]How do I force the symbolics to recalculate after the data is stuffed with ACCESSDATA?[/i] Assuming you use INVALUE or DEFPROP, just send the CALCULATE as discussed in a [url=http://www.revelation.com/WEBSITE/DISCUSS.NSF/09d90959a1a106db8525652c0042cb86/130B71901E555A728525649C00652D13?OpenDocument]similar threa.
Cameron Purdy
Revelation Software