I am very new to Oracle Apex/PLSQL and have built basic application by editing the templates provided in Apex.
My question is that I have a form which saves data into one table. One date field on the form is "Due Date" where the user selects a future date. I have another text field (disabled) named DAYS REMAINING where I want to show DUE DATE - TODAY'S Date (number of days only, no time). I have added a new column in the backend table with same name (DAYS REMAINING) and number data type. In the DAYS REMAINING textbox's "value" section, I have tried calculating days difference by using SELECT DUE DATE (column) - CURRENT_DATE but the result is error.
Could someone advise a simple work around for getting the number of days on the form. The form ultimately saves the data to table.
SELECT
statement have aFROM
clause that you're omitting? Are you assigning the value to a page item? Are you doing aSELECT INTO
? – Justin Cave