Private
Type musteri
kodu
As
Integer
adi_soyadi
String
* 30
grubu
* 10
adresi
ilçe
il
telefon
fax
End
Type
Dim
kayit
musteri
Sub
Command1_Click()
Open
"C:\musteri.dat"
For
Random
#1 Len = Len(kayit)
kayit.kodu = Val(Text1)
kayit.adi_soyadi = Text2
kayit.grubu = Text3
kayit.adresi = Text4
kayit.ilçe = Text5
kayit.il = Text6
kayit.telefon = Text7
kayit.fax = Text8
Put #1, kayit.kodu, kayit
Close #1
MsgBox (
"Kayıt Tamamlandı"
)
Command3_Click
Command2_Click()
"C:\MUSTERI.DAT"
KayitNo = Val(Text1)
Get
#1, KayitNo, kayit
Text2 = kayit.adi_soyadi
Text3 = kayit.grubu
Text4 = kayit.adresi
Text5 = kayit.ilçe
Text6 = kayit.il
Text7 = kayit.telefon
Text8 = kayit.fax
Command3_Click()
Text1 =
""
: Text2 =
: Text3 =
: Text4 =
: Text5 =
: Text6 =
: Text7 =
: Text8 =
Form_Load()