Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace duplicate with empty space
Message
De
10/06/2008 05:24:47
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Replace duplicate with empty space
Divers
Thread ID:
01322771
Message ID:
01322771
Vues:
64
Dear Experts

Table1 has following indexing
index on dtoc(date,1) + alltrim(type)+str(voucher,4) to abc

Data in Table1 is as

date---Voucher-type-amount
9/6/2008---1---SR---500
9/6/2008---1---SR---600
9/6/2008---2---SR---200
9/6/2008---2---SR---300
10/6/2008--1---SR---400
10/6/2008--1---SR---700
10/6/2008--1---SC---350
10/6/2008--1---SC---200

I want to display empty DATE, VOUCHER and TYPE fields where date+type+voucher is same

Following data view is required

date---Voucher-type-amount
9/6/2008---1---SR---500
--------------------------600
9/6/2008---2---SR---200
--------------------------300
10/6/2008--1---SC---350
--------------------------200
10/6/2008--1---SR---400
--------------------------700

Please help
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform