Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Message # 1886
Message
From
13/06/2005 08:32:51
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Error Message # 1886
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01022718
Message ID:
01022718
Views:
77
I am getting error message #: 1886 "Index does not accept null". I am using free tables. I am getting this error on the "SQL Select Statement Listed Below.:

*************************************************************************
PARAMETERS tdExpiry, tcReturnMsg, tlUserInterface, tnSize, tcMaker,; tcVacc, tcLot, tnStockID, tdOthrExp, tnOthSize

lcErrorWarning = "Q"

**************************************************
** Conditions for Size and Expiry Datwe change **
**************************************************
SELECT Expiry, Size, lot FROM Stock WHERE Maker == tcMaker ;
AND Vaccine == tcVacc AND !DELETED() AND ;
Lot == OLDVAL("Lot","Stock") AND (Stock.StockID <> tnStockID OR OLDVAL ;("Size","Stock") != tnSize OR ;
OLDVAL("Expiry","Stock") != tdExpiry OR OLDVAL("Lot","Stock") != tcLot ) ;
INTO CURSOR TStock
***************************************************************************

Please advise me on what is wrong with this statement and how can I correct it.




Thank You In Advance



Winfred Majors
Next
Reply
Map
View

Click here to load this message in the networking platform