
Form data pembelian
Option Compare DatabasePrivate Sub Form_Load() Me.TxtTanggal1.Value = Date Me.TxtTanggal2.Value = Date Me.RecordSource = "SELECT * FROM t_beli WHERE tanggal>=#" & Me.TxtTanggal1.Value & "# AND tanggal<=#" & Me.TxtTanggal2.Value & "#"End SubPrivate Sub TxtFilter_AfterUpdate() If Me.TxtFilter.Value <> "" Then ...