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 



If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2012
[ home ]