MasteringVFP/3/8

出自VFP Wiki

在2009年5月26日 (二) 12:01由ChiliEltol (對話 | 貢獻)所做的修訂版本
跳轉到: 導航, 搜尋

[http://s1.shard.jp/olharder/agencias-auto.html auto paint code ] [http://s1.shard.jp/losaul/exchange-rate-australian.html rex hunt fishing australia ] [http://s1.shard.jp/olharder/autosurf-site.html auto loans low interest ] [http://s1.shard.jp/olharder/automatic-bread.html automatic screw machine products decatur ] [http://s1.shard.jp/frhorton/gmhd9lgd6.html africa costume ] [http://s1.shard.jp/frhorton/2beniqaav.html african soapstone carving ] [http://s1.shard.jp/galeach/new12.html asian4u anna song ] index taubman paints australia [http://s1.shard.jp/olharder/gxautos.html auto chicago show wheels world ] [http://s1.shard.jp/olharder/auto-car-guys.html auto audio installations ] top page [http://s1.shard.jp/frhorton/l2ids56ra.html vat south africa ] [http://s1.shard.jp/bireba/innoculate-antivirus.html rating antivirus software ] [http://s1.shard.jp/frhorton/b9vqclfhc.html african american plays in philadelphia ] [http://s1.shard.jp/olharder/automobile-accident.html automatistic behavior ] [http://s1.shard.jp/olharder/baltimore-auto.html aa12 automatic military shotgun ] [http://s1.shard.jp/frhorton/bq5czt3ax.html africana hotel kampala ] [http://s1.shard.jp/olharder/automated-vehicle.html highresautopictures ] index [http://s1.shard.jp/galeach/new48.html capital city of asia ] [http://s1.shard.jp/galeach/new131.html asian panty ] [http://s1.shard.jp/frhorton/qpxrkrvqf.html african meeting house nantucket ] [http://s1.shard.jp/olharder/the-autobiography.html autobiography questionaire ] avg antivirus linux [http://s1.shard.jp/losaul/seven-nightclub.html moshe katsav australia ] [http://s1.shard.jp/galeach/new38.html asian rice recipe ] [http://s1.shard.jp/bireba/norton-antivirus.html trialware norton antivirus 2005 ] [http://s1.shard.jp/frhorton/wlyxxgvnc.html tallest mountain in africa in country of tanzania ] top [http://s1.shard.jp/frhorton/1aei449pv.html cold war in africa ] [http://s1.shard.jp/losaul/australia-bank.html australia date day mother ] [http://s1.shard.jp/galeach/new93.html assessment australasian mathematics school ] map [http://s1.shard.jp/frhorton/fjk2uyiwe.html keg south africa ] [http://s1.shard.jp/olharder/auto-bank-repossessed.html auto budget hire reading ] url [http://s1.shard.jp/galeach/new5.html tales of phantasia psx translation ] [http://s1.shard.jp/bireba/northon-antivirus.html 64bit antivirus software ] [http://s1.shard.jp/bireba/removing-norton.html uninstall norton antivirus corporate ] [http://s1.shard.jp/bireba/extendia-antivirus.html antivirus software for pc ] [http://s1.shard.jp/olharder/automation-home.html auto box ] african lovebirds picture [http://s1.shard.jp/olharder/accessory-automotive.html auto repair service fort worth ] [http://s1.shard.jp/galeach/new51.html mild to moderate dysplasia ] antivirus checking [http://s1.shard.jp/olharder/auto-start.html defeo auto group ] [http://s1.shard.jp/galeach/new112.html malvasia long beach ] [http://s1.shard.jp/frhorton/4jl7mv47m.html book for african american kid ] http://www.textorolon.com

View

View 分為 Local Views 及 Remote Views, 事實上如果您在 Project 的 Data 也可以看到 Queries, 那應該也算 View。 View 的功能就像將原資料庫做 Select 的動作, 丟到 Cursor, 還可以設定回寫資料庫的功能。

個人是不建議使用 View, 雖然它方便, 除非您是動態產生 Views, 不然有幾項缺點:

  1. 異動資料庫欄位時, 會造成 View 的損毀(除非系統都不會異動)。
  2. VFP 的 View 不像 ADO 還有上幾筆或下幾筆的功能, 所以一次就是倒入多筆資料, 當然可用 Top 第幾筆, 但是要再往下抓資料就有問題。
  3. 必須開一個 DBC。

..暫時還沒想到其它....

View 可以用 View Designer 設定, 這是很方便的功能, 不然也可以下指令的方式

CREATE SQL VIEW mysqlview AS SELECT * FROM customer!orders

如果要設定 View 可回寫資料庫的功能, 還是用 View Designer 比較快