Open a DDDW via PowerscriptTag(s): Datawindow


[external function declaration]
SUBROUTINE keybd_event( int bVk, int bScan, int dwFlags, int dwExtraInfo) &
  LIBRARY "user32.dll" 

[powerscript]
constant integer VK_F4 = 115

dw_1.SetFocus()
dw_1.SetColumn( "dept_head_id" )  // the DDDW
keybd_event( VK_F4,0,0,0 )  // F4 key down
keybd_event( VK_F4,0,2,0 )  // F4 key up 

blog comments powered by Disqus