Executing the FORM? Function from Another ApplicationLast reviewed: November 2, 1994Article ID: Q74520 |
SUMMARYAs stated in the "Q+E for Microsoft Excel User's Guide" on page 98, the FORM? function cannot be executed from another application by using DDE (dynamic data exchange).
MORE INFORMATION
Steps to Reproduce
If you open this query file in Q+E, all records from EMP.DBF are displayed and then the FORM? dialog box is brought up.
WorkaroundFORM?() can be executed from a macro using the Send.keys command as shown below.
A1: chan=INITIATE("QE","SYSTEM") A2:=ERROR(FALSE) A3: =SEND.KEYS("%fo",FALSE) A4: =SEND.KEYS("%c:\excel\qe\query1.qef~") A6: =RETURN()Note: This example assumes that Q+E is either running or in your path. You may need to modify line 4 to refer to the correct locations of the query file you want to open.
REFERENCES"Q+E for Microsoft Excel User's Guide." Version 3.0, page 98. "Microsoft Excel Function Reference," Version 3.0, page 214.
|
KBCategory: kbother
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |