Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - saving the original VIEW
Message
De
14/07/1997 14:03:14
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00039830
Message ID:
00039864
Vues:
32
>>I have a VIEW and I want to run some SQL and change the record set,
>>and I want to save the original view, because I will need to return
>>to it. How can I do this?
>
>Would SELECT INTO CURSOR work?

Hi Jeff...no, but this does...
local lcAlias
lcAlias = alias()

if m_report = "closerpt"
set database to qc
create sql view qc_view as select * from qc_table where empty(dateclosed)
use qc_view
count
if _tally = 0
if !empty(lcAlias)
select (lcAlias)
endif
return
endif
report form &m_report preview
if !empty(lcAlias)
select (lcAlias)
endif
return
endif
if !empty(lcAlias)
select (lcAlias)
endif
report form &m_report preview

thanks..rob



Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform