Find Jobs
Hire Freelancers

Delphi - CachedUpdates Procedure

$30-100 USD

Concluído
Publicado há aproximadamente 20 anos

$30-100 USD

Pago na entrega
Need a procedure that will programmatically update the InsertSQL and ModifySQL properties of a TUpdateSQL component at run-time. The procedure call would be something like: PopulateUpdateSQL(Query:TQuery; UpdateSQL:TUpdateSQL); The TUpdateSQL component passed in would already have existing InsertSQL, DeleteSQL, and ModifySQL properties. Only the fields list portion of these properties should be updated by this command. Programmatically I want this procedure to function the same as when during design time the UpdateSQLEditor is used to retrieve the database fields, and generate the SQL. The only difference is the key fields data should be read from the existing properties and not updated. The TQuery object that is passed in is the Dataset that the TUpdateSQL pertains to; it will be active; and the field list data can be read from this object. For instance if the existing ModifySQL for the TUpdateSQL was update taaZipCode set ZIP = :ZIP, STATE = :STATE, CITY = :CITY, COUNTY = :COUNTY where ZIP = :OLD_ZIP and the schema had an additional field not listed in the current UpdateSQL of AREACODE, the procedure should rebuild the field list and update the ModifySQL to be: update taaZipCode set ZIP = :ZIP, STATE = :STATE, CITY = :CITY, COUNTY = :COUNTY, AREACODE = :AREACODE where ZIP = :OLD_ZIP this procedure would generate a new field list on the fly, based on the current data schema from the database for that Table. This revised field list would be substituted above. We use cached updates in conjunction with Query objects extensively in our applications, and this procedure would dynamically create the UpdateSQL on the fly. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Delphi 6 Windows 32
ID do Projeto: 3115918

Sobre o projeto

1 proposta
Projeto remoto
Ativo há 20 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
See private message.
$34 USD em 3 dias
5,0 (9 avaliações)
3,3
3,3

Sobre o cliente

Bandeira do(a) UNITED STATES
San Antonio, United States
5,0
16
Membro desde set. 16, 2003

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.