Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does not accept null values
Message
De
14/08/2000 18:50:11
Jimmy Ditta
Twin City Electronics
Monroe, Louisiane, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Does not accept null values
Divers
Thread ID:
00404759
Message ID:
00404759
Vues:
42
This code is giving the error "field 'fieldname' does not accept null values". Why not?

IF ! USED('inv_this_trans')
set null on
SELECT inventory.stocknum, ;
LEFT(SUBSTR(inventory.p_descript,1,AT("$",inventory.p_descript,2)+8),50) AS memotxt, ;
inventory.trans_id ;
FROM Tomparco!inventory AS inv_this_trans ;
INTO CURSOR tempcursor ;
ORDER BY stocknum

USE DBF("tempcursor") IN 0 AGAIN NODATA ALIAS inv_this_trans
USE IN tempcursor
ZAP IN inv_this_trans
ENDIF

Thanks
JD
Répondre
Fil
Voir

Click here to load this message in the networking platform