{"id":173269,"date":"2024-11-07T16:35:21","date_gmt":"2024-11-07T08:35:21","guid":{"rendered":"https:\/\/server.hk\/cnblog\/173269\/"},"modified":"2024-11-07T16:35:21","modified_gmt":"2024-11-07T08:35:21","slug":"%e5%a6%82%e4%bd%95%e6%89%93%e9%96%8b%e5%92%8c%e7%b7%a8%e8%bc%af%e7%9a%84%ef%bc%9f%e5%a6%82%e4%bd%95%e6%89%93%e9%96%8b%e5%92%8c%e7%b7%a8%e8%bc%afvisual-foxpro%e6%95%b8%e6%93%9a%e5%ba%ab%e6%96%87","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/173269\/","title":{"rendered":"\u5982\u4f55\u6253\u958b\u548c\u7de8\u8f2f\u7684\uff1f\u5982\u4f55\u6253\u958b\u548c\u7de8\u8f2fVisual FoxPro\u6578\u64da\u5eab\u6587\u4ef6 (visual foxpro\u7684\u6578\u64da\u5eab\u6587\u4ef6\u662f)"},"content":{"rendered":"<h1 id=\"%e5%a6%82%e4%bd%95%e6%89%93%e9%96%8b%e5%92%8c%e7%b7%a8%e8%bc%afvisual-foxpro%e6%95%b8%e6%93%9a%e5%ba%ab%e6%96%87%e4%bb%b6-GZUnDRBwFf\">\u5982\u4f55\u6253\u958b\u548c\u7de8\u8f2fVisual FoxPro\u6578\u64da\u5eab\u6587\u4ef6<\/h1>\n<p>Visual FoxPro\uff08VFP\uff09\u662f\u4e00\u7a2e\u5f37\u5927\u7684\u6578\u64da\u5eab\u7ba1\u7406\u7cfb\u7d71\uff0c\u5ee3\u6cdb\u7528\u65bc\u958b\u767c\u684c\u9762\u61c9\u7528\u7a0b\u5e8f\u548c\u6578\u64da\u5eab\u89e3\u6c7a\u65b9\u6848\u3002\u5b83\u7684\u6578\u64da\u5eab\u6587\u4ef6\u901a\u5e38\u4ee5 .dbf \u70ba\u64f4\u5c55\u540d\uff0c\u9019\u4e9b\u6587\u4ef6\u53ef\u4ee5\u5b58\u5132\u7d50\u69cb\u5316\u6578\u64da\u3002\u672c\u6587\u5c07\u4ecb\u7d39\u5982\u4f55\u6253\u958b\u548c\u7de8\u8f2f\u9019\u4e9b\u6578\u64da\u5eab\u6587\u4ef6\uff0c\u4e26\u63d0\u4f9b\u4e00\u4e9b\u5be6\u7528\u7684\u5de5\u5177\u548c\u65b9\u6cd5\u3002<\/p>\n<h2 id=\"visual-foxpro%e6%95%b8%e6%93%9a%e5%ba%ab%e6%96%87%e4%bb%b6%e7%9a%84%e7%b5%90%e6%a7%8b-GZUnDRBwFf\">Visual FoxPro\u6578\u64da\u5eab\u6587\u4ef6\u7684\u7d50\u69cb<\/h2>\n<p>Visual FoxPro\u7684\u6578\u64da\u5eab\u6587\u4ef6\u4e3b\u8981\u7531\u4ee5\u4e0b\u5e7e\u500b\u90e8\u5206\u7d44\u6210\uff1a<\/p>\n<ul>\n<li><strong>.dbf \u6587\u4ef6\uff1a<\/strong>\u9019\u662f\u4e3b\u8981\u7684\u6578\u64da\u6587\u4ef6\uff0c\u5305\u542b\u4e86\u6240\u6709\u7684\u6578\u64da\u8a18\u9304\u3002<\/li>\n<li><strong>.fpt \u6587\u4ef6\uff1a<\/strong>\u9019\u662f\u7528\u65bc\u5b58\u5132\u4e8c\u9032\u5236\u5927\u5c0d\u8c61\uff08\u5982\u5716\u50cf\u6216\u6587\u6a94\uff09\u7684\u6587\u4ef6\u3002<\/li>\n<li><strong>.cdx \u6587\u4ef6\uff1a<\/strong>\u9019\u662f\u7d22\u5f15\u6587\u4ef6\uff0c\u7528\u65bc\u52a0\u901f\u6578\u64da\u6aa2\u7d22\u3002<\/li>\n<\/ul>\n<h2 id=\"%e6%89%93%e9%96%8bvisual-foxpro%e6%95%b8%e6%93%9a%e5%ba%ab%e6%96%87%e4%bb%b6%e7%9a%84%e6%96%b9%e6%b3%95-GZUnDRBwFf\">\u6253\u958bVisual FoxPro\u6578\u64da\u5eab\u6587\u4ef6\u7684\u65b9\u6cd5<\/h2>\n<p>\u8981\u6253\u958bVisual FoxPro\u6578\u64da\u5eab\u6587\u4ef6\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u5e7e\u7a2e\u65b9\u6cd5\uff1a<\/p>\n<h3 id=\"1-%e4%bd%bf%e7%94%a8visual-foxpro-ide-GZUnDRBwFf\">1. \u4f7f\u7528Visual FoxPro IDE<\/h3>\n<p>\u5982\u679c\u60a8\u5df2\u7d93\u5b89\u88dd\u4e86Visual FoxPro\uff0c\u60a8\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u5176\u96c6\u6210\u958b\u767c\u74b0\u5883\uff08IDE\uff09\u4f86\u6253\u958b\u548c\u7de8\u8f2f\u6578\u64da\u5eab\u6587\u4ef6\u3002\u6b65\u9a5f\u5982\u4e0b\uff1a<\/p>\n<ol>\n<li>\u555f\u52d5Visual FoxPro\u3002<\/li>\n<li>\u5728\u83dc\u55ae\u4e2d\u9078\u64c7\u201c\u6587\u4ef6\u201d &gt; \u201c\u6253\u958b\u201d\u4f86\u9078\u64c7\u60a8\u7684 .dbf \u6587\u4ef6\u3002<\/li>\n<li>\u6587\u4ef6\u6253\u958b\u5f8c\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u201c\u8868\u683c\u201d\u8996\u5716\u4f86\u67e5\u770b\u548c\u7de8\u8f2f\u6578\u64da\u3002<\/li>\n<\/ol>\n<h3 id=\"2-%e4%bd%bf%e7%94%a8%e7%ac%ac%e4%b8%89%e6%96%b9%e5%b7%a5%e5%85%b7-GZUnDRBwFf\">2. \u4f7f\u7528\u7b2c\u4e09\u65b9\u5de5\u5177<\/h3>\n<p>\u9664\u4e86Visual FoxPro IDE\uff0c\u9084\u6709\u8a31\u591a\u7b2c\u4e09\u65b9\u5de5\u5177\u53ef\u4ee5\u7528\u4f86\u6253\u958b\u548c\u7de8\u8f2fVFP\u6578\u64da\u5eab\u6587\u4ef6\u3002\u4f8b\u5982\uff1a<\/p>\n<ul>\n<li><strong>DBF Viewer Plus\uff1a<\/strong>\u9019\u662f\u4e00\u6b3e\u514d\u8cbb\u7684DBF\u6587\u4ef6\u67e5\u770b\u5668\uff0c\u652f\u6301\u67e5\u770b\u548c\u7de8\u8f2f.dbf\u6587\u4ef6\u3002<\/li>\n<li><strong>FoxPro2MySQL\uff1a<\/strong>\u9019\u662f\u4e00\u500b\u5c07FoxPro\u6578\u64da\u5eab\u8f49\u63db\u70baMySQL\u6578\u64da\u5eab\u7684\u5de5\u5177\uff0c\u9069\u5408\u9700\u8981\u5c07\u6578\u64da\u9077\u79fb\u5230\u5176\u4ed6\u5e73\u53f0\u7684\u7528\u6236\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%b7%a8%e8%bc%afvisual-foxpro%e6%95%b8%e6%93%9a%e5%ba%ab%e6%96%87%e4%bb%b6-GZUnDRBwFf\">\u7de8\u8f2fVisual FoxPro\u6578\u64da\u5eab\u6587\u4ef6<\/h2>\n<p>\u7de8\u8f2fVisual FoxPro\u6578\u64da\u5eab\u6587\u4ef6\u7684\u904e\u7a0b\u76f8\u5c0d\u7c21\u55ae\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u898b\u7684\u7de8\u8f2f\u64cd\u4f5c\uff1a<\/p>\n<h3 id=\"1-%e6%b7%bb%e5%8a%a0%e6%96%b0%e8%a8%98%e9%8c%84-GZUnDRBwFf\">1. \u6dfb\u52a0\u65b0\u8a18\u9304<\/h3>\n<p>\u5728Visual FoxPro\u4e2d\uff0c\u60a8\u53ef\u4ee5\u901a\u904e\u4ee5\u4e0b\u547d\u4ee4\u6dfb\u52a0\u65b0\u8a18\u9304\uff1a<\/p>\n<pre><code>INSERT INTO \u8868\u540d (\u6b04\u4f4d1, \u6b04\u4f4d2) VALUES (\u503c1, \u503c2)<\/code><\/pre>\n<h3 id=\"2-%e6%9b%b4%e6%96%b0%e7%8f%be%e6%9c%89%e8%a8%98%e9%8c%84-GZUnDRBwFf\">2. \u66f4\u65b0\u73fe\u6709\u8a18\u9304<\/h3>\n<p>\u8981\u66f4\u65b0\u73fe\u6709\u8a18\u9304\uff0c\u53ef\u4ee5\u4f7f\u7528UPDATE\u547d\u4ee4\uff1a<\/p>\n<pre><code>UPDATE \u8868\u540d SET \u6b04\u4f4d1 = \u65b0\u503c WHERE \u689d\u4ef6<\/code><\/pre>\n<h3 id=\"3-%e5%88%aa%e9%99%a4%e8%a8%98%e9%8c%84-GZUnDRBwFf\">3. \u522a\u9664\u8a18\u9304<\/h3>\n<p>\u522a\u9664\u8a18\u9304\u7684\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n<pre><code>DELETE FROM \u8868\u540d WHERE \u689d\u4ef6<\/code><\/pre>\n<h2 id=\"%e6%b3%a8%e6%84%8f%e4%ba%8b%e9%a0%85-GZUnDRBwFf\">\u6ce8\u610f\u4e8b\u9805<\/h2>\n<p>\u5728\u7de8\u8f2fVisual FoxPro\u6578\u64da\u5eab\u6587\u4ef6\u6642\uff0c\u8acb\u6ce8\u610f\u4ee5\u4e0b\u5e7e\u9ede\uff1a<\/p>\n<ul>\n<li>\u5728\u9032\u884c\u4efb\u4f55\u7de8\u8f2f\u4e4b\u524d\uff0c\u5efa\u8b70\u5099\u4efd\u6578\u64da\u5eab\u6587\u4ef6\uff0c\u4ee5\u9632\u6b62\u6578\u64da\u4e1f\u5931\u3002<\/li>\n<li>\u78ba\u4fdd\u60a8\u64c1\u6709\u9069\u7576\u7684\u6b0a\u9650\u4f86\u7de8\u8f2f\u6578\u64da\u5eab\u6587\u4ef6\u3002<\/li>\n<li>\u5728\u4f7f\u7528\u7b2c\u4e09\u65b9\u5de5\u5177\u6642\uff0c\u8acb\u9078\u64c7\u53ef\u9760\u7684\u8edf\u4ef6\uff0c\u4ee5\u907f\u514d\u6578\u64da\u640d\u58de\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%b8%bd%e7%b5%90-GZUnDRBwFf\">\u7e3d\u7d50<\/h2>\n<p>Visual FoxPro\u6578\u64da\u5eab\u6587\u4ef6\u7684\u6253\u958b\u548c\u7de8\u8f2f\u904e\u7a0b\u76f8\u5c0d\u7c21\u55ae\uff0c\u7121\u8ad6\u662f\u4f7f\u7528Visual FoxPro IDE\u9084\u662f\u7b2c\u4e09\u65b9\u5de5\u5177\uff0c\u90fd\u80fd\u6709\u6548\u5730\u7ba1\u7406\u6578\u64da\u3002\u4e86\u89e3\u5982\u4f55\u64cd\u4f5c\u9019\u4e9b\u6587\u4ef6\u5c0d\u65bc\u958b\u767c\u548c\u7dad\u8b77\u61c9\u7528\u7a0b\u5e8f\u81f3\u95dc\u91cd\u8981\u3002\u5982\u679c\u60a8\u9700\u8981\u7a69\u5b9a\u7684\u670d\u52d9\u5668\u4f86\u904b\u884c\u60a8\u7684\u6578\u64da\u5eab\u61c9\u7528\u7a0b\u5e8f\uff0c\u8003\u616e\u4f7f\u7528<a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a>\u89e3\u6c7a\u65b9\u6848\uff0c\u4ee5\u78ba\u4fdd\u9ad8\u6548\u548c\u5b89\u5168\u7684\u6578\u64da\u7ba1\u7406\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e86\u89e3\u5982\u4f55\u6253\u958b\u548c\u7de8\u8f2fVisual FoxPro\u6578\u64da\u5eab\u6587\u4ef6\uff0c\u638c\u63e1\u57fa\u672c\u64cd\u4f5c\u548c\u6280\u5de7\uff0c\u8f15\u9b06\u7ba1\u7406\u6578\u64da\u5eab\u5167\u5bb9\u3002<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[],"class_list":["post-173269","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/173269","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=173269"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/173269\/revisions"}],"predecessor-version":[{"id":173270,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/173269\/revisions\/173270"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=173269"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=173269"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=173269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}