Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple references to the parameter in a SQL view
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00486928
Message ID:
00486934
Vues:
14
>I have a rather complex SQL query run against several VFP tables that involves three UNIONs, each of which, as well as the main SELECT, refer to the parameter. It runs just fine as a SQL query. However, I want to make a view based on the query, and I cannot seem to figure out how to write it with the four references to the parameter. I have tried a ? before each reference, before the first, the last, etc., but I always get an error saying "Column not found".
>
>Can anyone tell me how to do this?
>
>Thanks.
>
>Jim

Odd. A ? before each should do the trick.
I'm assuming that you aren't using the view designer to do this, since you've got the UNIONs.
Could you post the code for the view?
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform