Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add output of query (table) to database
Message
 
 
À
14/11/2002 09:39:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00722641
Message ID:
00722664
Vues:
11
Try
? LEN(TRANSFORM(a))
>Thanks sergy for the reply
>
>do you know how to display length of a numeric number.
>
>a=10000
>?LEN(str(VAL(str(a)))) return 10 ???
>
>txs
>
>>You can run select into cursor and than add records to a table. In VFP8 you'll be able to do that in one command INSERT INTO SELECT FROM.
>>select * from temp into CURSOR crsCatalog
>>SELECT catalog
>>APPEND FROM ( DBF("crsCatalog"))
>>* or if you want to add all records from 'temp'
>>APPEND FROM ( DBF("temp"))
>>
>>
>>>hello all
>>>
>>>how to add the result of a query into a database where in the table already exist in the database.
>>>
>>>eg select * from temp into table catalog database mydbc gives a error message
>>>
>>>catalog.dbf already exists as part of a database.
>>>
>>>txs
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform