Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataEnvirmment , e copy structure
Message
From
12/06/2002 10:32:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
DataEnvirmment , e copy structure
Miscellaneous
Thread ID:
00667378
Message ID:
00667378
Views:
67
Olá a Todos

No meu form , uso o DataEnviromment , onde tenho 4 tabelas que pertencem a uma database .
Tenho uma grid , que uso para fazer introdução de dados .
Gostaria de usar uma tabela temporária associada à grid , e só no momento de gravar , passar os dados para a tabela final .
Por isso no load do form faço :

Select LinhaFac && tabela principal
COPY STRUCTURE TO TmpLinFac && temporária
USE TmpLinFac IN 0 ALIAS TmpLinfac EXCLUSIVE
Select TmpLinFac

No entanto , isto não está a funcionar bem , por exemplo ao fazer um append blank , ou insert na TmpLinFac , ele fica no mesmo registo , e ao alterar um registo na TmpLinFac , ele altera todos os registos dessa tabela . Parece estar a haver um conflito .
Podem ajudar-me ?

Muito obrigado


Pedro Silva

world is wonderful with your help .

Reply
Map
View

Click here to load this message in the networking platform