Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create table syntax
Message
De
14/04/2000 10:13:42
Mike Yearwood
Toronto, Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00359275
Message ID:
00359765
Vues:
14
Hi Dave.

For some reason you and Mike Helland are missing my point. I thought my examples were clear enough. I only referred to the file name as Junk and the rest of the examples worked with the long name.

The name portion of the create table command (not the disk file name) is where the inconsistency lies.

I'm only talking about the NAME clause.

The NAME clause is supporting quotes and then converting the quoted value into a non quoted value. The non-quoted value is then the only applicable value in other commands. Therefore, its confusing for the NAME clause to accept the quotes when the other commands won't.

create table "junk.dbf" NAME "this is a long name" (field1 c(10))
use "this is a long name" && The use command doesn't work.

use This_Is_A_Long_Name && this works.

remove table "this is a long name" && doesn't work
remove table "this_is_a_long_name" && works.

That's goofy. I made an long name and VFP changed it. So now, I have to know what the long name will be. So the NAME clause should not support the quotes. I would be forced to write the code using the alias that VFP obviously intends I use.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform