Merhaba,
CommandButton1 şarta göre isim vermek istiyorum. Forma güncelle adında buton ekledim. Eğer TextBox1 boş ise kaydet değil ise güncelle olarak kalmasını istiyorum. Ama formu açtığımda kaydet geliyor güncelle olarak gözükmüyor.
If TextBox1 = "" Then
CommandButton1.Caption = "Kaydet"
CommandButton1.ForeColor = &H80000012
End If
CommandButton1 şarta göre isim vermek istiyorum. Forma güncelle adında buton ekledim. Eğer TextBox1 boş ise kaydet değil ise güncelle olarak kalmasını istiyorum. Ama formu açtığımda kaydet geliyor güncelle olarak gözükmüyor.
If TextBox1 = "" Then
CommandButton1.Caption = "Kaydet"
CommandButton1.ForeColor = &H80000012
End If
