Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dúvidas Seleção em uma grid
Message
From
17/05/2003 16:28:23
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
17/05/2003 15:58:21
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00789712
Message ID:
00789760
Views:
54
>Isso que necessitava, obrigado
>
>agora para fazer isso e melhor um campo para check com valor Numérico ou Lógico ?

Pode usar ambos. Porem, quando o campo responde a uma pergunta sím/nao, o campo ou variável lógico é muito mais "lógico", e pode fazer a sintaxis mais lógica:
if Marcado
  ...
endif
e não:
if Marcado = 1
  ...
endif
Por outra parte, escutéi que algums servidores de bases de dados não aceitam valores lógicos; então, se pensa em ampliar num futuro, numérico pode ser mais compatível.

Alem disso, pode ussar cualquiera das duas opcões.
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