How to enter Text or Date Value?
Hi, I am using Planning 9.3.1 and tried to enter text or date value into account
which is defined as text or date, but I can only type numeric value into the cell.
Is there anyone who knows the reason why I can't type in text or date?
Thanks.
Regards,
Jerry
You need to set the Evaluation Order to make this work. Once you tell Planning which dimension has priority (Account) the date format should work in a form. This is accessible through the Administration->Dimensions menu pick in the rightmost tab.
Without that evaluation priority, the data just displays as a number.
Once set, you must enter data in a format that mirrors your system locale or Planning application default/user preference. You will not be able to enter a whole number.
Regards,
Cameron Lackpour
Similar Messages
-
How we enter text for materials in purchase order smartform
hi guru
how we enter text for materials in purchase order smartform
my requirement is create smartform for purchase order.
in this i have to create item-text, by using which tcode we can give item data
plz give more expalnation for this plzzzzzzzzzHi,
You can use read_text function module for readind text of material and store this value in internal table later pass this internal table to smartform will solve your problem.
otherwise there is direct option for text element property that is include text u can use that also
Regards
Gagan -
How to enter text in text input box using virtual keyboard in flex application
Re: how to enter text in text input box using virtual keyboard in flex application
hi,
im using flash builder 4,
i designed virtual keyboard, i have to update the text in text input box continously by using virtual keyboard.
i used button events.i did some mistake there.
can some one help me out of tat.
thanks in advance.
i have included my mxml program with this.
virtualkeyboard.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" creationComplete="initfunc()">
<fx:Script>
<![CDATA[
import mx.controls.Alert;
private function initfunc():void
b1.addEventListener(MouseEvent.CLICK,handleEvent);
b2.addEventListener(MouseEvent.CLICK,handleEvent);
b3.addEventListener(MouseEvent.CLICK,handleEvent);
b4.addEventListener(MouseEvent.CLICK,handleEvent);
b5.addEventListener(MouseEvent.CLICK,handleEvent);
b6.addEventListener(MouseEvent.CLICK,handleEvent);
b7.addEventListener(MouseEvent.CLICK,handleEvent);
b8.addEventListener(MouseEvent.CLICK,handleEvent);
b9.addEventListener(MouseEvent.CLICK,handleEvent);
b10.addEventListener(MouseEvent.CLICK,handleEvent);
b11.addEventListener(MouseEvent.CLICK,handleEvent);
b12.addEventListener(MouseEvent.CLICK,handleEvent);
b13.addEventListener(MouseEvent.CLICK,handleEvent);
b14.addEventListener(MouseEvent.CLICK,handleEvent);
b15.addEventListener(MouseEvent.CLICK,handleEvent);
b16.addEventListener(MouseEvent.CLICK,handleEvent);
b17.addEventListener(MouseEvent.CLICK,handleEvent);
b18.addEventListener(MouseEvent.CLICK,handleEvent);
b19.addEventListener(MouseEvent.CLICK,handleEvent);
b20.addEventListener(MouseEvent.CLICK,handleEvent);
b21.addEventListener(MouseEvent.CLICK,handleEvent);
b22.addEventListener(MouseEvent.CLICK,handleEvent);
b23.addEventListener(MouseEvent.CLICK,handleEvent);
b24.addEventListener(MouseEvent.CLICK,handleEvent);
b25.addEventListener(MouseEvent.CLICK,handleEvent);
b26.addEventListener(MouseEvent.CLICK,handleEvent);
b27.addEventListener(MouseEvent.CLICK,handleEvent);
b28.addEventListener(MouseEvent.CLICK,handleEvent);
b29.addEventListener(MouseEvent.CLICK,handleEvent);
b30.addEventListener(MouseEvent.CLICK,handleEvent);
b31.addEventListener(MouseEvent.CLICK,handleEvent);
b32.addEventListener(MouseEvent.CLICK,handleEvent);
b33.addEventListener(MouseEvent.CLICK,handleEvent);
b34.addEventListener(MouseEvent.CLICK,handleEvent);
b35.addEventListener(MouseEvent.CLICK,handleEvent);
b36.addEventListener(MouseEvent.CLICK,handleEvent);
b37.addEventListener(MouseEvent.CLICK,handleEvent);
b38.addEventListener(MouseEvent.CLICK,handleEvent);
b39.addEventListener(MouseEvent.CLICK,handleEvent);
b40.addEventListener(MouseEvent.CLICK,handleEvent);
b41.addEventListener(MouseEvent.CLICK,handleEvent);
b42.addEventListener(MouseEvent.CLICK,handleEvent);
b43.addEventListener(MouseEvent.CLICK,handleEvent);
b44.addEventListener(MouseEvent.CLICK,handleEvent);
b45.addEventListener(MouseEvent.CLICK,handleEvent);
b46.addEventListener(MouseEvent.CLICK,handleEvent);
b47.addEventListener(MouseEvent.CLICK,handleEvent);
b48.addEventListener(MouseEvent.CLICK,handleEvent);
b49.addEventListener(MouseEvent.CLICK,handleEvent);
b50.addEventListener(MouseEvent.CLICK,handleEvent);
b51.addEventListener(MouseEvent.CLICK,handleEvent);
b52.addEventListener(MouseEvent.CLICK,handleEvent);
b53.addEventListener(MouseEvent.CLICK,handleEvent);
public function handleEvent ( e : MouseEvent ) : void
var a:String= e.target.name ;
Alert.show(e.target.name);
var b:String=null;
switch(a)
case "Button20":
b=textbox.text;
//textbox.text="a";
textbox.text=b+"a";
break;
case "Button21":
//textbox.text="b";
textbox.text=b+"b";
break;
default:
//textbox.text="s";
textbox.text=b+"s";
]]>
</fx:Script>
<s:Panel x="43" y="82" width="527" height="213">
<mx:Button x="71" y="86" id="b1" label="1" width="30" height="24"/>
<s:Button x="180" y="86" id="b2" label="5" width="30" height="24"/>
<s:Button x="127" y="86" id="b3" label="3" width="30" height="24"/>
<s:Button x="99" y="86" id="b4" label="2" width="30" height="24"/>
<s:Button x="323" y="86" id="b5" label="0" width="30" height="24"/>
<s:Button x="294" y="86" id="b6" label="9" width="30" height="24"/>
<s:Button x="265" y="86" id="b7" label="8" width="30" height="24"/>
<s:Button x="237" y="86" id="b8" label="7" width="30" height="24"/>
<s:Button x="209" y="86" id="b9" label="6" width="30" height="24"/>
<s:Button x="42" y="86" id="b10" label="`" width="30" height="24"/>
<s:Button x="382" y="86" id="b11" label="=" width="30" height="24"/>
<s:Button x="353" y="86" id="b12" label="-" width="30" height="24"/>
<s:Button x="410" y="86" id="b13" label="back" width="76" height="24"/>
<s:Button x="157" y="86" id="b14" label="4" width="30" height="24"/>
<s:Button x="43" y="109" id="b15" label="tab" width="66" height="24"/>
<s:Button x="105" y="109" id="b16" label="q" width="31" height="24"/>
<s:Button x="247" y="109" id="b17" label="y" width="30" height="24"/>
<s:Button x="303" y="109" id="b18" label="i" width="31" height="24"/>
<s:Button x="361" y="110" id="b19" label="p" width="34" height="23"/>
<s:Button x="394" y="109" id="b20" label="[" width="31" height="24"/>
<s:Button x="191" y="109" id="b21" label="r" width="34" height="24"/>
<s:Button x="424" y="109" id="b22" label="]" width="31" height="24"/>
<s:Button x="222" y="109" id="b23" label="t" width="31" height="24"/>
<s:Button x="161" y="109" id="b24" label="e" width="31" height="24"/>
<s:Button x="133" y="109" id="b25" label="w" width="31" height="24"/>
<s:Button x="332" y="109" id="b26" label="o" width="31" height="24"/>
<s:Button x="275" y="109" id="b27" label="u" width="31" height="24"/>
<s:Button x="220" y="133" id="b28" label="g" width="31" height="24"/>
<s:Button x="424" y="132" id="b29" label="enter" width="62" height="24"/>
<s:Button x="43" y="132" id="b30" label="caps" width="66" height="24"/>
<s:Button x="275" y="133" id="b31" label="j" width="42" height="23"/>
<s:Button x="314" y="132" id="b32" label="k" width="31" height="24"/>
<s:Button x="133" y="133" id="b33" label="s" width="31" height="23"/>
<s:Button x="161" y="133" id="b34" label="d" width="31" height="23"/>
<s:Button x="250" y="133" id="b35" label="h" width="31" height="23"/>
<s:Button x="105" y="133" id="b36" label="a" width="31" height="23"/>
<s:Button x="191" y="133" id="b37" label="f" width="31" height="23"/>
<s:Button x="342" y="132" id="b38" label="l" width="31" height="24"/>
<s:Button x="152" y="154" id="b39" label="x" width="31" height="24"/>
<s:Button x="353" y="154" id="b40" label="." width="31" height="24"/>
<s:Button x="325" y="154" id="b41" label="," width="31" height="24"/>
<s:Button x="294" y="154" id="b42" label="m" width="31" height="24"/>
<s:Button x="259" y="154" id="b43" label="n" width="37" height="24"/>
<s:Button x="236" y="154" id="b44" label="b" width="31" height="24"/>
<s:Button x="211" y="154" id="b45" label="v" width="31" height="24"/>
<s:Button x="181" y="154" id="b46" label="c" width="31" height="24"/>
<s:Button x="122" y="154" id="b47" label="z" width="31" height="24"/>
<s:Button x="380" y="154" id="b48" label="/" width="31" height="24"/>
<s:Button x="368" y="132" id="b49" label=";" width="31" height="24"/>
<s:Button x="396" y="132" id="b50" label="'" width="31" height="24"/>
<s:Button x="43" y="154" id="b51" label="shift" width="82" height="24"/>
<s:Button x="407" y="154" id="b52" label="shift" width="79" height="24"/>
<s:Button x="455" y="109" id="b53" label="\" width="31" height="24"/>
</s:Panel>
<s:TextInput x="161" y="27" id="textbox" width="253"/>
</s:Application>
regards,
saran rhi,
how to code for these buttons "control,alt,delete,insert and spacebar".
can u help me how to program?
i have attached the mxml code with this,
virtualkeypad1.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
creationComplete="application1_creationCompleteHandler(event)" viewSourceURL="srcview/index.html">
<fx:Script>
<![CDATA[
import flash.utils.getQualifiedSuperclassName;
import mx.events.FlexEvent;
private var inpText:String = 'inp1';
private var shiftState:Boolean = false;
private var capsState:Boolean = false;
protected function keyboard_clickHandler(event:MouseEvent):void
this[inpText].text = this[inpText].text+(event.currentTarget as Button).label;
if (shiftState == true) shift_clickHandler(null);
protected function caps_clickHandler(event:MouseEvent):void
capsState = !capsState;
if (capsState == true)
currentState = "SHIFTED" else currentState = "PRIMARY";
protected function tab_clickHandler(event:MouseEvent):void
this[inpText].text = this[inpText].text+" ";
protected function shift_clickHandler(event:MouseEvent):void
shiftState = !shiftState;
if (shiftState == true)
currentState = "SHIFTED" else currentState = "PRIMARY";
protected function enter_clickHandler(event:MouseEvent):void
this[inpText].text = this[inpText].text+"\n";
protected function backspace_clickHandler(event:MouseEvent):void
var tmpStr:String = this[inpText].text;
this[inpText].text = tmpStr.substr(0,tmpStr.length-1);
protected function application1_creationCompleteHandler(event:FlexEvent):void
inp1.setFocus();
protected function focus_enterHandler(event:MouseEvent):void
inpText = event.currentTarget.id;
]]>
</fx:Script>
<s:states>
<s:State name="PRIMARY"/>
<s:State name="SHIFTED"/>
</s:states>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<s:TextInput id="inp1" y="36" width="151" horizontalCenter="0" click="focus_enterHandler(event)" y.PRIMARY="239" horizontalCenter.PRIMARY="42" width.PRIMARY="199" height.PRIMARY="31"/>
<s:Group id="keyboard" width="661" height="184" horizontalCenter="0" y="300" focusEnabled="false">
<s:Button x="5" y="5" label="~" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="`"/>
<s:Button x="49" y="5" label="!" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="1"/>
<s:Button x="93" y="5" label="@" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="2"/>
<s:Button x="137" y="5" label="#" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="3"/>
<s:Button x="181" y="5" label="$" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="4"/>
<s:Button x="225" y="5" label="%" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="5"/>
<s:Button x="269" y="5" label="^" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="6"/>
<s:Button x="313" y="5" label="&" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="7"/>
<s:Button x="357" y="5" label="*" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="8"/>
<s:Button x="401" y="5" label="(" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="9"/>
<s:Button x="445" y="5" label=")" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="0"/>
<s:Button x="489" y="5" label="_" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="-"/>
<s:Button x="533" y="5" label="+" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="="/>
<s:Button x="577" y="5" label="Backspace" height="43" width="80" fontSize="11" fontWeight="bold" click="backspace_clickHandler(event)"/>
<s:Button x="5" y="48" label="Tab" height="43" width="67" fontSize="12" fontWeight="bold" click="tab_clickHandler(event)"/>
<s:Button x="72" y="48" label="Q" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="q"/>
<s:Button x="116" y="48" label="W" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="w"/>
<s:Button x="160" y="48" label="E" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="e"/>
<s:Button x="204" y="48" label="R" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="r"/>
<s:Button x="248" y="48" label="T" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="t"/>
<s:Button x="292" y="48" label="Y" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="y"/>
<s:Button x="336" y="48" label="U" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="u"/>
<s:Button x="380" y="48" label="I" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="i"/>
<s:Button x="424" y="48" label="O" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="o"/>
<s:Button x="468" y="48" label="P" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="p"/>
<s:Button x="512" y="48" label="{" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="["/>
<s:Button x="556" y="48" label="}" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="]"/>
<s:Button x="600" y="48" label="|" height="43" width="57" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="\"/>
<s:Button x="5" y="91" label="CapsLock" height="43" width="80" fontSize="12" fontWeight="bold" click="caps_clickHandler(event)"/>
<s:Button x="85" y="91" label="A" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="a"/>
<s:Button x="129" y="91" label="S" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="s"/>
<s:Button x="173" y="91" label="D" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="d"/>
<s:Button x="217" y="91" label="F" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="f"/>
<s:Button x="261" y="91" label="G" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="g"/>
<s:Button x="305" y="91" label="H" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="h"/>
<s:Button x="349" y="91" label="J" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="j"/>
<s:Button x="393" y="91" label="K" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="k"/>
<s:Button x="437" y="91" label="L" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="l"/>
<s:Button x="481" y="91" label=":" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY=";"/>
<s:Button x="525" y="91" label=""" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="'"/>
<s:Button x="569" y="91" label="Enter" height="43" width="88" fontSize="24" fontWeight="bold" click="enter_clickHandler(event)"/>
<s:Button x="5" y="134" label="Shift" height="43" width="106" fontSize="24" fontWeight="bold" click="shift_clickHandler(event)"/>
<s:Button x="111" y="134" label="Z" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="z"/>
<s:Button x="155" y="134" label="X" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="x"/>
<s:Button x="199" y="134" label="C" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="c"/>
<s:Button x="243" y="134" label="V" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="v"/>
<s:Button x="287" y="134" label="B" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="b"/>
<s:Button x="331" y="134" label="N" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="n"/>
<s:Button x="375" y="134" label="M" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="m"/>
<s:Button x="419" y="134" label="<" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY=","/>
<s:Button x="463" y="134" label=">" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="."/>
<s:Button x="507" y="134" label="?" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="/"/>
<s:Button x="551" y="134" label="Shift" height="43" width="106" fontSize="24" fontWeight="bold" click="shift_clickHandler(event)"/>
</s:Group>
</s:Application>
thanks in advance,
saran r -
How to fetch year till date value for earning for current ,last and year
hi,
how to fetch year till date value for earning for current ,last and year before that from payroll result
plz reply soon,
pratyushDear Pratyush,
Pick this from CRT.
Use LDB PNPCE & Fire event GET PAYROLL &
then you can pick from CRT.
Hope this helps.
Kindly reward in case useful.
Regards & Thanks,
Darshan Mulmule -
How to Enter Text in Report Painter
Dear Sap Guru's
I am new to Report Painter i want to add some text under the lead column and then i want to choose Characteristics which i had done but i am not getting any option to simply insert some text under the Lead column in between the Rows.Example.
Lead Column Period1 Period2 Period3
Current Account
5149107 20,000 10,000 5,000
5149106 2000 3000 40000
PRofit Center Account
254136 4000 2000 1000
254137 3000 2000 5000
Please let me know how to Enter Text : Current Account and Profit Center Account in the Report.
Please send the reply as early as possible as i have to submit the report today.Thanks in advance.
Regards,
AbhishekSorry, but this is not related to SAP on Oracle.
I would try ABAP forum instead. -
How to enter text in a TLF textfield through a softKeyboard?
Hi,
How to enter text in a TLF textfield through a softKeyboard? (touchscreen keyboard)
I can set the cursor but there is no text showing up after typing!
Any ideas?It's for the web, so basically every device Flash Player runs on.
Could be a touch-enabled or physical keyboard.
Any ideas how to make TLF working across devices? -
How to eliminate # for empty date value in BEx Analyser
Hi Gurus,
Can any one please let me know how to eliminate # for empty date value in BEx Analyser.
Thanks in advance
peterHi
add the following macro to your workbook (template workbook):
Sub SAPBexonrefresh(qstring As String, resultArea As Range)
For Each c In resultArea
If LCase(c.Value) = "not assigned" Then c.Value = ""
Next
End Sub -
How to load text file data to Oracle Database table?
By using Oracle Forms, how to load text file data to Oracle Database table?
Metalink note 33247.1 explains how to use text_io as suggested by Robin to read the file into a Multi-Row block. However, that article was written for forms 4.5 and uses CREATE_RECORD in a loop. There was another article, 91513.1 describing the more elegant method of 'querying' the file into the block by transactional triggers. Unfortunately this more recent article has disappeared without trace and Oracle deny its existence. I know it existed as I have a printed copy in front of me, and very useful it is too.
-
How to enter TEXT data using rules files
Hi,
How can i enter text data using rules files?
Thanks,
AIf you are talking about planning members with a text data type then it is not possible to load the actual text string using a load rule,essbase just stores a numeric value and the text string relating to that numeric value is stored in the planning applications relational tables.
If you want to load text directly then you can load data through the planning layer, more information available at - http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/ch05s02s01.html
Cheers
John
http://john-goodwin.blogspot.com/ -
How to enter a new Date and Time each day in a Numbers Spreadsheet...
Hi... I have finally decided to move away from Excel and really give Numbers a shot... I have an application where each day I first enter the current date and time into a particular cell of a new row and then I enter some data in cells adjacent (in the same row) as that entered date-time. Then the next day I want to again enter the (new) current date and time and add more data next to that new date-time and so forth day after day... You can't use something as simple as =NOW() because then everyday, ALL of the date-times would change to the current time... Nope, now what I want... I just want to be able to EASILY and QUICKLY enter the current date-time value in one call and then have that specific value stay there forever... In Excel, this is accomplished with the keyboard shortcuts of
<cntl> followed by a semicolon (;) for the date
then enter a single space (for separation of date versus time) followed last by
<command> followed again by a semicolon...
So all together that is,
<cntl><;><sp><command><;>
and that puts something like
4/10/2010 9:49:00 AM
in a single cell...
That's what I now want to be able to do in Numbers...
How do I do that??? Do I use the menubar item "Insert Date and Time" and if so, how exactly do I get the current time to show up in the chosen cell??? With formatting??? Is there a keyboard shortcut method like the one I mentioned that works for Excel?? I've perused the manual and though I found lots on date-time, I didn't see how to do specifically what I want to do... I likely just missed it as surely it must be easy to do...
Any feedback would be much appreciated... thanks... bob...Badunit wrote:
The result of running that script is "UI Enabled = TRUE".
I have cells named by the header values.
This may be the problem.
The script is an old one which deciphered only the letter+digit cell references.
Here is a new version which works with every kind of cell reference.
--[SCRIPT insertDateTime]
Enregistrer le script en tant que Script : insertDateTime.scpt
déplacer l'application créée dans le dossier
<VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
Placez le curseur dans la cellule qui doit recevoir la date_heure
menu Scripts > Numbers > insertDateTime
La cellule pointée reçoit la date_heure.
L'aide du Finder explique:
L'Utilitaire AppleScript permet d'activer le Menu des scripts :
Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
Cochez la case "Afficher le menu des scripts dans la barre de menus".
+++++++
Save the script as a Script : insertDateTime.scpt
Move the newly created application into the folder:
<startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
Put the cursor in the cell which must receive the date_time.
menu Scripts > Numbers > insertDateTime
The pointed cell receives the current date_time.
The Finder's Help explains:
To make the Script menu appear:
Open the AppleScript utility located in Applications/AppleScript.
Select the "Show Script Menu in menu bar" checkbox.
Yvan KOENIG (VALLAURIS, France)
2009/03/01
2010/04/11 is now able to treat every kind of cell references
property theApp : "Numbers"
--=====
on run
set {dName, sName, tName, rname, rowNum1, colNum1, rowNum2, colNum2} to my getSelParams()
my doYourDuty(colNum1, rowNum1, tName, sName, dName)
end run
--=====
on doYourDuty(c, r, t, s, d) (*
c = columnIndex
r = rowIndex
t = table's name
s = sheet's name
d = document's name *)
local cdt
set cdt to my cleanThisDate(current date) (* the new date_time as a clean date_time *)
tell application "Numbers" to tell document d to tell sheet s to tell table t
set value of cell r of column c to cdt as text
end tell -- application …
end doYourDuty
--=====
on cleanThisDate(dt)
(* ugly code but once I got date_time with milliseconds so if necessary, I drop them *)
local l
set l to my decoupe(dt as text, ":")
if (count of l) > 3 then set dt to date (my recolle(items 1 thru 3 of l, ":"))
return dt
end cleanThisDate
--=====
on getSelParams()
local r_Name, t_Name, s_Name, d_Name, col_Num1, row_Num1, col_Num2, row_Num2
set {d_Name, s_Name, t_Name, r_Name} to my getSelection()
if r_Name is missing value then
if my parleAnglais() then
error "No selected cells"
else
error "Il n'y a pas de cellule sélectionnée !"
end if
end if
set two_Names to my decoupe(r_Name, ":")
set {row_Num1, col_Num1} to my decipher(item 1 of two_Names, d_Name, s_Name, t_Name)
if item 2 of two_Names = item 1 of two_Names then
set {row_Num2, col_Num2} to {row_Num1, col_Num1}
else
set {row_Num2, col_Num2} to my decipher(item 2 of two_Names, d_Name, s_Name, t_Name)
end if
return {d_Name, s_Name, t_Name, r_Name, row_Num1, col_Num1, row_Num2, col_Num2}
end getSelParams
--=====
set {rowNumber, columnNumber} to my decipher(cellRef,docName,sheetName,tableName)
apply to named row or named column !
on decipher(n, d, s, t)
tell application "Numbers" to tell document d to tell sheet s to tell table t to return {address of row of cell n, address of column of cell n}
end decipher
--=====
set { d_Name, s_Name, t_Name, r_Name} to my getSelection()
on getSelection()
local _, theRange, theTable, theSheet, theDoc, errMsg, errNum
tell application "Numbers" to tell document 1
repeat with i from 1 to the count of sheets
tell sheet i
set x to the count of tables
if x > 0 then
repeat with y from 1 to x
try
(selection range of table y) as text
on error errMsg number errNum
set {_, theRange, _, theTable, _, theSheet, _, theDoc} to my decoupe(errMsg, quote)
return {theDoc, theSheet, theTable, theRange}
end try
end repeat -- y
end if -- x>0
end tell -- sheet
end repeat -- i
end tell -- document
return {missing value, missing value, missing value, missing value}
end getSelection
--=====
on decoupe(t, d)
local l
set AppleScript's text item delimiters to d
set l to text items of t
set AppleScript's text item delimiters to ""
return l
end decoupe
--=====
on parleAnglais()
local z
try
tell application theApp to set z to localized string "Cancel"
on error
set z to "Cancel"
end try
return (z is not "Annuler")
end parleAnglais
--=====
--[/SCRIPT]
It's available on my idisk :
<http://public.me.com/koenigyvan>
Download :
For_iWork:iWork '09:for_Numbers09:insertDateTime.zip
Yvan KOENIG (VALLAURIS, France) dimanche 11 avril 2010 14:16:41 -
HTML Dataset - how to filter based on data values within columns
I have had success with using the XML dataset and filtering based on user input (see javascript example below)
<script type="text/javascript">
var ds2 = new Spry.Data.XMLDataSet("disciplinary_actions3.xml", "doh/disciplinary_actions2[type='<? echo($type) ?>'][name>='<? echo($name) ?>']");
ds2.setColumnType("date-of-sanction", "date");
</script>
The XML dataset filters the results based on the type and name values within the XML dataset columns.
I need to accomplish this type of filtering with an HTML table. All that I have been able to accomplish with the use of the in the rowselector (see example below)
<script type="text/javascript">
<!-- the setRowSelector filters by the class attribute on the row in the html table
var ds4 = new Spry.Data.HTMLDataSet("disciplinary_physicians_htmldataset.php", "physician-list");
ds4.setRowSelector("tr.<? echo($type) ?>");
ds4.loadData();
//-->
</script>
How can I filter the HTML dataset based on the data VALUES within the table columns and NOT the class or id or span or div,,,etc?
Although my advanced dataselector within Dreamweaver CS4 has a column selector... I can't under or get it to work.
Any assistance or direction is greatly appreciated.Hi Ron,
According to your description, you want to pass the Terminal number that user logon to where clause without needing to create a userid table, right?
As per my understanding, you need to add an additional table to store the user and corresponding terminal, so that you can filter the data to show the rows based on the user and corresponding terminal. Here are some blogs which describe dynamic security
on tabular model, please see:
http://blogs.msdn.com/b/himanshu1/archive/2013/03/02/implementing-dynamic-security-in-tabular-models.aspx
http://www.bidn.com/blogs/ChrisSchmidt/ssas/4332/dynamic-security-in-tabular
If this is not what you want, there is no other approach to pass the Terminal number that user logon to where clause without needing to create a userid table. Thank you for your understanding.
Regards,
Charlie Liao
TechNet Community Support -
How to create text fields & assign values form sql in ADF
Hi all,
I am new to oracle ADF,
i want know how to create text fileds and how to assign the values to those fields from plsql.
Regards
Prakashhttp://technology.amis.nl/blog/3315/creating-an-adf-application-based-on-plsql-api-part-one-reading-data-as-a-collection-of-sql-type-objects
Hope this will help.
~Krithika -
How to create Text Tables and Value Tables ?
Hi all,
How we can create the Text Table ? Step by Step
How we can create the Value Table ? Step by Step
Note : I am not asking about the creation of simple transparant table ...
Thanks In advance.
How to use Text tables ?
With Example Please..
Thanks in advance.
Regards.
RajHi Raj,
Table A is a text table of table B if the key of A comprises the key of B and an additional language key field (field of data type LANG). Table A may therefore contain explanatory text in several languages for each key entry of B.
To link the key entries with the text, text table A must be linked with table B using a foreign key. Key fields of a text table must be selected here for the type of foreign key fields
If table B is the check table of a field, the existing key entries of table B are displayed as possible input values when the input help (F4) is pressed. The explanatory text (contents of the first character-like non-key-field of text table A) is also displayed in the user's logon language for each key value in table B.
Only one text table can be created for table B! The system checks this when you attempt to activate a table with text foreign keys for B.
Regards
Aneesh. -
How to insert the Formatted date value and insert into the database
Hi All,
I am having requirement of inserting the date value in to the datbase. I'm already getting the value from file as MM-DD-YYYY. Getting exception while transforming the values through the transform activity. I'm using format fate function but it is inserting null value in to the database.
Any help from anyone would bve appreciated.
Thanks,
CHHi,
your input date format is fixed right? So, in the transform you can split each your date, which is in 'MM-DD-YYYY' format ... extract day, month, year.
After that ... just put these values in order acording to the format of 'xsd:date' data type which is '[-]CCYY-MM-DDZ'.
XPath function 'xp20:format-dateTime()' works only with 'xsd:dateTime' data type, which has format '[-]CCYY-MM-DDThh:mm:ssZ'.
So, in your case it could be:
<xsl:variable name="day" select="substring($inputDate,4,2)"/>
<xsl:variable name="month" select="substring($inputDate,1,2)"/>
<xsl:variable name="day" select="substring($inputDate,7,4)"/>
<xsl:variable name="outputDate">
<xsl:value-of select="$year"/>
<xsl:text>-</xsl:text>
<xsl:value-of select="$month"/>
<xsl:text>-</xsl:text>
<xsl:value-of select="$day"/>
</xsl:variable>
Regards,
Martin. -
Simple Question: How to search for a date value in SELECT
Probabily a simple question, but in a SELECT statement, how do you do a search for a date value in the WHERE clause?
example:
Select * From Example
Where date = 01/01/2001
I know its not as simple as that, but what change has to occur to make it do what that example implies?
Thanks In Advance.If you want to avoid the conversion part(to_date) you will need to specify the date in the format as ur nls date format.so the same query might not work if you change ur nls date format.
so it is advisable to give it in general format.
ie where date_col=to_date(01-01-2000,'dd-mm-yyyy')
Maybe you are looking for
-
Does anyone have similar experience with Mac Yosemite 10.10.3 where the pdf files cannot be saved and only appear in grey? BTW, the folders appear normally but once they are opened the files are in grey as well.
-
Automatic creation of an account for org unit
Hello Experts, System automatically creates an account for organisational unit with the role organisational unit. But when i am creating a new organization model, the org units are not created as accounts. Kindly suggest me, Thanks and Regards, Laksh
-
Every time a open iMovie, I get: Missing QuickTime Component: The QuickTime component necessary to view, edit, import, and export high-definition movies is not installed. It is included with the iMovie installer; please re-install. How do I reinstall
-
Macbook PRO EFI 2.3 firmware update broken
EFI 2.3 firmware update broke the network again. EFI 2.2 fixed what was broken in 2.0 & 2.1 but the same problem is back in 2.3. Laptop wakes up and I have to wait about a minute for things to kick-in. I am able to use utilities using system calls (p
-
Hello TechNet Experts, I am looking to create a workflow or somehow setup the Service Requests to automatically approve / not require approval. Any ideas on how to do this? So basically, I want a service request to come in just like an incident does,