Creating a column link and using a date/time field as one of the Items
I have created an Interactive Report and set up a column link to another page. One of the Items in the column link is a Date field. When I click on the link I receive 'ORA-01403: no data found' for the linked page. In the Session attributes only DD-MON-YYYY HH24 passed and MI (minutes) was truncated... causing the error. I have created the same link on a Non-Interactive Report, DD-MON-YYYY HH24MI gets passed and the link works. Anyone have any clues on why the full date/time format is not being passed?
The Item on the linked page has been set to Date Picker (DD-MON-YYYY HH24MI)
Application Date Format is DD-MON-YYYY HH24:MI
Hi,
As David says colon is separator in URL for parameters.
This is same kind of post about problem about comma. Values are separated by comma in URL. It might help you
value truncation while printing page field in HTML
Regards,
Jari
Similar Messages
-
Automatically displaying date and time in a date/time field on form initialize
Good day all;
I am trying to have the current date and time automatically be generated in a “date/time” field when the form is opened.
I went through the forum and found an entry from Srini “ xfa.host.messageBox("" + Date());” . Of course this brought up a system message box with the date and time.
I then tried “DateTimeField1.rawValue = (“”+date())… This also gave me a system message box with the date and time…
Please let me know where I am going wrong
ChompFound the answer... And yes... in was in the "help" section... What can I say I was making it a lot more crazy than I needed to.
You can use a date/time field to automatically show the current date by using the Runtime Property option in the Value tab of the Object palette.
When using a current date field, the date updates to reflect the system’s current date each time a user opens the form.
1.
In the Library palette, click the Standard category and drag a Date/Time Field object onto the form design.
2.
In the Object palette, click the Value tab and select Calculated - Read Only from the Type list.
3.
Select the Runtime Property option.
4.
View the form in the Preview PDF tab. -
For custom tables should we use UTC for date/time fields
A general question.
Can anyone confirm that SAP does seem to be moving towards storing date/time in UTC format?
We're building custom tables and we're making it a standard to store date/time fields in UTC format.
Regards,
LavaughnHello Lavaughn,
I can not speak for SAP, but from my personal experience TimeStamps are the state of the art to store time date info in db tables. Even with date/Time fields a conversion to the local timezone is necessary. Of course you can reuse your db definition on dynpros. But since UI and business logic will be divided anyway this is also not really a valid point.
Best Regards
Klaus -
Problem with Date/Time field in Adobe LiveCycle
I am trying to create a form that has a check-in and check-out dates. I want the user to enter those dates and then have the form automatically compute how many nights the user intends on staying.
I have two fields, CHECKIN and CHECKOUT, set up as text fields. My third field, NIGHTS, has the following script to do the calculation:
var strStart = CHECKIN.rawValue
var strEnd = CHECKOUT.rawValue
if(strStart.length && strEnd.length)
var dateStart = util.scand("mmm d, yyyy",strStart);
var dateEnd = util.scand("mmm d, yyyy",strEnd);
var diff = dateEnd.getTime() - dateStart.getTime();
var oneDay = 24 * 60 * 60 * 1000;
var days = Math.floor(diff/oneDay);
this.rawValue = days;
else
this.rawValue = 0;
NOW...this is fine if the user inputs a four-digit year. If not, it's trouble. SO, what I want to do is change the CHECKIN and CHECKOUT fields to the date/time field so they select the date off the pop-up calendar.
When I make the changes, I can't get the script to work for the NIGHTS field.
CAN ANYONE HELP THIS NEWBIE?Make sure the format of the date strings provided by the calendar is what you are expecting. Or use the "formattedValue" for the input strings.
-
How to get calendar icon to show again when entering data in date/time field.
Hello,
First time posting on this site. I am fairly new to using SQL Server Express. I created a split-database in MS Access 2010 and have successfully migrated over the backend database to SQL Server Express. When I was using the FE forms in
Access, I use to be able to see a calendar icon where I could select the month and day in the date/time field.
I compiled the FE forms to binary format .accde so that I could distribute this to the users and they couldn't change my forms. After migrating the tables to SQL Server express for the BE, I am no longer able to see the calendar icon when I try to enter
in data in the date/time field. Same for the original .accdb file before the binary conversion to .accde.
How do I get the calendar icon back to show on the form when a user is entering in data? I appreciate any assistance I can get. Thank you!
ThaiHello Cheer,
I don't believe the table changed when migrating from Access. I had two tables before the migration, one was for the SwitchBoard Manager and the other table was for the database table. I used the Switchboard to navigate to different menus, such
as the Main Form, Power Form, Server Form, etc. Let me know if I can provide any other information to help you narrow this down for me.
Thank you for your assistance.
Thai -
Date picker is not available in date/time field
Hi there,
I'm wondering while using a date/time field. Since I made some changes on this field the date picker (Arrow down right next to the field to show up a calendar) is no longer available. Has anybody got a clou what the problem might be or how I can bring the date picker back to this field.
Thanks in advance.
Best,
Maja.Hi there,
I'm just wondering about the following settings/patterns:
As you can see this field is from the type "Date/Time Field". So far so good, but when I'm opening the dialog "Patterns", this dialog is just for a "Date Field" and not for a "Date/Time Field". No trouble so far, but the confusion thing is that the date picker is available in this field. Has anybody a clou how this is working? Or can anybody help me to convert a "Date/Time Field" to a normal "Date Field" which provides this date picker?
Thanks in advance and kind regards,
Maja -
Adobe LiveCycle Date/Time Field Scripting Question
I have a date/time field in Livecycle which the end user chooses a random date from. I need to populate a date 180 days from this date for an eligible to date/time field. I have tried various javascript and formcalc options with no success.
Try this site here for a reference: http://eslifeline.wordpress.com/2008/09/26/date-manipulation/
The following was the use case. A form has 2 TextFields Start_Date and End_date
User enters a certain date in the Start_Date text field for example 09/24/08 (MM/DD/YY)
The End_Date should add 90 days to the Start_date and populate the End_Date
The following script would do that
var current = Date2Num(Start_Date.rawValue, “MM/DD/YY”)
var future = current+90
var newDate = Num2Date(future,”MM/DD/YY”)
form1.#subform[0].End_Date.rawValue = newDate
Validating End Date is later than Start Date
var diff = Date2Num(EndingDate.rawValue, “YYYY-MM-DD”) – Date2Num(StartingDate.rawValue, “YYYY-MM-DD”)
if (diff > 0) then
xfa.host.messageBox(“The End date is later than start date”)
else
xfa.host.messageBox(“PLEASE CHECK….The End date is before the start date”)
endif -
Calculate one month prior to user entered date by a Date/Time field
Hi All,
I am currently pretty new to Live cycle and have no idea about Java scripting, i have been using this site a lot for my forms and have used the FormCalc for expanding tables and so on but this one is proving difficult. I am currently designing a form that requires a calculation of one month prior to a user entered date by a Date/Time field. I have looked at multiple posts on how to do this but none have worked (they are using the Date2Num).
Is anyone able to enlighten me please?
I currently have:
Date/Time field Date Due
Date/Time field Planned Date of Review
I need Planned Date of Review to be calculated to be 30 days prior to Date Due. How do I go about doing this? Is it incorrect to use a Date/Time field as the field type for the calculation?
Cheers
BradYou can use FormCalc to compare the user input.
Put this script into the exit:Event of the date field.
if (Date2Num($.formattedValue, "MM/DD/YYYY") ne date()) then
$host.messageBox("The entered date is not todays date!")
endif -
We have a Date/Time field on one page of our form in Designer 7.1. This field has a Calculate event on it to set the mandatory property on a field depending on the date. When we bring this form up in Reader 7.09 and enter this field, we get the calendar pop up. We select a date, the calendar pop up disappears, but nothing shows up in the field box. I traced this to the Calculate event. We found that if we put the JavaScript statement
this.rawValue;
at the end of the event script, the date selected shows up in the field.
I'm not even sure what that statement does in JavaScript.
Anyone know why this is happening????Hi, FormsCentral has a Date field but not a time or date/time field. You can add a date field and could add a dropdown with time selections in the drop down, but there is not a specific "time" type field.
Thanks,
Josh -
Hi
I have two DateTime Fields
I need show the firs date (DateTime1) + one month in DateTime2, usin change event
Example
In dateTime1 have 2006/05/13
I need see im DateTime2 2006/06/13
Who is that?
ThanksI believe this thread is a copy of another by the same name and author, called
Date Time Field.
FormBooster has provided a solution to this question on the sibling thread.
Stefan
Adobe Systems -
How to create a stored procedure and use it in Crystal reports
Hi All,
Can anyone explain me how to create a stored procedure and use that stored procedure in Crystal reports. As I have few doubts in this process, It would be great if you can explain me with a small stored proc example.
Thanks in advance.If you are using MSSQL SERVER then try creating a stored procedure like this
create proc Name
select * from Table
by executing this in sql query analyzer will create a stored procedure that returns all the data from Table
here is the syntax to create SP
Syntax
CREATE PROC [ EDURE ] procedure_name [ ; number ]
[ { @parameter data_type }
[ VARYING ] [ = default ] [ OUTPUT ]
] [ ,...n ]
[ WITH
{ RECOMPILE | ENCRYPTION | RECOMPILE , ENCRYPTION } ]
[ FOR REPLICATION ]
AS sql_statement [ ...n ]
Now Create new report and create new connection to your database and select stored procedure and add it to the report that shows all the columns and you can place the required fields in the report and refresh the report.
Regards,
Raghavendra
Edited by: Raghavendra Gadhamsetty on Jun 11, 2009 1:45 AM -
Submit Statement for calling smartform and using its data in another report
Hello Everybody
There is one report which display smartform as an output. My requirement is to call that report and return back without showing its output and use its data for futher use in the report. i Hope i m clear with my query. Plzz reply its urgent.
Currectly i m using this statement :
SUBMIT ZPOPRINT WITH PO_NUM EQ IT_EKKO1-EBELN exporting list to memory and return.
while executing the program, after this statement i m getting an output. but i need to store it in memory, not to display the output.
Waiting for ur reply..
Thanks and Regards
VirendraHi.
I have not done this kind of requirement. What i said was just an option which came to my mind. Also not sure whether it will work for you. While submitting ,instead of exporting list to memory do submit to SAP-SPOOL. Then later read the spool content to internal table.
I am referring you two links for this.
[Submit to SAP-SPOOL|http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_LIST_OPTIONS.htm]
[Spool to Internal table|spool file data to internal table].
Also search for related topic in SCN.
Regards
Kesav -
Report Attributes: Add column link and derived column
On the Report Attributes page (4000:420), under the Tasks list on the right side of the page, there are 2 links, "Add column link" and "Add derived column". This is the first time I am noticing them.
The usage is clear, they add columns to the report to function either as a drill-thru link column or just a read-only derived field.
Doing it this way does NOT modify the source query for the report region.
Is there any benefit to using this feature versus adding a "null column_link" or "null derived_col" columns to my source query then setting attributes for those columns?
ThanksWell, one disadvantage I can see of using the 'Add Column link' is that if I have more than 1 of such columns, they all show up as '[column link]' on the Report Attributes page with no way to tell what the underlying links are. Instead, if I were to manually add these dummy columns to my query itself, I would give them meaningful column aliases that indicated where they link to.
Suggestion: Maybe a tooltip could be added to the Report Attributes page for such columns which indicate what the underlying link is without actually going to the Edit page for that column.
Thanks -
Hi
I have a new powerbook and want to give my girlfriend my old G4 power book, she has a new iphone 5s, and wants to create a new itunes/apple id. When i try to de authorize the G4 and sign in with her new apple ID it says bad password, how can i release the G4 from my cluster of authorized apples and make her the owner so she can download music and more importantly sync her music with her phone, she only has 3 songs on her iphone, and loaded all her CD's into the g4 but cant sync, im no dummy and this shouldnt be hard, but its driving me crazy!!!!!!
thx u so much for your time heeeellppppp.Perhaps, as we have the same music tastes, for now i should just authorize her phone to my power book just to sync music, not pics, contacts etc? I'd hate to overright her contacts etc lol????
HELP !!!I want to give my old apple to my girlfriend, SO SHE CAN PLUG IN HER NEW IPHONE, CREATE AN APPLE ID AND USE MY OLD LAPTOP TO DOWNLOAD itunes music, but im having trouble deautherizing it, and making her the OWNER, IF you get my drift, how to i mak -
The most important piece of info about an update I need is how much data does it require. I am travelling and using prepaid data. I cannot even consider an update until I know how much data it will use. Please provide this information.
http://www.apple.com/feedback/macosx.html
Maybe you are looking for
-
How to create dynamic LOV in a page
Hi, I am trying to create a cascading selection feature in a page. That is: Suppose I have a data in Oct. Nov. DEC. in 1998, May, June, July, August in 1999, and Sep. Oct, Nov. in 2000, Jan., Feb., Mar., in 2001. If I choose 2000 in the first selecti
-
Delay triggering of Output type
I have a requirement, wherein when I do a PGI in VL02N, 2 Output Types Z1 and Z2 are triggered. Z1 will generate the Billing Doc and Z2 will print a form with all the details inlcuding Billing Doc Number. However, Z1 takes time (abt 30 sec) to genera
-
I have just purchased an old macbook with an OS of 10.5. Im trying to download lightroom 4 but won't let me because of the OS (needs 10.7), when I tried to purchase the updated OS, it said I need 10.6 to do so!! I just want to download lightroom (3 o
-
Old accounts disappeared after adding google account
I have similar problem, after adding new Google account on BB, old account disappeared and all infos are taken from Google and not anymore from Outlook. Then re-created previous account and deleted Google one: no solution, re-installed BB-DTop Mng: m
-
Hi. I have a new-to-me G5 iMac with Isight and I use iLife 6 with Garageband 3. For years, I have used same program on my G4 iMac. I have a Dazzle unit which allows me to change analog signals to digital signals which I then import to Garageband via