วันพุธ, พฤศจิกายน 19, 2551

Domino-@PickList

@PickList เอาไว้ทำอะไร แล้วใช้ไงครับ

ใช้สำหรับดึงวิวที่สร้างมาแสดงเพื่อให้เลือกได้ คล้าย ๆ กับ dialoguebox หรือ prompt ครับตัวอย่างการใช้ผมเอามาจาก help designer ตามนี้เลยครับ1. This formula displays the Products view of PROD.NSF in a dialog box. If the user selects a Staple remover and Stapler from the products view, the temporary variable choice gets assigned the following text list: Staple remover; Staplerchoice:=@PickList( [CUSTOM] ; "" ; "Products" ; "Select a product" ; "Please select the products you want to order" ; 1 );2. This formula achieves the same result as the one above, but uses @DbName to display the Products view of the current database.choice:=@PickList( [CUSTOM] ; @DbName ; "Products" ; "Select a product" ; "Please select the products you want to order" ; 1 );3. This formula also displays the Products view of the current database, but returns the contents of the second column in the view.choice:=@PickList( [CUSTOM] ; @DbName ; "Products" ; "Select a product" ; "Please select the products you want to order" ; 2 );

9notes.net

ไม่มีความคิดเห็น:

ผู้ติดตาม