Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set default to automatico
Message
From
27/12/2003 20:07:49
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00862300
Message ID:
00862301
Views:
18
>Bom dia!
>
>Gostaria de saber como posso indicar no programa principal do meu projeto o diretorio por default.
>
>Tenho uma tabela chamada "diretorios", em diretorios.rota guardei c:\teste
>
>No meu programa principal tenho SET DEFAULT TO e o que eu escrevo a continuaçao? para deixar como diretorio por default o valor que eu guardei na tabela "diretorios"?
>
>Agradeço sua ajuda.
>
>Gustavo

Pode usar parénteses. Se tem uma variável ou campo, "DiretorioDesejado", com o conteudo do diretorio:
SET DEFAULT TO (DiretorioDesejado)
Tambem pode usar o comando CD.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform