Select the product you need help with
XL97: วิธีการที่สร้างแฟ้มแบบสอบถาม (.iqy) ของเว็บหมายเลขบทความ (Article ID): 157482 - ผลิตภัณฑ์ที่เกี่ยวข้องในบทความนี้ เนื้อหาบนหน้านี้สรุปบทความนี้อธิบายถึงวิธีการสร้างแบบสอบถามเว็บ (.iqy) แฟ้มสำหรับใช้กับ Microsoft Excel 97 ข้อมูลเพิ่มเติมใน Microsoft Excel 97 แบบสอบถามเว็บช่วยให้คุณไปยังแบบสอบถามข้อมูลจากเฉพาะเวิลด์ไวด์เว็บ อินเทอร์เน็ต หรืออินทราเน็ตไซต์ และเรียกข้อมูลลงในแผ่นงาน Microsoft Excel โดยตรง Microsoft Excel 97 รวมการสอบถามเว็บตัวอย่างบางส่วน ข้อกำหนดของแฟ้มแบบสอบถามเว็บแฟ้มแบบสอบถามเว็บคือ แฟ้มข้อความที่ประกอบด้วยจากหนึ่งในสี่บรรทัดของข้อความที่คั่นแต่ละบรรทัดของข้อความ ด้วยการคืนค่าขนส่ง คุณสามารถสร้างแฟ้มแบบสอบถามเว็บในการแก้ไขใด ๆ ข้อความ เช่น Notepad และจะถูกบันทึก ด้วยนามสกุล.iqyการสร้างแฟ้มแบบสอบถามเว็บการสร้างแฟ้มแบบสอบถามเว็บ ดำเนินการดังต่อไปนี้:
ใช้คงและ Dynamic พารามิเตอร์ในแบบสอบถามของเว็บIn Web queries, you can use static and/or dynamic parameters. Static parameters send query data without prompting you for any values. Dynamic parameters prompt you to type one or more values when the Web query is executed.The syntax for parameters is as follows:
<parameter>=<value string="">
</value></parameter> where <parameter> is the name of a parameter (for example, stock) and
<value string=""> is a value.
</value></parameter>The value string can be one of the following values. Parameter type Value string ----------------------------------------------------------- Static value1 Dynamic ["value1","Please enter the first value:"] If multiple parameters are required, separate them with an ampersand character (&). The following example illustrates the syntax: quote1=stock1"e2=stock2 When multiple values are sent for a single parameter, separate them with a
plus sign (+). The following example illustrates the syntax:quote1=stock1+stock2"e2=stock3+stock4 You can combine static and dynamic parameters within a single parameter
string. The following example illustrates the syntax:quote1=stock1"e2=["stock2","Please enter the second value:"] Examples of Web Query FilesThe following examples are designed to demonstrate the syntax used by Web query files in Microsoft Excel 97.NOTE: The following examples are not functional Web queries. Example One: This example sends the value "wyut" to the Client.exe and retrieves a value. You are not prompted to type any values. The parameter is sent using the GET method. WEB 1 http://www.weylandyutani.com/cgi-bin/client.exe?quote=wyut
http://www.weylandyutani.com/cgi-bin/client.exe?quote=wyut
Example Two: This example sends the values "wyut" and "hypd" to the Client2.exe, and then retrieves values. You are not prompted to type any values. The parameters are sent using the POST method. WEB 1 http://www.weylandyutani.com/cgi-bin/client2.exe quote1=wyut"e2=hypd This example prompts you to type a stock symbol, sends that symbol to the Client.exe, and retrieves a value. The parameters are sent using the GET method. NOTE: The third and fourth lines of this example should be typed on a single line in your text file.
WEB
1
http://www.weylandyutani.com/cgi-bin/client.exe?quote1=
["stock1","Please enter a stock symbol:"]
Example FourThis example sends the value "wyut" and a value that you are prompted to enter to the Client2.exe, and then retrieves the values. The parameters are sent using the POST method.WEB 1 http://www.weylandyutani.com/cgi-bin/client2.exe quote1=wyut"e2=["stock2","Please enter a stock symbol:"] ข้อมูลอ้างอิง"Microsoft Excel Web Resource Kit for Microsoft Excel 97," pages 4-6 คุณสมบัติหมายเลขบทความ (Article ID): 157482 - รีวิวครั้งสุดท้าย: 6 มกราคม 2554 - Revision: 2.0
แปลโดยคอมพิวเตอร์ ข้อมูลสำคัญ: บทความนี้แปลโดยซอฟต์แวร์การแปลด้วยคอมพิวเตอร์ของ Microsoft แทนที่จะเป็นนักแปลที่เป็นบุคคล Microsoft มีบทความที่แปลโดยนักแปลและบทความที่แปลด้วยคอมพิวเตอร์ เพื่อให้คุณสามารถเข้าถึงบทความทั้งหมดในฐานความรู้ของเรา ในภาษาของคุณเอง อย่างไรก็ตาม บทความที่แปลด้วยคอมพิวเตอร์นั้นอาจมีข้อบกพร่อง โดยอาจมีข้อผิดพลาดในคำศัพท์ รูปแบบการใช้ภาษาและไวยากรณ์ เช่นเดียวกับกรณีที่ชาวต่างชาติพูดผิดเมื่อพูดภาษาของคุณ Microsoft ไม่มีส่วนรับผิดชอบต่อความคลาดเคลื่อน ความผิดพลาดหรือความเสียหายที่เกิดจากการแปลเนื้อหาผิดพลาด หรือการใช้บทแปลของลูกค้า และ Microsoft มีการปรับปรุงซอฟต์แวร์การแปลด้วยคอมพิวเตอร์อยู่เป็นประจำ ต่อไปนี้เป็นฉบับภาษาอังกฤษของบทความนี้:157482
(http://support.microsoft.com/kb/157482/en-us/
)
| การแปลบทความ
|





กลับไปด้านบน








