Using Date Picker on form causes session values to be cleared on validation
Got a really weird problem on a form (on a report). We have a basic form which has a date picker on. The form fires a number of bog standard validations when the Create button is clicked (values filled in, values are numbers etc).
When a validation fails, the values inputted by the user are retained. So far so good. However, when the user selects a date, and a validation fails, all the session values are all cleared (not just the date picker) and they have to fill everything in again.
At first we thought there must be a process resetting the page items - nothing. Also recreated the page from scratch and it still doesn't work. Strangely, the problem goes away if we change the date picker to a text field. Also, if the user doesn't select a date, the other session values are retained.
Are we doing something daft here or is this a bug?
Yes - we're using inbuilt validation to ensure it's a valid date. We tried turning this off and it makes no difference, the problem is still there.
We tried changing the date picker to a text field and using the same validation (i.e. check it's a date) and this works fine. This is why we think it might be a bug.
Similar Messages
-
Alternative use of date picker in Forms Builder
Hi
I am looking for a way to create event based actions by use of standard functionality.
I have created a calendar module by use of the Forms Builder. I would like to add a date picker to a show form and add some events based on user actions to this page.
When a date is selected (by a click on a date from the small date picker) a new page with events for the selected day should be displayed instead
Have anyone any alternative experience with the date picker in the end user environment?
Regards
JohnHi there,
I presume that you want to run a report with date parameters. The parameter form of Oracle Reports has limited capabilities. It certainly does not have a date picker (Calendar). However, you can use SQL to give you a list of dates for the LOV but it will not be elegant.
If you have Oracle Forms, it can call the calendar for the user to pick the date. The values are then passed to the report as parameters.
Hope the above helps.
Best Regards,
John -
Update using date picker not working?
Hello,
This might be simple for a lot of people here but I can't get it going...
The problem is that, I have a tabular form with 1 text field and 1 date field. I am using a PL/SQL anonymous block transaction to insert/update a view based on the field values. Insert is fine but update on the date field is not working - but no errors. The date field is a date picker('DD-MON-YYYY') column. Kindly help check the problem. Thank you.
Below are some codes that might be helpful
-- update statement in the block
update del_ignore_conchold_v
set conc_prog_name = apex_application.g_f03(v_row)
,remove_entry_date = apex_application.g_f04(v_row)
where row_id = apex_application.g_f02(v_row);
-- update trigger on the view
CREATE OR REPLACE TRIGGER APPS_TEST.del_ignore_conchold_v_upd_tr
instead of update
ON APPS_TEST.DEL_IGNORE_CONCHOLD_V referencing new as new old as old
for each row
begin
update apps.del_ignore_conchold_tbl@PROD
set conc_prog_name = :new.conc_prog_name,
remove_entry_date = :new.remove_entry_date
where conc_prog_name = :old.conc_prog_name
and remove_entry_date = :old.remove_entry_date;
end;Thanks,
RownaldHello,
The output for g_f03(v_row) and g_f04(v_row) appear to be fine. g_f03 only has the actual text and g_f04 has the date(from date picker field) with format like 22-OCT-2009. Below is an excerpt of the code & debug log - might be of help.
Thanks as always.
if apex_application.g_f02(v_row) is not null then
wwv_flow.debug('MY PROCESS: g_f02 ' || apex_application.g_f02(v_row));
wwv_flow.debug('MY PROCESS: g_f03 ' || apex_application.g_f03(v_row));
wwv_flow.debug('MY PROCESS: g_f04 ' || apex_application.g_f04(v_row));
-- update stmt
update del_ignore_conchold_v
set conc_prog_name = apex_application.g_f03(v_row)
,remove_entry_date = apex_application.g_f04(v_row)
where row_id = apex_application.g_f02(v_row);
wwv_flow.debug('MY PROCESS: g_f03 ' || apex_application.g_f03(v_row));
wwv_flow.debug('MY PROCESS: g_f04 ' || apex_application.g_f04(v_row));
-- debug log --
0.09: ...Do not run process "AddRows", process point=AFTER_SUBMIT, condition type=, when button pressed=ADD
0.09: ...Process "Save_Transaction": PLSQL (AFTER_SUBMIT) declare v_row binary_integer; begin for i in 1..apex_application.g_f01.count loop v_row := apex_application.g_f01(i); if apex_application.g_f02(v_row) is not null then wwv_flow.debug('MY PROCESS: g_f02 ' || apex_appli
0.09: MY PROCESS: g_f02 AAE2DlAHKAAAA0qAAB
0.10: MY PROCESS: g_f03 Delete data from temporary table
0.10: MY PROCESS: g_f04 22-OCT-2009
0.11: MY PROCESS: g_f03 Delete data from temporary table
0.11: MY PROCESS: g_f04 22-OCT-2009
0.15: ...Process "Reset Pagination": RESET_PAGINATION (AFTER_SUBMIT) reset_pagination
0.15: Branch point: AFTER_PROCESSINGRownald -
Is it possible to have a date picker, like the one on the edit form, added to the generated query form?
I'm using version 9.0.3
Thanks.Hi,
I tried the normal date picker as in the edit form but it doesn't work!
With the following code it is possible to select a date from the date picker:
<script src="/cabo/jsLibs/MarlinCore.js" language="javascript"></script>
<script src="/webapp/jsLibs/DateField.js" language="javascript"></script>
<INPUT TYPE="TEXT" NAME="NAME_TEXTFIELD" SIZE="11">
<a onclick="launchDatePicker('/cabo/jsps/frameRedirect.jsp?redirect=/webapp/jsp/calendar.jsp&locale=nl_BE&enc=windows-1252', 'FORM_NAME', 'NAME_TEXTFIELD', 'dd/MM/yyyy'); return false" href="#">
<img src=/webapp/images/FNDICLDR.gif align=absmiddle border=0 alt="Calendar for date entry assistance"></a>
You have to fill in the places where I put FORM_NAME or NAME_TEXTFIELD and it must work!
It works with me so I hope it works also with you... -
Problem with date format using date picker
In my application I provide to user ability to change date format. When using "MMM dd yyyy" format, the date picker paste to the inputbox something like "1111 07 2008" instead of "Nov 07 2008".
To set the date format I use the following code:
wdContext.nodeDateNode().getNodeInfo().getAttribute("date").getModifiableSimpleType().setFormat("MMM dd yyyy");
I know that is known bug of date picker. But there should be other way to implement this functionality. Isn't it?Hi
Check this link
/message/6430993#6430993 [original link is broken]
For more details
http://www.sapdb.org/7.4/htmhelp/48/0d8018b4f211d2a97100a0c9449261/frameset.htm
Thanks -
Dynamic Actions not firing when using date picker?
The dynamic actions don't seem to be triggering when selecting a date from the date picker, but trigger just fine when the dates are manually entered. Anyone else have this problem and if so is there a workaround to get it to work from the date picker as well? I am using Application Express 4.0.1.00.03
And how can I report this problem?I'm already using Change.
If it matters, I have it set to:
Event: Select
Selection Type: Item
Condition: No Condition
My action type is just an alert right now since all I want to do is to see if I can trigger it (as in you have to walk before you can run).
Event Scope: Live
Conditon type: Dynamic Action not Conditional
Authorization Scheme: No Authorization Required -
Hi ,
In the above image if i select date from date picker (created from and created till) it should filter Rowrepeater based on Created On date ,
So far i have tried this code but not working,
function datechange(){
var fromdate = sap.ui.getCore().byId("FromDate").getValue();
var todate = sap.ui.getCore().byId("TillDate").getValue();
var filter = new sap.ui.model.Filter("CreatedOn", sap.ui.model.FilterOperator.BT,
fromdate,todate);
oRowRepeater.bindRows("CM_EventList>/eventlist",oVBox, null, null,
[ filter ]);
CreatedOn is a back end value.
Please help me on this.
Thanks & Regards,
Sathish.I think your rowrepeater bindRow parameters have one 'null' argument too many:
According to the API, it should be bindRows(sPath, oTemplate, oSorter, aFilters)
Try with
oRowRepeater.bindRows("CM_EventList>/eventlist",oVBox, null, [ filter ]); -
"Server Busy" error in Crystal Reports XI when using date picker
Hi,
I have come across an issue whereby I get a error pop up when using the date picker to select a date parameter as I run a report from within Crystal Report XI on a particular PC. While I am able to type in the date using the yyyy-mm-dd format, selecting the date picker displays an error message titled "Server Error" stating that the program is not responding and giving options "Switch To" and "Retry". Selecting either button displays the same error message and need to kill the application from the Task Manager to restart.
I have run the same report from other PCs (including using the date picker to pick a date parameter) without the error popping up. All of the PCs have the same version of the application.
Has anyone come across this and how were you able to resolve it?yes test is a formula that i used to calculate a difference
that should work, but i would put () around the
(if(remainder(({ztrptActVol.CPT}*{tlkpBblMileage.CPT}),1)>0 and
remainder(({ztrptActVol.CPT}*{tlkpBblMileage.CPT}),1)<1) then
truncate(({ztrptActVol.CPT}*{tlkpBblMileage.CPT}))+1
else ({ztrptActVol.CPT}*{tlkpBblMileage.CPT})
rounding in crystal is a pain in the && -
JSF page values are getting cleared with validation errors
Using Jdev 10.1.3.4, JSF and ADF BC
I have 2 jspx pages - 1 input page(with bindings to VO) and a lookup page bound to a read-only VO.
page1: I am entering values to all the fields and then saving the form. Now if I had entered an invalid value for one of the fields and try to save - I am checking if value is valid in page1's managed bean and returning error message.
After I get this error message I clear out the invalid value and use the lookup & navigate to the 2nd page fetch a valid value and when I return to my 1st page I am loosing values for some of the fields in my 1st page. Not sure how and this is my first issue! I dont see this behavior if I use the lookup option directly(instead of entering an invalid value, clearing the value after seeing the error message and then going to the lookup page)
Next I am reentering values that I have lost and when I try to save again this time the value I had set from the lookup page is cleared and since this field is required I am getting an exception again. So, basically once there is an error for a field any new value I set gets cleared on commit and i get a required message for the field. Thanks for any clarifications/help with these strange issues.Fair enough :)
Actually what I was meaning was could I use a collection to repopulate the tabular form when I receive errors. It appears as if it may work. However, I am hitting one snag.
I have created a PL/SQL Process that runs On Submit and Before Computations/Validations. In this process, I have saving the values in the tabular form to a collection.
I was then hoping to create another process that ran after any errors occur. However, it does not appear as if any processes run when the screen redraws after a validation issue. Is there a process that runs after validations when the screen is redrawing? Will I need to do this using javascript?
Thanks -
Hi,
I have problems with date picker. There is a tabular form with several columns and one of them is Date. I have chosen a date picker instead of textfield so that user can choose a date easier. When user clicks Submit button, validation runs. My validation gives error message on Error Page. When user clicks 'OK' link on Error Page browser should go back to previous page without refreshing it so that there are still invalid values in form's fields entered by user before validation. But when I use Date picker the tabular form is being refreshed and all the input is lost. When I use textfield for Date column everything works fine - user clicks an 'OK' link on Error Page and he/she is taken to previous page where invalid data is still there in form.
Is it possible to save a session state of a Date picker using Error Page? If not, is it possible to implement a mask for textfield in Date column so that when user writes the date he/she can see the format he/she should use?
Regards,
TomHi Phil,
The problem is that it does not matter what the date format is set. The problem seems to be that date picker just exists in form! It seems that if there is a date picker in tabular form then the page always refreshes, it cannot be restored with javascript (history go -1).
So is it possible to save date pickers session state or to solve this problem in any other way?
Regards,
Tom -
Bug in Date Picker..urgent
Dear All,
I ma working with OAF 5.7h.
I am facing a strange problem.
I hav a date picker,the one where u hav a date icon on clicking of which the dâte picker opens up in a secondary modal window with the month and year in individual pulldown lists, [Month] in first pulldown list, [Year] in next pulldown list.
Now whenever i scroll thro the Month pulldown list and try selecting February from the Month [first] pulldown list,it alwayz returns the next month (ie ) March in the list(whenever we choose any month from the month pull down list the secondary date window refreshes and puts the selected month as selected in the pulldown list).
The year pull down does not cause any such behaviour.
Its fine with all the months except February.
So unfortunately the user can never select the month Feb,it alwaz return March in the list.
I tried to see the html code in the explorer.View ...Source and i saw that the value attribute in the HTNL tags for both the months Feb and March is same.
So whether i choose Feb or March it displays March...
How can i change this because what i understand the value is generated dynamically for each month in the javascript for the date pop up.
Any help would really be great..
ThanksHi Sharon,
So, It's not a bug it's a feature … :)
IMHO, or to be more exact, in my users opinion, the current behavior is not good enough from a user interface point of view. We are all use to see some noticeable reaction when we are pressing on a link, button etc. The current response to choosing another day is not noticeable enough, and can cause some confusion. I would expect the newly chosen day to be colored. If you think that the current date should also remain marked, you can use another color.
If you use this in a form with a value already set you will notice that it is not the value of the item that is in grey, it is sysdateYes, I've notice that, and in the case that sysdate is not in the current displayed month, nothing is colored. I find this behavior also to be a bit confusing. I think the date picker value should be marked.
I would appreciate if you'll consider this thread as an enhancement request.
Thanks,
Arie. -
Date Picker - Page Refresh?
When using a date picker object (AND a LOV list w/submit in our case), is there a way to make the date picker force a page refresh? Otherwise, charts and/or sql report regions do NOT auto refresh their data when a new date is picked unless the users forces a refresh/submit (or in our case the LOV will do it IF the LOV value is changed too)...
Hi,
Have you tried to put into Date Picker HTML Form Element Attributes function onChange="doSubmit();"?
Val -
Date picker not working correctly.
Hi all,
I have a strange prob in webdynpro.
I am using Date picker. But once i read it, the value is one day less than that i give.
For eg, i give <b>06/25/2006</b>.. but it reads as <b>06/24/2006</b>.
Please help.
Thanks in advance
gEorgEOpen an OSS message (BC-WD-JAV-RUN).
Armin -
Looking for a "free" Date Picker
I'm looking for a free to download and use Date Picker that I can integrate into a small Swing app. Nothing fancy, just a calendar (probably using a JTable) and the ability to select a day of year/month and (possibly) a time of day.
I'm searching google but they're all commercial licenses and I'm simply building this app as a learning process, not for profit.
If there's nothing out there, I'll just stick with my series of combo-boxes :)
Cheers,
ChrisOh yeah, I should point out that I'm not just being lazy. I've spent a while trying to build it myself to no avail. I got as far as displaying the grid :P
http://www.w3style.co.uk/~d11wtq/datepicker.png (out of date, the days are correct now)
package org.w3style.calendar;
import javax.swing.*;
import javax.swing.table.*;
import java.awt.*;
public class CalendarPanel extends JPanel
protected CalendarEventController controller = null;
public CalendarModel model = null;
//JComponents
protected JComboBox monthDropdown = null;
protected JSpinner yearDropdown = null;
protected JTable grid = null;
public CalendarPanel(String title)
super(new GridBagLayout());
this.model = new CalendarModel();
this.controller = new CalendarEventController();
this.controller.setUI(this);
this.controller.setModel(this.model);
this.setBorder(BorderFactory.createTitledBorder(title));
GridBagConstraints c = new GridBagConstraints();
c.gridx = 0;
c.gridy = 0;
c.fill = GridBagConstraints.HORIZONTAL;
c.anchor = GridBagConstraints.WEST;
this.addMonths(c);
c.gridx = 1;
c.anchor = GridBagConstraints.EAST;
c.fill = GridBagConstraints.NONE;
this.addYears(c);
c.gridx = 0;
c.gridy = 1;
c.gridwidth = 2;
this.addTable(c);
protected void addMonths(GridBagConstraints c)
String[] months = this.model.getMonths();
if (this.monthDropdown == null)
this.monthDropdown = new JComboBox(months);
int monthNow = this.model.getCurrentMonth();
this.monthDropdown.setSelectedIndex(monthNow);
this.model.setSelectedMonth(monthNow);
this.controller.addMonthDropdown(this.monthDropdown);
this.add(this.monthDropdown, c);
public JComboBox getMonthDropdown()
return this.monthDropdown;
protected void addYears(GridBagConstraints c)
this.yearDropdown = new JSpinner(this.model.getYearSpinnerModel());
this.yearDropdown.setEditor(new JSpinner.DateEditor(this.yearDropdown, "yyyy"));
this.add(this.yearDropdown, c);
protected void addTable(GridBagConstraints c)
JPanel box = new JPanel(new GridBagLayout());
GridBagConstraints myC = new GridBagConstraints();
myC.gridx = 0;
myC.gridy = 0;
this.grid = new JTable(this.model.getTableModel());
this.configureTable();
box.add(this.grid.getTableHeader(), myC);
myC.gridy = 1;
box.add(this.grid, myC);
this.add(box, c);
public void configureTable()
this.grid.setDragEnabled(false);
this.grid.getTableHeader().setReorderingAllowed(false);
this.grid.getTableHeader().setResizingAllowed(false);
CalendarCellRenderer renderer = new CalendarCellRenderer();
renderer.setParentUI(this);
TableColumn col = null;
for (int i = 0; i < 7; i++)
col = this.grid.getColumnModel().getColumn(i);
col.setPreferredWidth(25);
col.setCellRenderer(renderer);
this.grid.setSelectionBackground(new Color((float)0.7, (float)0.86, (float)1.0));
this.grid.setSelectionForeground(Color.black);
this.grid.setShowGrid(false);
this.grid.setRowHeight(20);
if (this.model.getSelectedMonth() == this.monthDropdown.getSelectedIndex())
int r = this.model.getSelectedGridRow();
this.grid.setRowSelectionInterval(r, r);
int c = this.model.getSelectedGridColumn();
this.grid.setColumnSelectionInterval(c, c);
public JTable getGrid()
return this.grid;
* Manages the rendering of the cells in the calendar
package org.w3style.calendar;
import javax.swing.*;
import javax.swing.table.*;
import java.awt.*;
import java.awt.event.*;
* This is just a basic extension of the DefaultTableCellRender from the current L&F
public class CalendarCellRenderer extends DefaultTableCellRenderer
* The current row being rendered
protected int row;
* The current column being rendered
protected int col;
* If this cell is part of the "selected" row
protected boolean isSelected;
* The table being rendered
protected JTable tbl;
protected CalendarPanel parentUI = null;
public void setParentUI(CalendarPanel p)
this.parentUI = p;
* Fetch the component which renders the cell ordinarily
* @param JTable The current JTable the cell is in
* @param Object The value in the cell
* @param boolean If the cell is in the selected row
* @param boolean If the cell is in focus
* @param int The row number of the cell
* @param int The column number of the cell
* @return Component
public Component getTableCellRendererComponent(JTable tbl, Object v, boolean isSelected, boolean isFocused, int row, int col)
//Store this info for later use
this.tbl = tbl;
this.row = row;
this.col = col;
this.isSelected = isSelected;
//and then allow the usual component to be returned
return super.getTableCellRendererComponent(tbl, v, isSelected, isFocused, row, col);
* Set the contents of the cell to v
* @param Object The value to apply to the cell
protected void setValue(Object v)
super.setValue(v); //Set the value as requested
//Set colors dependant upon if the row is selected or not
if (!this.isSelected) this.setBackground(new Color((float)0.87, (float)0.91, (float)1.0));
else this.setBackground(new Color((float)0.75, (float)0.78, (float)0.85));
//Set a special highlight color if this actual cell is focused
if (this.row == this.tbl.getSelectedRow() && this.col == this.tbl.getSelectedColumn())
this.setBackground(new Color((float)0.5, (float)0.80, (float)0.6));
this.parentUI.model.setSelectedMonth(this.parentUI.getMonthDropdown().getSelectedIndex());
this.parentUI.model.setSelectedGridRow(this.row);
this.parentUI.model.setSelectedGridColumn(this.col);
package org.w3style.calendar;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.Date;
import javax.swing.table.DefaultTableModel;
import javax.swing.*;
public class CalendarModel
protected GregorianCalendar calendar = null;
protected Integer selectedMonth = null;
protected Integer selectedYear = null;
protected Integer selectedGridRow = null;
protected Integer selectedGridColumn = null;
String[][] days = null;
public CalendarModel()
this.days = new String[6][7];
this.calendar = new GregorianCalendar();
public GregorianCalendar getCalendar()
return this.calendar;
public String[] getMonths()
String[] months = {
"January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", "December" };
return months;
public int getDaysInMonth()
int[] daysInMonths = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
int month = this.calendar.get(Calendar.MONTH);
int ret = daysInMonths[month];
if (month == 1 && this.calendar.isLeapYear(this.calendar.get(Calendar.YEAR))) ret += 1;
return ret;
public String[] getDayHeadings()
String[] headings = { "S", "M", "T", "W", "T", "F", "S" };
return headings;
public DefaultTableModel getTableModel()
String[] headings = this.getDayHeadings();
Object[][] data = this.getDays();
DefaultTableModel model = new DefaultTableModel(data, headings) {
public boolean isCellEditable(int row, int col)
return false;
return model;
public SpinnerDateModel getYearSpinnerModel()
Date now = this.calendar.getTime();
int year = this.calendar.get(Calendar.YEAR);
this.calendar.add(Calendar.YEAR, -1000);
Date earliest = this.calendar.getTime();
this.calendar.add(Calendar.YEAR, 2000);
Date latest = this.calendar.getTime();
this.calendar.set(Calendar.YEAR, year);
SpinnerDateModel model = new SpinnerDateModel(now, earliest, latest, Calendar.YEAR);
return model;
public void setSelectedGridRow(int r)
this.selectedGridRow = r;
public Integer getSelectedGridRow()
return this.selectedGridRow;
public void setSelectedGridColumn(int c)
this.selectedGridColumn = c;
public Integer getSelectedGridColumn()
return this.selectedGridColumn;
public int getSelectedMonth()
return this.selectedMonth;
public void setSelectedMonth(int m)
this.selectedMonth = m;
public String[][] getDays()
int currDay = this.calendar.get(Calendar.DAY_OF_MONTH);
this.calendar.set(Calendar.DAY_OF_MONTH, 1);
int firstDayOfMonthAsDayOfWeek = this.calendar.get(Calendar.DAY_OF_WEEK);
this.calendar.set(Calendar.DAY_OF_MONTH, currDay);
int daysInMonth = this.getDaysInMonth();
int row = 0;
int key = 0;
int dayToAdd = 0;
for (int k = 1; k <= 42; k++)
if (k < firstDayOfMonthAsDayOfWeek || dayToAdd >= daysInMonth) this.days[row][key] = "";
else
dayToAdd++;
this.days[row][key] = ""+dayToAdd;
//Hack?
if (dayToAdd == currDay && this.getSelectedGridRow() == null && this.getSelectedGridColumn() == null)
this.setSelectedGridRow(row);
this.setSelectedGridColumn(key);
key++;
if (key == 7)
key = 0;
row++;
return this.days;
public int getCurrentMonth()
int currentMonth = this.calendar.get(Calendar.MONTH);
return currentMonth;
public void setYear(int year)
public void setMonth(int month)
package org.w3style.calendar;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.table.*;
import java.util.Calendar;
import java.util.GregorianCalendar;
public class CalendarEventController
protected CalendarPanel ui = null;
protected CalendarModel model = null;
public CalendarEventController()
public void setUI(CalendarPanel cal)
this.ui = cal;
public void setModel(CalendarModel m)
this.model = m;
public void addMonthDropdown(JComboBox months)
months.addItemListener(new ItemListener() {
public void itemStateChanged(ItemEvent e)
if (e.getStateChange() == ItemEvent.SELECTED)
int monthSelected = ui.monthDropdown.getSelectedIndex();
model.getCalendar().set(Calendar.DAY_OF_MONTH, 1);
model.getCalendar().set(Calendar.MONTH, monthSelected);
//update days in table model, update ui
ui.getGrid().setModel(model.getTableModel());
ui.configureTable();
ui.getGrid().updateUI();
}I could have finished it but it was just going to be a buggy mess. -
Date Picker visbile by default in Apex.
Hi All,
I have created two date pickers by default i will be dsiplaying only one, but when they click on that link i wil diplsay the other date picker report.
I have created demo in my application but that is showing fine in 4.0 version but when i had tried in lower version 3.0 the date picker calendar is showing by deafult. But no erros are dsiplayed in script.
Can you please let us know how we can hide the samll part of calendar icon.
Here is an examplei had created whcih is replaicted what i had done im original application.
workspace-apex_demo_bosu
[email protected]
password-bosuseshu
URL is http://apex.oracle.com/pls/apex/f?p=19104:1:246873615402401:::::
Thanks,
Anoo..I realized you were talking about a form with an "Automatic Row Fetcher" after I had clicked submit;
Let me see if I can understand this:
you have a date column in your table (I hope it is a date)
you have created a "form on a table" page that has an Automatic Row Fetcher process in it.
If the row you are displaying has a value for the date column, you want that value to show up in the Date Picker item type (this should already happen)
If the row you are displaying does not have a value, you want the Date Picker to have a default value of sysdate. (eg a NEW row of data)
If #3 is not happening, let us know.
#4 just requires a process that runs after the Automatic Row Fetcher.
eg
begin
if :P11_DATE is null
then
:P11_DATE := to_char(sysdate, 'DD-MM-YYYY');
end if;
end;
I'm sure there is better way to do it. I just don't know it right off.
Mk
Maybe you are looking for
-
Not able to call BPEL web service using RMI call from different machine
Hi, 1. I have created a smiple Helloworld asynchoronous BPEL process 2. I am able to call that BPEL process using java program (RMI call) which I have written in JDeveloper 10.1.3.3 and the java program is running in the embeded OCJ4 instance of JDev
-
Cannot capture screenshot in Mac when connect to external display
I try to capture a sceenshot with a third party app (Snip) on my Mac and it connects to a external display, it is keep trying do it on the larger display instead of my Mac, I just wanna do a screenshot on my mac only many thx
-
Installing 'Yosemite'; 'Mavericks'
Hello, I had Mavericks installed on my original 160 GB HDD. It was working fine for a long time, until... A Month ago the original HDD crashed and since my last backup was about a year old, so far I'm unable to install any new OS X past Snow Leopard.
-
Reports not Running. RAS is erroring CORBA communication error
Hi, One of the boxi XI R2 SP3 server in cluster is not working correctly. WHen I stopped all other servers and ran report on this server and I got the below error message. Can someone help on this issue. Our Crystal reports are taking forever to run.
-
How can i create an executable file or distribution kit of a sequence file in teststand?. I'm using CVI standard prototypes.