Open a new query window and execute the following script.
Opens a query window on <nick>, optionally along with a [message].
It displays the current input form as a query window.
QUERY BY EXAMPLE queries aTable for the data that the user enters into the query window.
You can set the UniqueValues property in the query's property sheet or in SQL view of the Query window.
Puede establecer la propiedad UniqueValues en la hoja de propiedades de la consulta o en la vista SQL de la ventana Consulta.
On the File menu, click Close, and then click No to close the Update Query window.
En el menú Archivo, haga clic en Cerrar y después haga clic en No para cerrar la ventana Consulta de actualización.
Paste a script in the query window and execute it
Enter the following code in the query window
Type the following in the query window
It can be seen that a script in the query window contains all the steps needed to automatically split a table and update all dependencies
Usted puede ver que el script en la ventana de consultas contiene todos los pasos necesarios para dividir automáticamente la tabla y actualizar todas las dependencias
From this window, the code of the query can be viewed in the new query window, if there is a need to change some part of the code.
Desde este formulario, el código de la consulta puede ser visto en una nueva ventana de consultas si hay necesidad de cambiar alguna parte del código.
This query could be much more flexible by replacing the product name 'sprockets' and the customer number 525 with parameters, as shown in the second query window above where the parameters:pname and:custnum are substituted for the product and customer.
Esta consulta podría ser mucho más flexible si se sustituyera el nombre del producto "sprockets" y el número de cliente 525 con parámetros (como puede verse en la segunda ventana de consulta, donde se sustituyeron con los parámetros:pname y:custnum).
Code selected in the query window
Código seleccionado en la ventana de consulta