Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SPT Syntax
Message
 
À
16/07/2010 14:24:23
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01472729
Message ID:
01472731
Vues:
53
Hi Steven,

Try this...
mysql = "Select recseq, partno, dwgrev, dwgtitle, faistatus, engno From webprddt7.drawmfai" +;
" Left Join amflib7.itemasa On amflib7.itemasa.itnbr LIKE CONCAT(webprddt7.drawmfai.partno,'%')" +;
" Where rectype = ?recType  And failocn = ?location" + isFilter
MartinaJ

>I always have a SPT issue.
>
>In the following SQL when the webprddt7.drawmfai partnumber matches the amflib7.itemasa.itnbr exactly it works great. But sometimes the part number in the webprddt7.drawmfai is without any suffixes(base number such as 899999-001) while the itnbr in the amflib7.itemasa has 899999-001A etc. I would still like to return the amflib7.itemasa.engno when this semi match exists.
>
>Thanks for all the help.
>
>
>
>mysql = "Select recseq, partno, dwgrev, dwgtitle, faistatus, engno From webprddt7.drawmfai" +;
>" Left Join amflib7.itemasa On amflib7.itemasa.itnbr = webprddt7.drawmfai.partno" +;
>" Where rectype = " + recType + " And failocn = " + location + isFilter
>					
>
>
>
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform