Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug about select command
Message
De
28/12/2006 04:15:32
 
 
À
28/12/2006 04:05:56
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01180172
Message ID:
01180656
Vues:
13
Metin,

you add too many apostrophes, and you forgot one parenthesis
CREATE TABLE test (testfld c(10))
SELECT * FROM test INTO CURSOR xx
USE IN test
USE (DBF("xx")) IN 0 ALIAS test
USE IN xx
May I ask what you really try to do, I get the feeling that you can do this much easier.


>it gives "file is in use" error. only difference I could see with yours I used paranthesis with use dbf(... command. I tried either, no success.. :(
>
>
>CREATE TABLE test (testfld c(10))
>SELECT * FROM test INTO CURSOR xx
>USE IN "test"
>USE DBF("xx") IN 0 ALIAS "test"
>USE IN "xx"
>
>
>>No. Try the one I wrote. You forgot "again". What error it gives otherwise?
>>Cetin
>>
>>>I tried that one. It gives error. Isn't that what you mean?
>>>
>>>
>>>
>>>CREATE TABLE test (testfld c(10))
>>>SELECT * FROM test INTO CURSOR xx
>>>SELECT test
>>>USE
>>>USE (DBF("xx")) IN 0 ALIAS test
>>>SELECT xx
>>>use
>>>
>>>
>>>>>>select * from customer into cursor xx nofilter
>>>>>>use in 'customer'
>>>>>>use dbf('xx') in 0 again alias 'customer'
>>>>>>use in 'xx'
>>>>>>
>>>>>>Cetin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform