[firebase-br] Configura ção de data

caputoin caputoin em uai.com.br
Qua Jun 15 09:23:37 -03 2005


Bom dia a todos!

Tenho a seguinte conseulta:

select VIAGENS.ID_VIAGEM, VIAGENS.DATA_SAIDA,
VIAGENS.ID_MOTORISTA, MOTORISTAS.NOME_MOTORISTA,
VIAGENS.ID_VEICULO, VEICULOS.DESC_VEICULO
from VIAGENS
inner join MOTORISTAS
on MOTORISTAS.ID_MOTORISTA = VIAGENS.ID_MOTORISTA
inner join VEICULOS
on VEICULOS.ID_VEICULO = VIAGENS.ID_VEICULO
where DATA_SAIDA between ''' + MaskEdit1.Text + ''' and '''
+ MaskEdit2.Text + ''''
order by DATA_SAIDA, ID_VIAGEM

só funciona se o usuário digitar a data no formato
mm/dd/yyyy.

o formato da data no SO (Windows XP) é dd/mm/yyyy e eu
coloquei a instrução ShortDateFormat := 'dd/mm/yyyy' no
OnCreate do Form principal;

como devo proceder para que o usuário possa digitar a data
no formato dd/mm/yyyy?
****************************************
O grande portal dos mineiros
http://www.uai.com.br




Mais detalhes sobre a lista de discussão lista