I have "UPLOAD" Button on Oracle Forms in which when user press the button then:
If "Text Item" Field NOT NULL Then
-- Run Upload Procedure From "CSV" File to Oracle Forms
-- Save Data From Oracle Forms to Table in Database
-- Run report in Excel File From SQL QUERY
-- Change the label of Upload Button to "Upload1"
These steps Run Successfully. Code:
IF ( :WE_GROUP_HOF_K.FILE IS NOT NULL ) THEN
EXCEL_UPLOAD;
commit;
REPORT_EXCEL;
Set_Item_Property('Upload',label,'Upload [1]');
END IF;
Now I want these steps When user again Press "UPLOAD" Button:
If Upload Button = 1 Like "Upload 1" THEN
-- Delete from table
-- Upload Again (Run Upload Procedure)
-- Save data into table database
-- Change the label of Upload Button to "Upload[2]"
I tried myself When Upload Button Label "Upload1" Then run 2nd steps but did not solved. Please Provide Solution
Thanks
