Feeds:
Posts
Comments

Archive for the ‘Visual Basic 6’ Category

Untuk berpindah dari satu control ke control yang lain di Visual Basic, kita biasa menggunakan key Enter dengan cara “menangkap” keyasciinya lalu mengirimkannya melalui prosedur Form_Keypress. Tapi hal ini tidak bisa dilakukan pada control DTPicker.
(more…)

Advertisements

Read Full Post »

I had datepicker with checkbox. When i want to save datepicker to date field value with unchecked, it doesnt save at all. But when i give if statement and set date field value to null, it shows error “Type Mismatch”. Do you ever have the same problem?

Here is a way to rectify the problem:

If IsDate(dtPicker.value) then oRec!DateField = dtPicker.value else oRec!DateField = Empty

so oRec!DateField = Empty will set date field value to null!!

Read Full Post »