Hi,
I have three 10 column n-up datawindows, one above the other, and I want them all to scroll horizontally at the same time. In the development environment, this code in the scrollhorizontal event of the main datawindow successfully scrolls the other two datawindows to the correct position:
String ls_rc
MessageBox('', 'Scrolling to ' + String(scrollpos))
ls_rc = dw_header.Modify("Datawindow.HorizontalScrollPosition=" + String(scrollpos) )
MessageBox('header rc' , ls_rc)
ls_rc = dw_summary.Modify("Datawindow.HorizontalScrollPosition=" + String(scrollpos) )
MessageBox('summary rc' , ls_rc)
RETURN
I've added the message boxes to understand why it's not working when I deploy it to the web. When I run the web deployed version, the message boxes tell me:
Line 1 Column -1 Incorrect syntax.
Is there a work around for programatically setting the horizontal scroll position?
Thanks,
Monica.