Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error with this function: dow(sys(10,fec1))
Message
De
17/11/2004 12:15:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
17/11/2004 10:19:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows '98
Database:
Visual FoxPro
Divers
Thread ID:
00962200
Message ID:
00962265
Vues:
7
Is it an error message, or an unexpected result? If it is an error message, what is the message, and on which line does it appear?

>Hello, i'm having an error, so i'd like to know what's wrong?
>Thanks for the help.
>
>
>         trecib=(val(sys(11,tablest.freciborep))-val(sys(11,tablest.fech_fin)))
>         XLSheet.Cells(i+1,13).value = TRECIB
>         fec1=val(sys(11,tablest.fech_fin))
>         fec2=val(sys(11,tablest.freciborep))
>         contador=0
>         do while  fec1<>fec2
>             if dow(sys(10,(fec1))=1 or dow(sys(10,fec1))=7
>                contador=contador+1
>             endif
>             fec1=fec1+1
>         enddo
>
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform