Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Translate sqlserver to vfp command
Message
De
30/09/2005 10:12:35
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows Server 2003
Database:
Visual FoxPro
Divers
Thread ID:
01054718
Message ID:
01054886
Vues:
16
>>i want to translate the followng command fo sql server to vfp
>>
>>SELECT @ing_fon =SUM(mont2)FROM PLPLFMOV AS MOV JOIN PLPLFTAB AS TAB
>>ON mov.concep = tab.concep
>>WHERE cod_emple = '092754' AND LEFT(MOV.CONCEP,1)='1' AND SUBSTRING(tab.tab_dscto,1,1) = 'F'
>>
>>how can i do this
>>thank you
>
>While Dave and Cetin have already given you the information you need, I want to add the following.
>
>It isn't exactly true that you can't use a SELECT statement in VFP to assign a variable a value. You can always use the INTO ARRAY myarray clause.

Hey George,
I knew I would be caught by my English:)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform