DATA BARANG

DATA PRODUCTS

ket:
1.buka FoxPro select the new file to make the project with the name of the data item
All search database
2.trus clik clik select new database name db_barang
3.setelah make plih new database tables clik
4.trus search form-clik select documents to create new forms

HOW TO FORM BIKIN
Label textbox
1.clik label you put your cursor on the form name>> kd_barang kd_barang text1 to make key
2.clik label you put the cursor on the form name>> text2 nm_barang
3.clik label you put your cursor on the form name>> stock text3
4.clik label you put the cursor on the form name>> price text4
5.untuk make the process of commen clik button>> Add a Store
Exit

LISTING

form-load
set default to "c: \ lab a late 12088165"

cmdtambah-click
thisform.text1.setfocus
thisform.cmdsimpan.enabled =. T.

cmdsimpan-click
use goods
append blank

replace with thisform.text1.value kd_barang
replace with thisform.text2.value nm_barang
replace stock with val (thisform.text3.value)
replace the price with val (thisform.text4.value)

thisform.text1.value = ""
thisform.text2.value = ""
thisform.text3.value = ""
thisform.text4.value = ""
thisform.cmdtambah.setfocus
thisform.cmdsimpan.enabled =. F.

ket: enabled false / .F. for at pengaturanya

cmdkeluar-clik
thisform.release

Note: to delete search command windows command write sequence reocord browse then look at how much you delete
For example:
sincere>> delete record2
write>> pack for delete
Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Grants for single moms