Date field issue - before the previous dates only
I would like a date field where the user must enter a date that is at least 1,095 days (3 years) before today's date.
Yes, you dateToday variable does not need to have the Date2Num function, as I said, Date() returns the same value that Date2Num would be
Tags: Adobe LiveCycle
Similar Questions
-
So I'm trying to do 5 boxes/ships (3Blue and 2 Greens) appear in a random position (1-Gree, 2nd - blue, blue-3rd, 4th-green, green-5 or some other random way) I have the corner of the stage. Bring down. Make a new 5 boxes and position them on the same position the previous 5 and only get randomized (not with the 5 previous, it does at the moment). And that then they move down. so far code I have is:
import flash.events.Event;
var shipCount:Number;
var shipCount2:Number;
var shipArray:Array = new Array();
var shipArrayPosition:Array = new Array();
var count: int = 0
var positionsX:Array = ["50" "100", "150", "200", "250"]
addEventListener (Event.ENTER_FRAME, everyFrame)
function everyFrame(ev:Event):void {}
counter ++
If (counter % 70 == 0) {}
doShips()
}
positionShips()
trace (shipArray.length)
}
function doShips() {}
shipCount = 3;
shipCount2 = 2;
var distance = 10;
for (var i: int = 0; i < shipCount; i ++) {}
var s = new ship;
shipArray.push (s);
s.x = s.width/2 + (s.width* i) + gap * I
addChild (s)
shipArrayPosition.push (s);
}
for (var j: int = 0; j < shipCount2; j ++) {}
s = new Ship2.
shipArray.push (s);
}
var array: Array = new Array();
While (shipArray.length > 0) {}
var: index: uint = Math.floor (Math.random () * shipArray.length);
Array.push (shipArray [index]);
shipArray.splice (index 1);
}
shipArray = array;
shipsArray has been randomized
for (var k: int = shipArray.length - 1; k > = 0; k-) {}
shipArray [k] .x = positionsX [k]
addChild (shipArray [k])
}
}
function positionShips() {}
for (var i: int = shipArray.length - 1; i > = 0; i--) {}
shipArray [i] .moveDown (//what) code in the class of the ship and Ship2-> only: this.y += 3
}
}
and how to stay in one position. Must not move in any position x when the 5 new are added
It is even more effective, because it removes the ships that moved out of sight:
import flash.display.MovieClip; import flash.display.Sprite; import flash.events.Event; var numShips:int = 5; var shipCount:int = 3; var shipArray:Vector.
= new Vector. (); var counter:int = 0 var positionsX:Array = []; init(); function init():void { // populate positions for (var i:int = numShips - 1; i >= 0; i--) positionsX.push(50 * i); addEventListener(Event.ENTER_FRAME, everyFrame); } function everyFrame(e:Event):void { counter++ if (counter % 70 == 0) doShips(); positionShips(); trace(shipArray.length); } function doShips():void { var gap = 10; var s:MovieClip; var shipsLine:Sprite = new Sprite(); shipsLine.cacheAsBitmap = true; addChild(shipsLine); shipArray.push(shipsLine); shuffle(positionsX); for (var i:int = numShips - 1; i >= 0; i--) { s = i < shipCount ? new Ship() : new Ship2(); s.x = positionsX[i] + gap; shipsLine.addChild(s); } shipsLine.y = -shipsLine.height; } function shuffle(a:Array):void { for (var i:int = a.length - 1; i >= 0; i--) { var r:int = Math.floor(Math.random() * (i + 1)); var t:Object = a[r]; a[r] = a[i]; a[i] = t; } } function positionShips():void { for each (var shipLine:Sprite in shipArray) { shipLine.y += 3; // remove line that moved out of stage if (shipLine.y > stage.stageHeight + shipLine.height) { removeChild(shipLine); shipArray.splice(shipArray.indexOf(shipLine), 1); } } } -
Change of name certificate issued to the previous name in Active Directory
I have user in AD that change of name. But now they have a problem with email encryption because the certificate is issued with their old name. and their certificate is not in the certificate database. Why does this happen? How can I solve this?
Hello
Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.
http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer
See you soon.
-
Hi everyone :)
I have a Dell Inspiron 15R, and 2 years since I got it and due to the excessive overuse, its performance has become extremely poor. The registry is riddled with problems, and I think it's time for a reboot.
I don't really know where the drive is, but I should be able to find it.
First of all, I have a lot of shows and movies. Somewhere around 1.5 to of them. I also have 120 GB of programs. It's clearly too heavy to download everything at once, so I don't want to lose.
With the program, can I transfer them to an external hard drive and then put everyone back in the program on my HARD drive wiped files and re - run the .exe file?
Would you recommend buying an SSD and the replacement of my current HARD drive with it?
Can I use the disk to reset everything on Windows without losing my files? This will fix the registry problem?
Thank you
Rowan
Original title: I think to restart my computer. Can someone please answer a few questions that I have about it?Hi everyone :)
I have a Dell Inspiron 15R, and 2 years since I got it and due to the excessive overuse, its performance has become extremely poor. The registry is riddled with problems, and I think it's time for a reboot.
I don't really know where the drive is, but I should be able to find it.
First of all, I have a lot of shows and movies. Somewhere around 1.5 to of them. I also have 120 GB of programs. It's clearly too heavy to download everything at once, so I don't want to lose.
With the program, can I transfer them to an external hard drive and then put everyone back in the program on my HARD drive wiped files and re - run the .exe file?
You cannot actually backup installed programs and bring them back, but you can save the actual installation files (.exe, configuration files) and use them to reinstall the programs. So it's a good idea to save them.
Would you recommend buying an SSD and the replacement of my current HARD drive with it?
Certainly if you can afford, its faster, makes your programs and Windows start faster.
Can I use the disk to reset everything on Windows without losing my files? This will fix the registry problem?
You can perform a custom installation that move your old installation in the folder Windows.old, where you can retrieve your personal files. I still recommend you back up your files separately but and restore them.
http://www.notebooks.com/2009/10/07/using-Windows-easy-transfer-in-Windows-7/
Boot from the Windows 7 DVD
Click Install now
Accept the license agreement
When the option is displayed to select a type of installation, click (Custom advanced)Select the disk partition where you want to install Windows 7 click Next.
You will receive the following warning:
The partition you have selected may contain files from a previous Installation of Windows. If so, these files and folders will be moved to a folder named Windows.old. You will be able to access the information in Windows.old, but you will be able to use your previous version of Windows.
(At all costs, do NOT click on anything in Format, deletion or Partition name.) So even do a custom installation, your personal files are still kept. Click OK
The installation program will now begin installation. During installation, your computer will be restarted several times.
Once the installation is complete, you can complete the Out of Box experience as the choice of your laptop, create a username, password, your time zone. You can then proceed to download the latest updates for Windows and reinstall your applications and drivers.
You can then retrieve your personal files from the Windows.old folder and reinstall all of your applications and drivers.
Thank you
Rowan
Reinstalling Windows 7.
New computers coming often pre-installed with Windows 7 have what is called a recovery partition. This is used to reinstall an operating system in the case of a system failure. To access it, you need to start when you start your computer by pressing a function key. This can be either F1, F2, F9, F10, F11, F12 key DEL or tab. See the manual that came with your PC for instructions on how to reinstall Windows.
This is how the recovery partition is accessible to most popular brands...
For Dell, press CTRL + F11 directly after switching on the device
or
F8 when starting the unit
Select the option to repair your computer
-
CSS list formatting issue on the remote server only
Hello
This is my first website, so my apologies if it is ridiculously obvious.
As you can see I have a slideshow gallery using the js query "galleriffic". I have problems with CSS formatting of a list - on my local site, it displays very well, with no point of ball for the "thumbs" invisble and the formatting of the text for the arrows "next", "prev". Once I have upload to remote server however this formatting is ignored send me unwanted fleas and small arrows.
The site is:
www.benwatsondesign.com
Any help would be appreciated,
Thank you
Ben
I checked your site in a few browsers. For some reason, the file bwatson.css that you point to is not loaded. An older version is. He sends a 304 not modified header.
I suggest that you change the name of the stylesheet in something like benwatson1.css and change in the
of the page. It seems that the style sheet is owned in a proxy somewhere, that's why the new version is not loaded when the page is. -
The App team wants to restore the db the previous night. No function of flashback
Hi, I have a primary/secondary database, no return of activated flame.
Just got a request from the app team wants to reverse the trend of before the previous night.
How to do this?
I have a complete backup of the copy of the image on Eve dated 01 20, 2012, but the primary backup could not leave this weekend.
How to send this request?
Thank youSorry, that my wife is making me to eat!
Just as I have posted before
RMAN> startup mount; RMAN> restore database until time "to_date('18-AUG-2009 11:23:00','dd-mon-rrrr hh24:mi:ss')"; RMAN> recover database until time "to_date('18-AUG-2009 11:23:00','dd-mon-rrrr hh24:mi:ss')"; RMAN> alter database open resetlogs; Note: You should perform a full backup.
You only use your arrival dates.
Best regards
mseberg
-
Hi all
I created a form with 5 blocks (namely ENQACMHDR, ENQACMDTL, ENQACEHDR, ENQACEDTL, ENQACSPEC), where I have 8 push buttons (namely ENTER_QUERY, EXEC_QUERY, CLEAR, FIRST, NEXT, PREVIOUS, LAST, and EXIT).
This form is created just for display purposes only. So after that I ran, all blocks have been blocked against insert and update.
I have question on 2 fields 'ENQNO' and "RATNG" (both belong to the ENQACMDTL block).
When I click on "EXEC_QUERY" directly, all data for all years fills.
But the user wanted the data to be populated only this year and the previous year.
Yes, on ' Clause WHERE' of the property_palette of the 'ENQACMDTL' block , I put in the following condition:
SUBSTR (ENQACMDTL. ENQNO, 1, 4) = TO_CHAR (ADD_MONTHS (SYSDATE,-12), 'YYYY') OR SUBSTR (ENQACMDTL. ENQNO, 1, 4) = TO_CHAR (SYSDATE, 'YYYY')
PROPERTY PALETTE (ENQACMDTL block) WHERE Clause SUBSTR (ENQACMDTL. ENQNO, 1, 4) = TO_CHAR (ADD_MONTHS (SYSDATE,-12), 'YYYY') OR SUBSTR (ENQACMDTL. ENQNO, 1, 4) = TO_CHAR (SYSDATE, 'YYYY') Data only this year and the year before are now filled. Its ok with the field of "ENQNO".
The problem is when I have queries on the field "RATNG. 'RATNG' is a Text_item with number of displayed items = 5. (5 lines)
Here are the 2 columns in a Table (name = ENQACMDTL) in the database.
ENQNO RATNG 2013900054 500KC2 2013900047 800KC4 2013520018 750KC6 ...... ......... 2012900037 1000KC2 2012520109 500KC2 2012140019 750KC6 ........ .......... 2011540036 500KC2 2011100030 1000KC2 ......... ......... ...... ........... 2006100007 90KD8 2006750014 750KC6 2006900072 500KC2 The first 4 issues of "ENQNO" represents the year. There is more than a lakhs of records.
So, when I have queries on the field "RATNG."
Example: for RATNG = 500KC2;
I click on ENTER_QUERY, the field of "RATNG", I put in the 500KC2 of the value and click on EXEC_QUERY; Details regarding the 500KC2 is displayed as well as all the other junk RATNG as 750KC6, 1000KC2 (which belongs to the ENQNO of the current year and previous year) also gets displayed.
I want details of only RATNG (500KC2) to display, but only for the current year and the previous year, it is 2013900054, 2012520109 (ENQNO).
Other than 500KC2 RATNG, no other RATNG must be displayed.
500KC2 = RATNG is also present for ENQNO = 2011540036, 2006900072. But I don't want them to view.
I want only the data or details of the current year and the previous year to be filled or displayed for the given RATNG.
Can you help me or tell me what I do for this?
Hope I'm clear with my question!
If my question is not clear, let me know please.
Thank you.
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
Oracle forms 6i.
1. check null values in the enqacmdtl.enqno, if so treat them properly.
2. check the result of select to_char (add_months (sysdate,-12), 'YYYY') prev_year curr_year of double to_char(sysdate,'YYYY')
3. change the place where clause "year" in the value of numAriques.
where to_number (substr (enqacmdtl.enqno, 1, 4)) > = to_number (to_char (add_months (sysdate,-12), 'YYYY'))
Then let me know the result.
-
Copy the files to a flash to another drive "after a certain date only.
It is possible to copy all the files to a flash drive to another flash drive "after a certain date only' uses the function of 'Windows Explorer '? In this way I would like to avoid having to delete all target flash player before updating for the latest directories and files.
Hello
This can be done using Windows Explorer, you will need to create a program that runs the task. I suggest you to ask your question in the MSDN forums for assistance on this issue.
-
Difficulty accessing data by using the function of Ago - the end of the previous month
Hey,.
Recently, I met a problem that I can't fix on my own.
I need to compare my portfolio to the current date / specified with the portfolio for intelligence and for the end of the previous month (the last day of the previous month).
It looks like this :
My fact table consists of the list of contracts of loan that is updated daily. The data for the new day are added to the table, which actually resemble a large sandwich of various portfolios.
To recover the data for the current/specified date and intelligence is not a problem. Current date - the date is read (can 10.08.2014), the day before - I use the Ago function (e.g., 09.08.2014).
The real problem is getting the data for the last day of the month previous (e.g. 31.07.2014), since I can't put a specific to the function of Ago offset (10 days in our example), as the number of days from the end of the previous month is constantly - changing is a daily report.
The best solution would be setting the offset function there is a dynamic value, which would change according to the user selects the date of the report. Can be based on the number of days in the month. BI strictly prohibits using anything that is not an integer in the offset value, so this isn't an option.
I tried a work around using formulas in columns, like: FILTER ('facts of agreements'. "" Outstanding "USING ("Posting Date". "" Id of the day ' = TIMESTAMPADD (SQL_TSI_DAY, TIMESTAMPADD (1), (SQL_TSI_DAY, 'Date of Report'.) "Number of the day in the month" *-(1) + 1, DATE ' @{report_date}'))). "
It did not work, since the data I receive are dated the last day of the previous month and date, which is applied to get the data for the current date filter / specified, it cuts.
Tried to create another time the hierarchy, with the ends of period (week, month, quarter, year) and use it as a level at the Ago. He does work in part, offset the end of 1 month, but I can't bind the data, I get to the date of the report, as the Ago function returns random dates.
I tried to search if people have had the same problems and it seems I'm the only one. I'm really desperate at this point, not even sure it's possible to get the result I need everything.
So, please advise!
Aurore
Finally got sorted! Hoorey!
Here's how it's done:
I created a presentation variable 'report_date' for the user to choose the date of the desired report. That this formula has added to the column:
FILTER ('facts of agreements'. "" Outstanding "USING ("facts of agreements". (("" Days late max "> 30))-there is (FILTER ('facts of agreements'. "" Outstanding "USING ("facts of agreements". ((("" Days late max "> 30)), TIMESTAMPDIFF (SQL_TSI_DAY, TIMESTAMPADD (SQL_TSI_DAY, DAYOFMONTH (DATE ' @{report_date}') *-1, DATE ' @{report_date}" "), DATE ' @{report_date}'))
Basically, this formula is used to calculate the difference between the current amount of the portfolio and the amount of portfolio for the last day of the last month (or at the end of last month), where only loans with number of days late over 30 are included.
In the service there, I used a TIMESTAMPDIFF as a compensation formula to calculate the difference in days between the date of the report and the end of last month. Now no matter what date the user chooses it will give the correct difference in days.
Really easy, but it took me a little time to get there.
Hope this helps someone
-
Refresh of Page partial update of form before the data control returns the new value
Hello
I have a set of paintings of master detail based on a single data source (Session Bean encapsulating a web service call). The high-level table (t1) shows data of opportunity, as the low level (t2) poster contacts for a special occasion. When the opportunity is selected in t1, the contacts associated with this opportunity appear in t2. These tables of work as you wish.
I have a read only form (form of the Panel layout) based on a different data control (supported by a Session Bean that calls a LinkedIn API and a table of database using EJB3 entities). LinkedIn Session Bean method takes a parameter which I get from the current row in t2. (#{bindings.relatedContact.currentRow.dataProvider.id}) I put the PartialTriggers as 't2' on the form.
When the page is loaded for the first time, the first line (line A) from table t2 is selected and the display shows the data associated with this line. If I select another line (line B), the Session Bean is called with the value of the id of the newly selected row, but the display will show the associated data from line A. Thereafter, whenever I select a row in t2, bean is called with the new value, but the form displays the data from the selected line previously.
I guess what happens is that the form is refreshed (using stale data in the data control), and then the call to the session bean is made. I checked using thread and print statements. Sleep() in the bean.
Is this a correct behavior and how can I make sure that the call to the bean occurs before the form is updated?
I use JDeveloper version 11.1.2.2.0
Thank you
MichaelHello
as answered on StackOverflow, the trick is to set the refresh option on the iterator (s) to the second access WS (table 2) of PageDef on ifNeeded. The default setting is delayed, which in your case is not optimal because refresh occurs during rendering response, which is too late for the access of WS. Try "ifNeeded.
Frank
-
PCM - data import and fields defined by the user - model import or the XML API?
Hello
I am currently partially by an implementation of the PCM with my business and have created a few user-defined fields in the application companies. I have data from a form on the internet into a CSV file that I want then to eye-ball before loading of PCM.
I created a copy of the "export contracts report template ' to include these fields defined by the user, but when I try to re - import the data, the user-defined fields are not populated.
No one knows if the user-defined fields can be updated in PCM, and if so does to do through the functionality of the XML API?
Kind regards.
Published by: 914327 on February 14, 2012 03:39The simple answer is that the built-in import utility is designed to import a preset list of fields only and will not import your custom fields even if they are added in the import file, and you will need to use the API to import these fields.
However, there are unsupported methods to import this data directly to the database, or to add custom fields as options available for import. I can tell you more about these methods on the forum offline if you are interested.
-
tracing of dynamic data but the diagrams showing the previous acquired data too
Hi, I'm developing a curve of voltage signal at the same time as it is acquired by the computer of the amplifier to locking SR830. I used a XY trace and placed inside the loop, where the data are acquired.
Please find the attached VI.
Cory K wrote:
Altenbach says:
The express VI 'built the xy graph' has an entry "reset?" Wire a real in order to reset the internal data. In your particular case, do a '= 0' on the final iteration of the Interior for the loop and thread it reset entry.
Now I'm confused. He does not want to keep the previous data or not?
He made it seem like it's getting only 1 point in the chart, but he wants to keep all the data in the chartSorry, my post was incomplete. You must double-click the express VI 'build xy graph' and uncheck'erase data on each call. Easy enough?
Whenever you want to start over, thread a real for the reset entry to clear the history.
-
rid of virus check system but cannot restore the computer to the previous date
You never said how you got rid of the "System Check" malware. As far as we know, he is still there. Follow these instructions (if you have not already done so):
Also, as Jose pointed out, there are programs that are designed to interfere with the system restore (Norton is one of the most common). But there are really two questions. First of all, we will treat your malware problem. We can always revisit SR at a later date.Finally, even once as Jose pointed out, you NEVER run the system restore after the removal of the malware! Which could only bring him back! That you have to turn it off and then put it again, which will REMOVE all previous restore points. You really all gone! -
It is possible to compare the contact fields based on the value of data updated?
Hi all -
I would like to run a filter and compare my contact fields if the value in a field has been updated or changed.
for example if the data in the "first name" value changes to be empty to have a value, which would respect the requirement. Also if "phone number" 123-456-7890 to 999-000-0000 that would also meet the requirement.
Did anyone done this before? Any ideas of how to implement?
Any contribution is appreciated. Thank you!
If that's what you're talking about, there is no trace of audit in Eloqua.
It will be great if Oracle can verify the critical fields.
The solution is to create to the top of the field in another area, so when it changes, you can compare the values.
Good luck
-
For the previous fiscal quarter date settings?
Hello people,
I have this requirement to choose the dates for the previous quarter. a fiscal quarter is usually January 2011 - March 2011. But in my case, the exercise should be December 2010 to February 2011 and if I check in June 2011 it must return to Mar 2011 until May 2011 and so on. So, how can I optimize to be able to select these dates i.e. 01/12/2010 until 28/02/2011 in where clause for the current date?
create table test_A (id int, col varchar(50),change_date date); insert into test_A values(1, 'A',to_date('20101201 000000', 'YYYYMMDD HH24MISS')); insert into test_A values(2, 'A1',to_date('20110122 000000', 'YYYYMMDD HH24MISS')); insert into test_A values(3, 'A1',to_date('20110202 000000', 'YYYYMMDD HH24MISS')); insert into test_A values(5, 'A1',to_date('20110306 000000', 'YYYYMMDD HH24MISS')); insert into test_A values(6, 'A1',to_date('20110305 000000', 'YYYYMMDD HH24MISS')); insert into test_A values(7, 'A1',to_date('20110307 000000', 'YYYYMMDD HH24MISS')); select * from test_A 1 1 A 12/1/2010 2 2 A1 1/22/2011 3 3 A1 2/2/2011 4 5 A1 3/6/2011 5 6 A1 3/5/2011 6 7 A1 3/7/2011 I only want to see the following 1 1 A 12/1/2010 2 2 A1 1/22/2011 3 3 A1 2/2/2011
select * from test_A where change_date >= add_months(trunc(sysdate,'Q'),-1) and change_date < add_months(trunc(sysdate,'Q'),2) / ID COL CHANGE_DATE ---------- -------------------------------------------------- --------------- 1 A 20101201 000000 2 A1 20110122 000000 3 A1 20110202 000000 3 rows selected. SQL>
SY.
Maybe you are looking for
-
Firefox does not close properly
Hello A new problem with Firefox occurs today. After turning on my machine, I can open firefox. When I close it, it does not close properly and leaves a firefox.exe running process. I so can not re - open firefox without going into the Task Manager a
-
The release of Win 7 in October, a clean install will be necessary, who will rub Vista. It will be possible, if you wish, to return to Vista, using the DVD (s) recovery or the recovery partition? It will be necessary to repeat the recovery DVD creati
-
Pavilion Dv4 - 4032nr PN LW194UA: install more memory
Pavilion Dv4-4032nr PN LW194UA #ABA my laptop has 4 DDR3(1 DIMM) GB of installed memory. Should I install the same part to add more ram.
-
Transfer music to the MacBook Pro for iPad
Is there a way to transfer music that I copied from the CD to my MacBook Pro to my iPad?
-
My Go Flex can't access my photos do - what should I do to correct it? Thank you
Memeo GB flex can't access my photos, how how to fix this problem?