General information
Category:
Coding, syntax & commands
Environment versions
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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only