Key F4 to retry the last function / instruction similarly in MS-Office
Key F4 to retry the last function / instruction similarly in MS-Office ?
Your question isn't very clear on what you are trying to achieve.
I'm assuming that you're talking about capturing a user pressing the F4 button in your LabVIEW application to retry the last action/command. I think this would be possible using an event structure to detect the F4 key being pressed and using this to prompt your application to do that action/command again.
The event structure can be set up as follows:
How you actually implement this will depend on the architecture of your application - you'll need to remember the last action that was performed (perhaps on a shift register).
If you're talking about in the LabVIEW development environment itself - I don't think this is possible. You could suggest it on the LabVIEW ideas exchange though!
Certified LabVIEW Architect, Certified TestStand Developer
NI Days (and A&DF): 2010, 2011, 2013, 2014
NI Week: 2012, 2014
Knowledgeable in all things Giant Tetris and WebSockets
Similar Messages
-
I can edit on Premiere Pro 6 files, but after a dozen keystrokes, the space bar and cursor keys stop working while the save function, render workspace function, export file are still operational. How can I fix it so I may complete my assignment?
Besides DaVinci Resolve, Adobe Creative Suite 6 is the only software on the machine. I am using Windows 7 Professional 64-bit Operating System on AMD FX 6100 six-Core Processor at 3.31gHz and 32 GB RAM memory. There are two SLI-bridged GTX680 NVidia cards.
The software was very stable for the last six months, working with 720P proxy files from 2.5K masters (Blackmagic Design Camera). I am working on a feature-length project that exceeds 1000 edits. I have broken the file into 2 one hour segments.
I have deactivated the software before reinstalling the entire OS from scratch. PP6 was very stable for 48 hours. Then the freezing space bar returns. After a dozen strokes into the project, same problem. I have made cache files store next to originals, I have deleted preview files if they were corrupted and causing instability. Am I missing something?
I have Microsoft Security Essentials for virus protection. I double checked the memory for damage/defect. Nothing says that the motherboard or other components are damaged.
I am in film competition overseas and need to have deliverables in less than a month's time. I lost the last two weeks troubleshooting and this crisis came at an inopportune moment of the project.
Any assistance would be greatly appreciated.Still getting software freezes but found a way to mitigate for the mean time.
Upon launching Adobe Premiere Pro, hit CTRL-ALT-DEL to launch TaskManager as well.
You will want to highlight Adobe QT32 Server.exe
Right click and select "End Process Tree"
You will get considerable stability in the program, long enough to get timing of cuts done. Be sure to save often.
If the program freezes, do not hit Save. You definitely want to avoid saving the corruption into your TimeLine
CTRL-ALT-DEL to relaunch the TaskManager and highlight Adobe Premiere Pro.exe
Right-click to "End Process"
No need to reboot the whole system; just launch Premiere Pro again and continue with the session. Note that your work reverted to Last Save.
Hope this helps until the bug is fixed. -
I have been able to copy multiple photos on my Mac Book Pro by selecting the first picture and then holding the shift key while I select the last picture. This highlights all the pictures and then I can use the copy command. Recently that ability to select multiple photos (or files) has stopped working. I can only guess that I hit a combination of buttons that caused this feature to stop working. Any ideas on how to get this working again.
Thanks - MikeYour Template code is incomplete / corrupted.
That's why you can't edit it.
Try opening your .dwt file in a plain text editor like NotePad. Remove the editable regions from code. Save. Open in DW.
You will need to SaveAs Template (same name as the one used by your child pages). Add editable regions to match the ones in your child pages. Save.
Nancy O. -
How to find out which was the last Function Fired in a given schema ..?
Hi All ,
Suppose there is a function called track_account (Accnt_id, bank_name ...)
I have a requirement wherein I need to find out when was the last date when this function was called , by which user and what was the parameter list that was passed .For example i this case - what accountid and bank_name combinations were passed .
I know the information is stored in one of the V$ tables but am not able to locate the exact table and column that would give me this information .
Please suggest .
Edited by: user3481493 on Mar 8, 2010 10:58 PMamol_dev wrote:
Thank you for your reply Brynjar.
However, I was trying to figure out a way to do this without having to change the calling command line, because due to legacy reasons, it is not possible to change the command line calling the parent applications of this common code.You cannot change the command line, but you can change the applications?
In main() do this:
System.setProperty("whoami",(new Throwable().getStackTrace()[0].getClassName()));Elsewhere:
String whoami = System.getProperty("whoami"); -
Is it possible to make a shortcut key to would do the "paste" function?
The hard part is that I want to paste in another program, like if I open a notepad, I can just click a botton in a java program, a string would have been saved in the clipboard, and then just press a shortcut key would paste the string on the notepad.
I am making this for a senior people group so they would not need to right click and then paste, or use "ctrl+v" to do so, I have done the click a botton and then save in a string part, but still haven't figured out is it even possible to have a shortcut key then just paste on another program like notepad.
Thanks for your help!It is hard to senior people to press that "ctrl+v", is it possible to somehow use another key to have the "paste" function? Basically transfer the "ctrl+v" keystrokes to another keystroke...
-
Control keys stop working after the last tigervnc upgrade
I've upgrade to the last tigervnc package (tigervnc-1.3.0-1-x86_64.pkg.tar.xz) and control keys like CTRL+C, CTRL+V stop working.
Is someone facing the same problem?Yes, I have the same problem. It seems to be the viewer as I can connect to the server with
a different vncviewer (tightvnc) and all keyboard control keys work. I ran xev and pressing
CTRL-T and it shows:
KeyPress event, serial 34, synthetic NO, window 0x2c00001,
root 0x13d, subw 0x0, time 272693323, (-452,-13), root:(362,803),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 37, synthetic NO, window 0x2c00001,
root 0x13d, subw 0x0, time 272693402, (-452,-13), root:(362,803),
state 0x4, keycode 255 (keysym 0x1000014, (no name)), same_screen YES,
XLookupString gives 1 bytes: (14) ""
XmbLookupString gives 1 bytes: (14) ""
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x2c00001,
root 0x13d, subw 0x0, time 272693530, (-452,-13), root:(362,803),
state 0x4, keycode 255 (keysym 0x1000014, (no name)), same_screen YES,
XLookupString gives 1 bytes: (14) ""
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x2c00001,
root 0x13d, subw 0x0, time 272694875, (-452,-13), root:(362,803),
state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
The
(keysym 0x1000014, (no name))
shows up on a normal xserver as
(keysym 0x74, t)
I'm not sure how to fix it though. -
Adding keys to EFS files - "The revocation function unable to check revocation"
I am having an issue on some, not all, computers while attempting to add user keys to encrypted files using the GUI tools (File Properties-->Advanced-->Details). Encrypting the file itself works fine. When I attempt to add users to an encrypted
file, I am getting the error:
"The revocation function was unable to check revocation because the revocation server was offline."
However, I am not having any issues from those same computers when I add users to the encryption using the command line tool cipher.exe (/ADDUSER /USER options).
The issue is not occurring with a particular Windows version. The working and non-working users/computers are on the same network, with no restrictions to the revocation locations (LDAP and HTTP). From one of the non-functioning computers, I verified
that I can access the CRL using the HTTP CDP. I do not know a way to test/verify access to the LDAP CDP. I understand that the action of adding users to an encrypted document performs a CRL check. I am at a lost as to why it is failing when I attempt
to do this through the GUI from only certain computers. This has just started to happen. Any ideas are appreciate. If anyone even knows exactly how the encryption process checks CRL or if there is a log I can look at, that would be of great
help.The certutil command has been helpful, but I have no idea what the problem is. So I run certutil against a user certificate that I want to add to an encrypted file and here is what I get. It is showing that the AIA revocation check failed. I have no idea
why that would be. I ran a packet capture as I ran this command and can see that it appears to connect to the web server hosting the CRL of the AIA. To give you some background, I have an offline root certificate authority, with its certificate and CRL published
on our corporate internet website. Then I have an internal online Enterprise subordinate CA, signed by the root CA, that is issuing our user certificates. The subordinate's AIA and CDP for its root CA are on that corporate internet web site. the
CDP and AIA for the user certificates are stored on the internal subordinate CA web server as well as Active Directory. Checks on those CRL locations looks to be completely fine. It appears to be failing on just the subordinate CA's CDP and AIA. However, near
the bottom of the certutil output, you can see it does a check on those CDP and AIA locations, and it appears to succeed just fine. Again, the packet capture I ran looks to indicate everything is fine as well. I can see HTTP 200 responses with what appears
to include the CRL contents.
I attempted to strip all identifying information out of this, so excuse me if something looks odd.
C:\>certutil -verify -urlfetch jdoe.cer
Issuer:
CN=My Company Subordinate CA
DC=company
DC=com
Subject:
CN=Doe, John
OU=Users
DC=company
DC=com
Cert Serial Number: 674dfc4d000100000494
dwFlags = CA_VERIFY_FLAGS_CONSOLE_TRACE (0x20000000)
dwFlags = CA_VERIFY_FLAGS_DUMP_CHAIN (0x40000000)
ChainFlags = CERT_CHAIN_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT (0x40000000)
HCCE_LOCAL_MACHINE
CERT_CHAIN_POLICY_BASE
-------- CERT_CHAIN_CONTEXT --------
ChainContext.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
ChainContext.dwErrorStatus = CERT_TRUST_REVOCATION_STATUS_UNKNOWN (0x40)
ChainContext.dwErrorStatus = CERT_TRUST_IS_OFFLINE_REVOCATION (0x1000000)
ChainContext.dwRevocationFreshnessTime: 79 Days, 24 Minutes, 47 Seconds
SimpleChain.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
SimpleChain.dwErrorStatus = CERT_TRUST_REVOCATION_STATUS_UNKNOWN (0x40)
SimpleChain.dwErrorStatus = CERT_TRUST_IS_OFFLINE_REVOCATION (0x1000000)
SimpleChain.dwRevocationFreshnessTime: 79 Days, 24 Minutes, 47 Seconds
CertContext[0][0]: dwInfoStatus=102 dwErrorStatus=0
Issuer: CN=My Company Subordinate CA, DC=company, DC=com
NotBefore: 3/12/2014 1:48 PM
NotAfter: 1/4/2016 3:25 PM
Subject: CN="Doe, John", OU=Users, DC=company, DC=com
Serial: 674dfc4d000100000494
SubjectAltName: Other Name:Principal [email protected]
Template: EFS v2
3a ed ec e1 6f bc 25 8c 94 6c de 17 ef e3 1b 5b a3 c3 55 81
Element.dwInfoStatus = CERT_TRUST_HAS_KEY_MATCH_ISSUER (0x2)
Element.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
---------------- Certificate AIA ----------------
Revocation Check Failed "Certificate (0)" Time: 0
[0.0] ldap:///CN=My%20Company%20Subordinate%20CA,CN=AIA,CN=Public%20Key%20Services,CN
=Services,CN=Configuration,DC=company,DC=com?cACertificate?base?objectClass=certificationAuthority
Wrong Issuer "Certificate (1)" Time: 0
[0.1] ldap:///CN=My%20Company%20Subordinate%20CA,CN=AIA,CN=Public%20Key%20Services,CN
=Services,CN=Configuration,DC=company,DC=com?cACertificate?base?objectClass=certificationAuthority
Revocation Check Failed "Certificate (0)" Time: 0
[1.0] http://CAServer/CertEnroll/CAServer.company.com_My%20Company%20Subordinate%20CA(1).crt
---------------- Certificate CDP ----------------
Verified "Base CRL (0ad9)" Time: 0
[0.0] http://CAServer/CertEnroll/CAServer.company.com_My%20Company%20Subordinate%20CA(1).crl
Verified "Delta CRL (0ad9)" Time: 0
[0.0.0] ldap:///CN=My%20Company%20Subordinate%20CA(1),CN=CAServer,CN=CDP,CN=Public%20K
ey%20Services,CN=Services,CN=Configuration,DC=company,DC=com?deltaRevocationList?base?objectClass=cRLDistr
ibutionPoint
Verified "Delta CRL (0ad9)" Time: 0
[0.0.1] http://CAServer/CertEnroll/My%20Company%20Subordinate%20CA(1)+.crl
Verified "Base CRL (0ad9)" Time: 0
[1.0] ldap:///CN=My%20Company%20Subordinate%20CA(1),CN=CAServer,CN=CDP,CN=Public%20Key
%20Services,CN=Services,CN=Configuration,DC=company,DC=com?certificateRevocationList?base?objectClass=cRLD
istributionPoint
Verified "Delta CRL (0ad9)" Time: 0
[1.0.0] ldap:///CN=My%20Company%20Subordinate%20CA(1),CN=CAServer,CN=CDP,CN=Public%20K
ey%20Services,CN=Services,CN=Configuration,DC=company,DC=com?deltaRevocationList?base?objectClass=cRLDistr
ibutionPoint
Verified "Delta CRL (0ad9)" Time: 0
[1.0.1] http://CAServer/CertEnroll/My%20Company%20Subordinate%20CA(1)+.crl
---------------- Base CRL CDP ----------------
OK "Delta CRL (0add)" Time: 0
[0.0] ldap:///CN=My%20Company%20Subordinate%20CA(1),CN=CAServer,CN=CDP,CN=Public%20Key
%20Services,CN=Services,CN=Configuration,DC=company,DC=com?deltaRevocationList?base?objectClass=cRLDistrib
utionPoint
OK "Delta CRL (0add)" Time: 0
[1.0] http://CAServer/CertEnroll/My%20Company%20Subordinate%20CA(1)+.crl
---------------- Certificate OCSP ----------------
No URLs "None" Time: 0
CRL 0ad9:
Issuer: CN=My Company Subordinate CA, DC=company, DC=com
99 d2 59 16 2c 8c 60 92 8d b6 56 41 a0 59 2c 12 1d 3f 31 07
Delta CRL 0add:
Issuer: CN=My Company Subordinate CA, DC=company, DC=com
95 47 eb 15 2b 38 9b 22 ad 4c 8b a2 41 82 df 64 65 dc a0 de
Application[0] = 1.3.6.1.4.1.311.10.3.4 Encrypting File System
CertContext[0][1]: dwInfoStatus=102 dwErrorStatus=1000040
Issuer: CN=My Company Root CA, DC=?????, DC=com
NotBefore: 1/4/2011 3:15 PM
NotAfter: 1/4/2016 3:25 PM
Subject: CN=My Company Subordinate CA, DC=company, DC=com
Serial: 46a8dd8f000000000003
Template: SubCA
3a 1f 61 ba 6d c7 6e cd d3 1e c0 46 8e 88 77 32 b7 68 13 34
Element.dwInfoStatus = CERT_TRUST_HAS_KEY_MATCH_ISSUER (0x2)
Element.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
Element.dwErrorStatus = CERT_TRUST_REVOCATION_STATUS_UNKNOWN (0x40)
Element.dwErrorStatus = CERT_TRUST_IS_OFFLINE_REVOCATION (0x1000000)
---------------- Certificate AIA ----------------
Verified "Certificate (0)" Time: 0
[0.0] http://www.?????.com/cert/root.crt
---------------- Certificate CDP ----------------
Expired "Base CRL (0104)" Time: 0
[0.0] http://www.?????.com/cert/root.crl
---------------- Base CRL CDP ----------------
No URLs "None" Time: 0
---------------- Certificate OCSP ----------------
No URLs "None" Time: 0
CRL 0104:
Issuer: CN=My Company Root CA, DC=?????, DC=com
cf 4f 8c 73 00 ac 79 92 e6 35 40 c3 bb 0a be 85 18 e8 95 6e
CertContext[0][2]: dwInfoStatus=10c dwErrorStatus=0
Issuer: CN=My Company Root CA, DC=?????, DC=com
NotBefore: 1/18/2007 1:48 PM
NotAfter: 1/18/2022 1:49 PM
Subject: CN=My Company Root CA, DC=?????, DC=com
Serial: 10e926b3155629934dd5de4dba49eb85
86 d1 d6 6f 46 41 1a 72 3e ac 23 24 7c e8 77 77 f8 89 6b 96
Element.dwInfoStatus = CERT_TRUST_HAS_NAME_MATCH_ISSUER (0x4)
Element.dwInfoStatus = CERT_TRUST_IS_SELF_SIGNED (0x8)
Element.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
---------------- Certificate AIA ----------------
No URLs "None" Time: 0
---------------- Certificate CDP ----------------
No URLs "None" Time: 0
---------------- Certificate OCSP ----------------
No URLs "None" Time: 0
Exclude leaf cert:
35 8d 46 36 ad 74 0a f0 28 6e 20 cf 15 8d 49 6c ed a3 31 8f
Full chain:
9b 5d 1d d2 43 a5 e0 97 2a c4 60 be 39 3c 5c 44 c1 d0 fd fb
Issuer: CN=My Company Subordinate CA, DC=company, DC=com
NotBefore: 3/12/2014 1:48 PM
NotAfter: 1/4/2016 3:25 PM
Subject: CN="Doe, John", OU=Users, DC=company, DC=com
Serial: 674dfc4d000100000494
SubjectAltName: Other Name:Principal [email protected]
Template: EFS v2
3a ed ec e1 6f bc 25 8c 94 6c de 17 ef e3 1b 5b a3 c3 55 81
The revocation function was unable to check revocation because the revocation server was offline. 0x80092013 (
-2146885613)
Revocation check skipped -- server offline
Leaf certificate revocation check passed
CertUtil: -verify command completed successfully. -
Marker Keys Expression, how about the last key
Hi, if you have dabbled in expressions you probably have already found how nifty the expression
thisLayer.marker.nearestKey(time); is. I first used it to put XMP metadata on the screen.
I also tend to use it for changing text instead of the source property since it's easy to see the text,
where it's at and so forth.
I've read the manual, but haven't found anything like:
thisLayer.marker.lastKey(time);
What I would like is for whatever property I am using from the last keyframe to remain the value until it reaches
the next keyframe.
Anyone know how that might be done?Mylenium, You and your site have been more than helpful to me. It's people like you that make any community worth it's while.
Adobe should put a larger than life statue of you in the center of San Jose, or at least give you like free vacations to hawaii or something :-)
If you are ever in my neck of the woods I'm buying
I have a project I am supposed to turn over to other studios so they can use it as a template. Rather than have them dig around through layers to change titles and stuff, I am putting all the keyframes into a configuration composition and having all the other layers take their cues from it. Never tried to do anything like that before but it's actually looking like a nice solution and an easy way to set up timing and text through all the compositions just by opening one and editing. I think the extra work and the extra expressions will pay off as the project gets used over and over.
Again Thanks, can't wait to get into the studio monday and try this out. -
Is there a short cut key/command to repeat the last action?
In excel Alt F4 (I think) repeats your last action. I can't find a similar command or short cut key in numbers. Can anyone help me?
Kappy wrote:
Isn't it supposed to be a clone of Excel within limits? I don't use iWork.
Who said/wrote that ?
Numbers is not a clone of Excel. I doesn't share the Microsoft philosophy which include every asked feature.
Apple engineers carefully select what may be added and what must remain as dreams/wishes.
Basically, they apply the good old rule :
++-+-+-+-+-+-+-+-++
Apple Human Interface Guidelines:
Apply the 80 Percent Solution
During the design process, if you discover problems with your product design, you might consider applying the 80 percent solution‚ that is, designing your software to meet the needs of at least 80 percent of your users. This type of design typically favors simpler, more elegant approaches to problems.
If you try to design for the 20 percent of your target audience who are power users, your design may not be usable by the other 80 percent of users. Even though that smaller group of power users is likely to have good ideas for features, the majority of your user base may not think in the same way. Involving a broad range of users in your design process can help you find the 80 percent solution.
+-+-+-+-+-+-+-+-+
At this time they offer around 250 functions when Excel have about 500.
Tables are limited to 256 * 65635 cells
Numbers is slooooooooooooooooooooooooowwwwwwwwwwwwwww
Excel offer some database features, Numbers doesn't
In Excel, macros are back, they never arrived in Numbers.
Yvan KOENIG (VALLAURIS, France) samedi 30 avril 2011 22:58:32
Please :
Search for questions similar to your own before submitting them to the community -
Does apple have an app for the iMac which is similar to Microsoft office?
does apple have an app which is equivelant to microsoft office?
http://www.apple.com/iwork/
However, I don't think the current version runs on any of the pre-2006 iMacs this forum covers. If you iMac is pre-2006, we can give you some options if you tell us more about your computer, mainly processor type and Mac OSX version from "About this Mac" in your Apple menu.
Microsoft makes Office for Mac but, again, what you can run depends on what iMac variant you have and its OS version. -
How can I fast edit the last sent message in Skype...
Before the update I was able to use the "up" key to fast edit the last sent message. Now I can't and I need to right click messages and choose the "edit" option, which often makes me click the "remove" option.
In Skype open: Tools -> Options -> Advanced -> Accessibility.
Make sure that "Enable accessible mode" option is not selected. -
Ms Access Last function equivalent function in T-SQL
Hi,
I am new to SQL Server. I have table with information below. Some provider is listed twice in the table
Provider Code
Outlet Code
Provider
Province
Phone
First Visit Date
Last Visit Date
Supervision Score (%)
Score of Critical Steps
IUD Percentage of Critical Steps
80% Country Quality Service
Critical Step
Meet Quality Guideline
5188
01-00-0068
HENG Vuoch Eng
Banteay Meanchey
(012) 958-919
4/2/2014
4/2/2014
91.66
2.43
81.37
No
No
No
5188
01-00-0068
HENG Vuoch Eng
Banteay Meanchey
(012) 958-919
28-05-2014
28-05-2014
87.96
2.43
81.37
Yes
Yes
Yes
5410
01-00-0110
Chhuoy Pannada
Banteay Meanchey
(016) 865-985
18-03-2014
18-03-2014
85.18
2.52
84.31
Yes
Yes
Yes
5190
01-00-0123
Nhek Puthary
Banteay Meanchey
(012) 217-175
8/1/2014
8/1/2014
84.25
2.29
76.47
No
Yes
No
5190
01-00-0123
Nhek Puthary
Banteay Meanchey
(012) 217-175
22-05-2014
22-05-2014
83.33
2.29
76.47
No
Yes
No
5413
01-00-0184
Kou Mom
Banteay Meanchey
(097) 787-8280
11/2/2014
11/2/2014
89.81
2.64
90.19
n/a
Yes
n/a
5413
01-00-0184
Kou Mom
Banteay Meanchey
(097) 787-8280
27-02-2014
27-02-2014
98
2.64
90.19
Yes
Yes
Yes
5634
01-00-0264
Yoeub Chakriya
Banteay Meanchey
(012) 938-538
22-05-2014
22-05-2014
88.88
2.64
88
Yes
No
No
5542
01-00-0601
Ngann Ratha
Banteay Meanchey
(012) 201-406
20-05-2014
20-05-2014
87.81
2.23
74.33
No
Yes
No
5532
01-00-0913
Em Mouth
Banteay Meanchey
(012) 447-674
6/3/2014
6/3/2014
92.59
2.79
93.13
Yes
Yes
Yes
5532
01-00-0913
Em Mouth
Banteay Meanchey
(012) 447-674
6/6/2014
6/6/2014
92.59
2.79
93.13
Yes
Yes
Yes
5554
01-00-0920
Boa Tay
Banteay Meanchey
(012) 985-539
18-03-2014
18-03-2014
84.4
2.26
75.49
No
Yes
No
5554
01-00-0920
Boa Tay
Banteay Meanchey
(012) 985-539
17-06-2014
17-06-2014
85.18
2.26
75.49
No
Yes
No
5535
01-00-0922
Say Sav Dy
Banteay Meanchey
(012) 764-632
4/3/2014
4/3/2014
79.62
2.47
86.28
No
Yes
No
5535
01-00-0922
Say Sav Dy
Banteay Meanchey
(012) 764-632
19-06-2014
19-06-2014
79.62
2.47
86.28
Yes
No
No
5414
01-00-0963
Thorn Sao Rouey
Banteay Meanchey
(012) 673-017
9/4/2014
9/4/2014
82.4
2.58
86
Yes
Yes
Yes
In Ms Access, I can reproduce list of unique provider using the last function (see table below)
How can I do it in SQL Server?
Provider Code
Outlet Code
Provider
Province
Phone
FirstOfFirst Visit Date
LastOfLast Visit Date
LastOfSupervision Score (%)
LastOfScore of Critical Steps
LastOfIUD Percentage of Critical Steps
LastOf80% Country Quality Service
LastOfCritical Step
LastOfMeet Quality Guideline
5137
06-00-0417
Kang Sophalna
Kampong Thom
(092) 954-367
22-04-2014
22-04-2014
87.03
3
100
Yes
Yes
Yes
5138
06-00-0415
Nou Vichetra
Kampong Thom
(012) 773-102
20-03-2014
12/6/2014
96.29
3
100
Yes
Yes
Yes
5140
06-00-0254
Yim Cheng Sim
Kampong Thom
(012) 725-597
4/3/2014
6/6/2014
96.29
3
100
Yes
Yes
Yes
5143
06-00-0868
Long Chanthida
Kampong Thom
(012) 682-009
20-05-2014
20-05-2014
93.51
3
100
Yes
Yes
Yes
5145
06-00-0969
Kong Sithan
Kampong Thom
(092) 914-384
1/2/2014
1/2/2014
95.36
n/a
No
n/a
5146
06-00-0893
Kam Keng
Kampong Thom
(089) 664-617
11/3/2014
12/6/2014
87.03
3
100
Yes
Yes
Yes
5148
06-00-1035
Heng Sonath
Kampong Thom
(012) 524-063
6/3/2014
3/6/2014
92.59
3
100
Yes
Yes
Yes
5149
06-00-0845
Ieng Keatheng
Kampong Thom
(011) 667-795
18-03-2014
10/6/2014
87.96
3
100
Yes
Yes
Yes
5157
07-00-0143
Ung Chetha
Kampot
(012) 976-371
12/4/2014
12/4/2014
90.74
2.76
92.15
Yes
Yes
Yes
5188
01-00-0068
HENG Vuoch Eng
Banteay Meanchey
(012) 958-919
4/2/2014
28-05-2014
87.96
2.43
81.37
Yes
Yes
Yes
5190
01-00-0123
Nhek Puthary
Banteay Meanchey
(012) 217-175
8/1/2014
22-05-2014
83.33
2.29
76.47
No
Yes
NoWhat SQL Server version you are using? Since SS2012 we have LAST_VALUE function
http://msdn.microsoft.com/en-us/library/hh231517.aspx
SELECT * FROM
SELECT <columns>,ROW_NUMBER() OVER (PARTITION BY providercode ORDER BY date DESC) rn
) AS Der WHERE rn=1
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
I updated to Lion and now the Search function in Apple Mail is not working properly
Even though the "All" option is selected, when I type a string in the Mail spotlight search box, the string is not found. But I know for a fact the string is in an email and I've manually found the email (in a folder) and copied and pasted it into the search box. Mail is still not able to find it.
I have also checked to make sure that "Message contains" is the option in the search box. I've noticed that in some previous searches there has been a little arrow dropdown option next to the magnifying glass icon. But that arrow is not showing up consistently...and is not showing up now.
What am I doing wrong?Ok...here's the steps to fix this as efficiently as possible. I have a whole bunch of mailboxes under "On My Mac" and they have a bunch of mailboxes nested in them. I get my messages into Apple Mail via IMAP. (I don't know if this matters.) The steps below assume you have a similar setup.
1. Hold the Option key down and click the dropdown arrow next to each mailbox that has one. This will cause all nested mailboxes below it to appear.
2. Go to the top of the list of mailboxes under "On My Mac" and highlight the first mailbox. Then hold the Shift key down and highlight the last mailbox in the list. This will cause all of the mailboxes and nested mailboxes to be highlighted.
3. From the menu, select "Mailbox --> Rebuild" and the rebuild process will start.
4. Watch the top of the mail screen to see the message count change as the mailboxes are being rebuilt. Wait until the activity stops before doing the next step.
5. As the mailboxes were rebuilt, many messages were reset as "Unread" even though every message was previously "Read." Make sure the mailboxes you want to affect are still highlighted. Right-click and select "Mark All Messages Read."
That fixed the problem for me. -
LAST function in ACCESS, what's in Oracle ?
Hi
Does anyone know what would be a equivalent of LAST function in Access to Oracle ?
In Access, the Last function returns the last value from the result set of a query.
The syntax for the Last function is:
Last ( expression )
expression is the value that you'd like to return from the result set. The Last function only returns the last value in the result set.
Thanks,
AmrikSome alternative way:
SQL> select ename, deptno, sal from emp order by deptno, sal, ename desc;
ENAME DEPTNO SAL
MILLER 10 1300
CLARK 10 2450
KING 10 5000
SMITH 20 1000
ADAMS 20 1100
JONES 20 2975
SCOTT 20 3000
FORD 20 3000
JAMES 30 1120
MARTIN 30 1250
WARD 30 1450
TURNER 30 1500
ALLEN 30 1800
BLAKE 30 2850
14 rows selected.
SQL> SELECT ename
2 FROM (
3 SELECT ename,
4 ROW_NUMBER() OVER (PARTITION BY deptno ORDER BY sal desc, ename) AS rnum
5 FROM emp
6 )
7 WHERE rnum = 1;
ENAME
KING
FORD
BLAKE
SQL> select max(ename) KEEP (DENSE_RANK LAST ORDER BY sal, ename desc) from emp
2 group by deptno;
MAX(ENAME)
KING
FORD
BLAKE
Rgds. -
In the last few days, I've encountered a problem with scrolling with my up & down keys. The up & down keys seem to, now function as Home & End keys. MyPage Up & Page Down keys seem to do nothing. What is wrong?
Hit the '''F7''' key, you probably have Caret browsing turned on.
http://kb.mozillazine.org/Accessibility.browsewithcaret
Maybe you are looking for
-
Error message: adobe mediacore CS6 has stopped working --????
I am trying to run premiere elements 10 on a high=end pc with 8gb of memory, Win 7 Pro4-bit, massive hard drives and no conflicting software (that I can see....). Can open up the program and use the manage module. It shows me three files that I have
-
If I ever need to email each individual person who has submitted a form response, and send them back, as a PDF, the responses they submitted on the form, is there an way to do this without having to do each one individually? Kind of like a mail merg
-
Update for 9.0.2
CAN I update from 9.0.2 to 9.1.8 directly or do I have to update all of intermediate
-
Security issue that affects Safari 5 (Snow Leopard)
From today's Macintouch: http://www.macintouch.com/readerreports/security/index.html#d04mar2015 Does this FREAK attack affect me? Do you have an iPhone, an Android or a Mac OS X computer? It affects you. Do you visit websites like americanexpress.com
-
Feature request: Add "Cancel" button to the close program / backup actions pop up window
Please add a way to cancel out of an unintended close of LR4. I cannot count how many times I have thought of something else I needed to do or wanted to try, only to have to totally restart the program to complete the action. If I prematurely exit