Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help about Where Clause
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01012198
Message ID:
01012406
Vues:
23
Hi Gaetano,

I'm not sure why do you need two CAs of the same table that also reference each other. Can you clarify?

>
>I need a little help about a "where clause".
>In a form I use only one SQL table, i.e named cTable.
>
>I have created two CA,i.e named caTable1 and caTable2, with the same Select like this:
>Select cTable.code, cTable.descr, cTable.perc1, cTable.perc2, cTable.appcode from cTable
>
>The cursor caTable2 is used in the form in order to create a PickList for Field appcode in cTable.
>
>I need to create in the caTable2 a "where" clause that satisfy these rules when appcode in the Form is not null:
>1) The perc1 in the caTable2 must be equal to perc1 in caTable1
>2) the perc2 in the catable1 must be equal to ZERO.
>
>I am a neophite in VFP with SQL, and I hope in your help in order to resolve this question.
>
>Thank you and Best Regards.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform