ACC: How to Copy/Paste SQL Statements from Forms to QueriesLast reviewed: April 2, 1997Article ID: Q90877 |
The information in this article applies to:
SUMMARYNovice: Requires knowledge of the user interface on single-user computers. If you want to copy an SQL statement from the RowSource or ControlSource property of a control, or the RecordSource property of a form or report, and paste it into a query, you must use the CTRL+C method to copy the SQL statement to the Clipboard. In Microsoft Access 1.x, you also must use the CTRL+V method to paste the statement into the query's SQL view. In Microsoft Access 2.0, 7.0, and 97, you can use the Builder button next to the RowSource, ControlSource and RecordSource properties to invoke the Query Builder, and then save the SQL statement as a query that way. It is not necessary to copy and paste the SQL statement.
MORE INFORMATIONYou cannot use the Copy and Paste commands from the Edit menu to copy and paste in the situations described above. You must use CTRL+C to copy the information to the Clipboard, and CTRL+V to paste the information into the query's SQL view. Note that in Microsoft Access 2.0, 7.0, and 97, the SQL window of a query is not a modal dialog box; therefore, menu commands are available and you can use the Paste command. |
Keywords : FmsHowto kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |