Erro em aplicação com DBExpress
13/02/2006
0
No windows xp funciona bunitinho, agora no windows 2000 ao tentar dar um open no TClientDataSet, o programa gera um erro [b:6e1b50a4ea]Operation not suported[/b:6e1b50a4ea]
Alguém pode me ajudar
Fknyght
Posts
13/02/2006
Reg_desenvolvimento
Vc esta usando algum where no componente sql?
se tiver, coloque as confições em minusculo, assim:
select * from CLIENTES where nome = ´Joaozinho´
por exemplo
E o nome da tabela sempre coloca em maiuscula, senao tb da problema...
13/02/2006
Reg_desenvolvimento
13/02/2006
Fknyght
que erro e este
tMovi.Close; SqlDataSet1.CommandText := ´select * from COD_BARRAS where usuario = ´ + #39 + SQLClientDataSet1USUARIO.Value + 39 + ´ and data_pgto = ´ + 39 + FormatDateTime(´mm-dd-yyyy´,fMain.DataSistema) + 39 + ´ order by hora_pgto´; SQLDataSet1.Close; tMovi.Open; If tMovi.IsEmpty then Begin BitBtn1.Enabled := False; BitBtn2.Enabled := False; end;
Clique aqui para fazer login e interagir na Comunidade :)