Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Message with View
Message
De
31/12/1996 11:58:54
 
 
À
30/12/1996 19:20:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00016174
Message ID:
00016242
Vues:
41
>>>>I have a report that is based on a view that uses variables that are selected from a form. How do I return a message if the resultant view doesn't match the selection data that was entered in the form. In the old


>RECCOUNT() works fine on a view. I use it all the time. My standard data entry form uses RECCOUNT() to determine whether or not the VCR buttons should be enabled or disabled.

Craig,

I appreciate your comments, and I'm sorry, but this may just be an issue of me still trying to understand the OO programming enviorn. I'm still uncertain as to how to use a view in the way you descibe. Here is a simplified example of my problem:

In my app I have a view (lv_View) where the selection criteria includes a variable, for example:

Year Between ?gnStartYear,?gnEndYear

Ok, I have form where they enter the years. Then it has two buttons, Print, Cancel. If they select print my code is:

Report form ThisReport preview

In the report writer the data enviorn is lv_View and the fields are selected from the view. Where, in this, would I use Reccount(), since I never actually use:

Select * from ThisDBF where ...

I just reference the view in the report writer. Does this make sense?

Thanks again.

Rob
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform