Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
YEAR is not unique and must be qualified
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
YEAR is not unique and must be qualified
Miscellaneous
Thread ID:
00272291
Message ID:
00272291
Views:
100
YEAR is not unique and must be qualified.

I get the above error msg when running the following code...
SELECT ;
  A.Invoice, ;
  ShipDate, ;
  Oslsm, ;
  Prodct, ;
  Cust, ;
  QtyOrd, ;
  Oprice, ;
  QtyUpd, ;
  Ocompc, ;
  A.ShipDue, ;
  Terr, ;
  WrHse, ;
  Scity, ;
  Sstate, ;
  A.Year, ;
  A.Month ;
FROM ;
  OrdrDtlH A, OrdrHdrH ;
INTO TABLE ShipHst ;
WHERE ;
  A.Invoice = OrdrHdrH.Invoice .AND. ;
  Year = '1999' .AND. ;
  Month = '12'
Yes, even though it seems odd, Year and Month are Character fields.
Haven't been able to resolve problem. Would appreciate any help. TIA, Chuck
Chuck Henry
Next
Reply
Map
View

Click here to load this message in the networking platform