guys, please help me..?
i have script oracle function this below
CREATE OR REPLACE FUNCTION hitung_hari (b registrasi.id_reg%type) RETURN NUMBER IS
hari NUMBER;
BEGIN
select
trunc(to_date(masa_berlaku) â to_date(sysdate))
into hari from registrasi where id_reg=b;
return hari;
END hitung_hari;
/
and I want to call the above function in VB6.
I have 1 buttonHasil, 1 textboxA and 1 textboxB.
and if I enter into textboxA id_reg then I click the button Hasil the results are appearing in textboxB.
please help me..? please ..
