Re: [delphi-br] Pegar o último registro da tabela ( MySQL)

2005-08-11 Por tôpico Watson Passos
Antes faça: Tabela.Last; - Original Message - From: "Otavio Luiz Harmatiuk" <[EMAIL PROTECTED]> To: Sent: Thursday, August 11, 2005 11:18 AM Subject: Re: [delphi-br] Pegar o último registro da tabela ( MySQL) no meu caso faço assim: variavelcodigo := tabela.Fie

Re: [delphi-br] Pegar o último registro da tabela ( MySQL)

2005-08-11 Por tôpico Luis Carlos Quinhone
Valeu Otávio, obrigado epla ajuda, abraços... - Original Message - From: Otavio Luiz Harmatiuk To: delphi-br@yahoogrupos.com.br Sent: Thursday, August 11, 2005 11:18 AM Subject: Re: [delphi-br] Pegar o último registro da tabela ( MySQL) no meu caso faço assim

Re: [delphi-br] Pegar o último registro da tabela ( MySQL)

2005-08-11 Por tôpico Otavio Luiz Harmatiuk
t 11, 2005 9:55 AM Subject: Re: [delphi-br] Pegar o último registro da tabela ( MySQL) Otávio, eu consegui assim: SELECT MAX( anu_codigo ) AS anu_codigo FROM tbanunciosguia Agora eu queria mais uma ajuda, como eu pego esse resultado e coloco numa variável? Att Luis - Origin

Re: [delphi-br] Pegar o último registro da tabela ( MySQL)

2005-08-11 Por tôpico Luis Carlos Quinhone
, August 11, 2005 10:04 AM Subject: Re: [delphi-br] Pegar o último registro da tabela ( MySQL) Bom, com ado nunca fiz, mas uso o componente zeos, para acesso ao mysql. e na string dah para fazer um 'select max codigo from tabela' e adicionar +1 para o proximo. Também me p

Re: [delphi-br] Pegar o último registro da tabela ( MySQL)

2005-08-11 Por tôpico Otavio Luiz Harmatiuk
t 11, 2005 8:09 AM Subject: Re: [delphi-br] Pegar o último registro da tabela ( MySQL) Uso o ADO da própri paleta do Delphi Att Luis - Original Message - From: Otavio Luiz Harmatiuk To: delphi-br@yahoogrupos.com.br Sent: Thursday, August 11, 2005 12:57 AM

Re: [delphi-br] Pegar o último registro da tabela ( MySQL)

2005-08-11 Por tôpico Luis Carlos Quinhone
Uso o ADO da própri paleta do Delphi Att Luis - Original Message - From: Otavio Luiz Harmatiuk To: delphi-br@yahoogrupos.com.br Sent: Thursday, August 11, 2005 12:57 AM Subject: Re: [delphi-br] Pegar o último registro da tabela ( MySQL) qual o componente q usa para

Re: [delphi-br] Pegar o último registro da tabela ( MySQL)

2005-08-10 Por tôpico Otavio Luiz Harmatiuk
qual o componente q usa para acessar a tabela? - Original Message - From: Luis Carlos Quinhone To: delphi-br@yahoogrupos.com.br Sent: Wednesday, August 10, 2005 8:08 PM Subject: [delphi-br] Pegar o último registro da tabela ( MySQL) Pessoal, eu gravo um código na tabela

[delphi-br] Pegar o último registro da tabela ( MySQL)

2005-08-10 Por tôpico Luis Carlos Quinhone
Pessoal, eu gravo um código na tabela do cliente CLI0001, quero colocar no cadastro pra ele pegar o último registro e acrescentar + 1, como eu faço isso, uso o Delphi 7.0 e MySQL Att Quinhone [As partes desta mensagem que não continham texto foram removidas] -- < FAVOR REMOVER ESTA P