str() ocupa muito espaço - 10 bytes para um integer. É melhor ussar bintoc(), que usa 4 bytes para um integer:
index on
bintoc(Field1) + bintoc(Field2) tag MyTag
O SET COLLATE deve ser = "MACHINE". Se nao ussar SET COLLATE, nao precoupe - isto é o valor default.
>Oi Pessoal,
>
>alguém sabe se é possível e como fazer, para criar um índice primário composto por 2 campos integer no banco nativo do VFP ?
>
>obrigado,
>
>Leandro Macedo
>
http://br.thespoke.net/MyBlog/lmacedo/MyBlog.aspx
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)