Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: INSERT ... FROM NAME objectName
Message
De
06/04/2005 19:06:59
 
 
À
06/04/2005 18:37:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01001906
Message ID:
01002118
Vues:
18
>>VFP have not a
>>
>> INSERT INTO table DEFAULT VALUES
>>
>>* APPEND BLANK don't support NULL ( a bug for me )
>>
>>Then i try to simulate it with a empty object
>>
>>On next code I expected no errors
>>
>>
>>#DEFINE DEFAULT_VALUES FROM NAME CREATEOBJECT("empty")
>>SET NULL ON
>>CREATE CURSOR byby (aa i,cc i)
>>* HELP: WITH objectName
>>* objectName == CREATEOBJECT("empty") no errors
>>
>>WITH CREATEOBJECT("empty")
>>ENDWITH
>>
>>* HELP: INSERT ... FROM NAME objectName
>>* objectName == CREATEOBJECT("empty") error
>>
>>INSERT INTO byby DEFAULT_VALUES
>>
>
>*This code errors:
>
>INSERT INTO byby FROM NAME CREATEOBJECT("empty")
>
>I'm not sure exactly what you're trying to to do.
>Can you add your defaults to your create cursor statement.

Try to do this with a SELECT INTO CURSOR !
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform