Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Duvidas sobre Integridade e PDV
Message
From
17/05/2003 15:02:54
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
17/05/2003 14:37:14
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00788041
Message ID:
00789723
Views:
19
>Bom dia...
>
>O contador é definido assim
>
>sele itempedi
>goto bott
>m.conta=Val(numeitem)+1
>m.item=Strtan(str(m.conta,2)," ","0")
>
>*este numeitem é C - 2
>
>repl numeitem with m.item

Acho que isto está bom, em principio. Agora, para multi-lojas, pode combinar com um número único que asigna a cada loja, e ussar isto como chave primária: bintoc(numero_loja, 2) + bintoc(numeitem)
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform