Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2003 Server
>I created a cursor in my application.
>as follow: SELECT field1,fields2...... into cursor smf2 readwrite
>
>before running a report on this cursor I wanted to add some fields which I couldnt add them at the begining.
>
>so I did:
>m_alias="SMF2"
>
>when the following code executes:
>ALTER TABLE DBF(m_alias) ADD COLUMN age c(4)
>
>I get the following error
>Structural .CDX file is not found.
>
>after that I dont find the smf2 cursor in the data session anymore.
>
>what am I doing wrong?
>any help please
Try:
ALTER TABLE m_alias ...
You don't need DBF() there and I suspect it's closing your cursor.
Tamar
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement