Re: Answer please...
Posted in 1994
In article <751.pcaicedo@mmrree.gov.ec_POPMail/PC_3.2.2>, pcaicedo@mmrree.gov.ec (Pablo "Lobo" Caicedo) writes: |> How I can create a table using variable table name, if this name is input |> by keyboard ? |> |> Example: |> |> database xxx |> globals |> define |> name char(8) |> end globals |> |> main |> prompt "Input name for table" , for name |> create table name (colum1 char(1)) |> end main |> |> If input Customer in variable name, the table is created |> with name and not with customer |> |> Thanks a lot, |> Pablo "LOBO" Caicedo Morales o |> Ingeniero de Sistemas <!> |> Dpto. de Asistencia a Usuarios ! |> Direccion General de Informatica |> Computer Assistance for Users in the |> Ministry of Foreign Affairs of Ecuador |> South America Internet address: pcaicedo@mmrree.gov.ec Hello Pablo, The 'create table' command can be built into a string, prepared, and executed. This will allow you to use variables for any part of it. Hope this helps, Ron -- Ron Rupert | I've read dozens of books about heroes rlr@alert.com/(303)488-7674 | and crooks, and I've learned much from Programmer Analyst | both of their styles. - Jimmy Buffett Alert Centre, Inc. |