Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening Balance
Message
 
 
À
15/06/2008 02:23:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
01324211
Message ID:
01324271
Vues:
12
>Dear Experts
>
>Table1 has following Five Fields
>
>--Date---Opening---Receipt---Payment---Balance
>02/06/08------0--------500----------100---------400
>03/06/08------0--------200----------300---------300
>04/06/08------0--------800----------200---------900
>
>
>How to fillout Opening columns as
>
>--Date---Opening---Receipt---Payment---Balance
>02/06/08------0----------500---------100---------400
>03/06/08----400--------200----------300---------300
>04/06/08----300--------800---------200---------900
>
>
>Please help

I guess it can be done with the tricky update command using select top 1 where date < Tbl.Date, but I agree with Hilmar that this is much simpler to do using SCAN/ENDSCAN
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform