This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
tutorial:printdatausinglazreport [2019/12/29 22:44] admin |
tutorial:printdatausinglazreport [2019/12/29 23:24] (current) admin |
||
|---|---|---|---|
| Line 161: | Line 161: | ||
| มาถึงตอนนี้ เราจะได้โค๊ดทั้งหมดเป็นดังนี้ | มาถึงตอนนี้ เราจะได้โค๊ดทั้งหมดเป็นดังนี้ | ||
| - | <hidden Source Code "Unit1"> | + | <hidden Source Code - Unit1> |
| <sxh delphi;> | <sxh delphi;> | ||
| unit Unit1; | unit Unit1; | ||
| Line 294: | Line 294: | ||
| \\ | \\ | ||
| + | <hidden ภาพรายละเอียดของ Design Report> | ||
| {{tutorial:lazreport_designpreviewcompleted.png}} | {{tutorial:lazreport_designpreviewcompleted.png}} | ||
| + | </hidden> | ||
| \\ | \\ | ||
| - | 8.2 เนื่องจากเรายังไม่ได้ตกแต่งหน้าตา report ใน | + | **__หมายเหตุ__** - หากเราลืมใส่ Control ที่ชื่อว่า frDesigner1 ลงบน Form ในตอนแรก จะทำให้ไม่สามารถแสดง Design View ด้วยการกดปุ่ม ฺButton2 ดังกล่าวได้ ดังนั้นจึงไม่ควรลืมใส่ frDesigner1 เด็ดขาด \\ |
| + | |||
| + | เมื่อแก้ใข report เสร็จแล้ว ควรกดปุ่ม save ทุกครั้ง | ||
| + | |||
| + | 8.2 หลังจากจัดการ report เสร็จเรียบร้อย สามารถเรียกดู Print Preview ได้จากการ click ปุ่ม Button1 จะมีหน้าต่าง Print Preview ขึ้นมาดังรูปข้างล่าง | ||
| {{tutorial:lazreport_previewcompleted.png}} | {{tutorial:lazreport_previewcompleted.png}} | ||
| \\ | \\ | ||
| + | |||
| + | **__หมายเหตุ__** - เราสามารถสั่งพิมพ์ report ดังกล่าวได้โดย click ที่รูป Printer | ||