>select * from abonos into cursor corte;
>where fecha = CTOD (thisform.text1.value)
>report form reporte to printer preview
>
>
>"fecha" é um campo da tabela "abonos" que está armazenando as datas no formato MDY.
>text1 é a caixa de texto onde tenho o valor por default date()
Não devería ser preciso convertir com CTOD(), se o valordo Text1 é do tipo Date. Por exemplo, se vocé asinar ao textbox o valor date(), ou {}, ja é do tipo Date.
A comparação, neste caso, é entre datas; o formato DMY, etc., é só para mostrar na tela.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)