Find Jobs
Hire Freelancers

Delphi - CachedUpdates Procedure

$30-100 USD

完了済み
投稿日: 約20年前

$30-100 USD

完了時にお支払い
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: 3115918

プロジェクトについて

2個の提案
リモートプロジェクト
アクティブ 20年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
See private message.
$34 USD 3日以内
5.0 (8 レビュー)
3.3
3.3
この仕事に2人のフリーランサーが、平均$51 USDで入札しています
ユーザーアバター
See private message.
$68 USD 3日以内
4.9 (4 レビュー)
3.8
3.8

クライアントについて

UNITED STATESのフラグ
United States
5.0
16
メンバー登録日:9月 16, 2003

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。