Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modifying the structure of a cursor
Message
 
 
À
04/11/2004 13:43:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00958198
Message ID:
00958202
Vues:
15
Jim,

As long as those 2 fileds are memo fields, you don't have to delete them because the COPY TO ... TYPE SDF command ignores memo fields.

>Is there any way to modify the structure of a cursor? I'm selecting rows from a MS-SQL table into a cursor. There are nearly forty columns in the resulting cursor. Two of the columns are text columns that I have to break down into four columns of fifty chars each. I do this with the MLINE() function to fill in the four new columns that I preallocated in the SQL SELECT...statement. I need to manipulate each of the fifty char columnns before I export the cursor to a SDF format file on another platform. But before I export and create the file I need to drop the two original text fields from the cursor. When I tried to do this I got an error saying that the SQL ALTER TABLE command was not valid for a cursor. Is there any way to do this without naming all of the columns I want in a second SQL SELECT command?
>
>Jim White
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform