Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validating a View Based on a View
Message
 
À
05/03/2002 20:03:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
00628796
Message ID:
00629395
Vues:
15
>I cannot validate my database, because it has a view (lv_CPExpenses) based on another view (lv_ExpenseByDate - a parameterized view). Every time SDT tries to validate lv_CPExpenses, I get an error saying the alias lv_ExpenseByDate is not found.
>
>I have found a workaround, but I'm not sure what Murphies might be lurking in the background. Specifically, if after opening SDT I manually open my lv_ExpenseByDate in the same datasession as SDT, the validation appears to work fine.
>
>Is there some other way to handle this?
>
>There was an earlier thread on this subject, but it did not appear to get resolved. Any thoughts on solutions?
>
>Thanks,
>
>David

If lv_cPExpenses is based on lv_ExpensesByDate, and you use codebook style denomination, lv_ExpensesByDate is aliased v_ExpensesByDate. So what I do is simly duplicate lv_ExpensesByDate as v_ExpensesByDate. That's enough to fake the DBC.

José
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform