How to check for the two first digits?
Can someone please... There is demand to have a hidden field on the form that will be filled with data. It's going to be 6 digits long and could start with 02 or 04. I need to check on the DocReady event, for the first two digits. If the first two digits are 02, the presentation of the form will remain as it is. If the first two numbers are 04, I'll have to show two hidden subforms. Can someone please provide an explanation on how to check for the first two digits of field 6 digits and do some actions. Thank you very much
No, only in the event: Exchange.
Tags: Adobe LiveCycle
Similar Questions
-
How to check for the application ID in a function of connection?
Hello
I have a connection procedure which is something like this:
And the authentication procedure is this:wwv_flow_custom_auth_std.login( P_UNAME => :P58_USERNAME, P_PASSWORD => :P58_PASSWORD, P_SESSION_ID => v('APP_SESSION'), P_FLOW_PAGE => :APP_ID||':15' );
I want to check for an application in the acl_employees table ID, because I want to check if this user is credited for THIS specific APP_ID, adding a following kind of code to the function of authentication:create or replace FUNCTION "ACL_CUSTOM_AUTH" ( p_username IN VARCHAR2, p_password IN VARCHAR2 ) RETURN BOOLEAN IS BEGIN FOR c1 IN (SELECT 1 FROM acl_employees WHERE upper(userid) = upper(p_username) AND mot_de_passe = p_password) LOOP RETURN TRUE; END LOOP; RETURN FALSE; END;
The problem is that the connection API takes in charge only two parameters for custom authentication: user name and password. How can I switch the APP_ID to authentication?AND application_id = :app_id)
Thank you for your help.
Christian
Published by: France Christian February 23, 2010 06:23
Published by: France Christian February 23, 2010 06:24It is sometimes easier to check the user before calling the connection custom Apex then past just a password to NULL to the connection works if the check fails. Something like that before the connection:
DECLARE v_dummy NUMBER; BEGIN SELECT 1 INTO v_dummy FROM acl_employees WHERE upper(userid) = upper(p_username) AND application_id = :app_id; EXCEPTION WHEN NO_DATA_FOUND THEN :P58_PASSWORD := NULL; END;
-
How to check for the date validation
Hello
I have 3 validation of date in order.
10 - P1_FROM - (type - Item specified is a valid date)
20 - P1_TO - (type - Item specified is a valid date)
30 compare dates P1_FROM & P1_TO
I want to run it only when these 2 dates are field not null not and registered as valid a date.
HOW to set that State...
Thank youType - Function returning bollean Validation Expression1 - if TO_DATE(:P1_TO,'MM/DD/YYYY') <= TO_DATE(:P1FROM,'MM/DD/YYYY') then return false; else return true; end if; Condition- PL\SQL Expression // I want to put a condition here NOT NULL as well as VALID date :P1_FROM is not null AND :P1_TO is not null
DeepakTry an exception handler. for example
begin if :P1_TO is not null and :P1FROM is not null then if TO_DATE(:P1_TO,'MM/DD/YYYY') <= TO_DATE(:P1FROM,'MM/DD/YYYY') then RETURN 'From date cannot be after the To date'; end if; else if :P1_TO is null and :P1FROM is null then null; else RETURN 'Both To and From values must be specified'; end if; end if; EXCEPTION WHEN OTHERS THEN RETURN 'Invalid Date'; end;
-
How to check for the ConnectionState of ESX hosts
Hello
I would like to be able to check the status of connection to a host list before executing a block of code against the list of hosts. If the host is in a disconnected state, I want also to write in a name csv file and connection status of any host that is disconnected before you run the code block against the rest of the hosts in the list.
That's what I've tried so far:
$ESX = "C:\Temp\host.txt".
foreach ($vhost to $ESX)
Get-VMHost $ESX | Select Name, ConnectionState
If ($vhost. ConnectionState - eq 'offline') {}{
$vhost | Export-CSV "C:\Temp\report.csv" - NoTypeInformation
}
}Thank you
Try like this
$ESX = "C:\Temp\host.txt".
Get-VMHost-name $ESX |
Where {$_.} ConnectionState - eq 'offline'} |
Select Name, ConnectionState |
Export-CSV "C:\Temp\report.csv" - NoTypeInformation
-
How to check for the plan of the historic explain SQL 10 g command
Hello
It is a way to check the history of sql explain plan?
Is this possible via sql? I can check it using OEM but... I would like to know if this can be done through sql.
Thank you
JamsFindout the sqlid to awr.
SELECT * from TABLE (dbms_xplan.display_awr ('br7hhp7m0qauk'))
HTH
Mathieu
-
Hi allI have a script for indd that convert a table selected user in JPG format (1276 px width, height varies). Second script photoshop asking to select jpg file and then check if the height in pixels is less than 1018 pixel, can he expand canvas size (height) to 1018 px.
How can I combine the two script, tip, or how to start would be useful? The workflow must be:
- the user select table in the indd document
- export table in jpg format
- script you will be asked to select the file table jpg or if it is possible to automate this would be awesome.
- enlarge the height of the canvas to 1018 px
Thank you
Marie rosine
PS: I have already read the Java script tool guide pdf but unable to understand
Yes and the documentation is pretty self-explanatory.
However, here is an excerpt:
function callPhotoshop(file) { var bt = new BridgeTalk; bt.target = "photoshop"; bt.body = "function main (){ return confirm('Am I in Photoshop?'); }; main();"; bt.onResult = function(resObj) { var myResult = resObj.body; alert( myResult? "PS code was correctly executed" : "Something wrong happened" ); } bt.send(); } callPhotoshop();
HTH,
Loïc
-
How can I get the COMPLETE serial number to display? This number shows except for the 4 last digits.
Hi Infogoddess,
Thank you for using communities Support from Apple! If you try to find the serial number of your iPod touch or another Apple product, you can find information and the steps in the following articles useful:
iPod: how to find the serial number - Apple Support
Find the serial number of your Apple - Apple Support product
See you soon
-
I want to integrate the ANSI C sample program ReadDigPort - ExtClk.c in my own big package.
I want to use the internal clock of the BNC NI USB-6259 (.. 80 kHz 120 kHz).
In the document:
High speed M: Series Multifunction DAQ for USB - 16-bit, up to 1.25 MECH built-in BNC connectivity. / s,.
is written:
Or sample DI source clock: Any PFI, RTSI, HAVE sample or convert clock, AO, Ctr n out internal and many other signals sample clock
The digital subsystem doesn't have its own dedicated internal synchronization engine. Therefore, a sample clock must be provided another subsystem on the device or from an external source.How can I use internal clock case OR USB - 6259 BNC for the acquisition of digital data in my own big software?
With what other subsystem on the device can generate a source of the clock? How?It is possible to set a clock on an internal counter (for example ' Dev1/ctr0"):
Creates channels to generate digital impulses that define the freq and dutyCycle and adds the channel of the task that you specify with taskHandle.
DAQmxCreateCOPulseChanFreq (taskHandle, "Dev1/ctr0" units, clockName, idleState,
initialDelay, freq, the duty cycle); worksBut it is not possible to drive this internal clock to a terminal (for example "/ PFI0/Dev1"):
DAQmxErrChk (DAQmxCreateCOPulseChanFreq (taskHandle, "/ PFI0/Dev1", clockName, units, idleState, '))
initialDelay, freq, the duty cycle); does not work: error DAQmx: measurements: type I/O of the physical channel does not match the type of I/O required for the virtual channel you create. Name of the physical channel: PFI0. Name of the virtual channel: clockThe sample clock source can be derived from an external terminal (for example "/ PFI0/Dev1"):
Sets the source of the sample clock, the sample clock rate and the number of samples to acquire or generate.
DAQmxCfgSampClkTiming (taskHandle, "/ PFI0/Dev1", maximumExpectedSamplingRate, DAQmx_Val_Rising, ")
DAQmx_Val_ContSamps, bufferSize); works. Acquire or generate samples until you stop the taskBut it is not possible to derive the internal counter of the clock (for example ' Dev1/ctr0"):
DAQmxCfgSampClkTiming (taskHandle, "Dev1/ctr0", maximumExpectedSamplingRate, DAQmx_Val_Rising,
DAQmx_Val_ContSamps, bufferSize); does not work. Error: Acquire or generate samples until you stop the task: make sure that the name of the terminal is valid for the specified device. See Measurement & Automation explore valid names of terminals. Property: Property of DAQmx_SampClk_Src: DAQmx_SampClk_ActiveEdgeSource device: Terminal Source Dev1: Dev1/ctr0Hi datafriend,
using what it says is correct:
Or sample DI source clock: Any PFI, RTSI, HAVE sample or convert clock, AO, Ctr n out internal and many other signals sample clock
The digital subsystem doesn't have its own dedicated internal synchronization engine. Therefore, a sample clock must be provided another subsystem on the device or from an external source.This means that if you do not use an external signal as clock you can use the sample clock to HAVE it on board or at the output of the internal counter.
There are also 2 ANSI C examples in this regard:
http://zone.NI.com/DevZone/CDA/EPD/p/ID/4485
http://zone.NI.com/DevZone/CDA/EPD/p/ID/4488
So in both cases you have to use a fictitious task you need only for the generation of the internal clock (HAVE or CTR)
-
How can I move a Memo on the first two lines of the home screen applications? Can you please provide information or a link to the handling and displacement than the positrons of type memo buttons clickable to reposition on the screen. Thank you
So when you are in the menu mode, highlight the memo and press the "menu". It will give you an option to move it. To move it to the home screen, you have to move to one of the two first lines. Just highlight where you want to move and click down, or press the Menu button again to make the move.
-
How can I remove the cs6 first and still keep for use in CC?
I'm running a PC with CC. I had to CS6 first so I can use again to an older project. How can I remove the CS6 first and keep still (and all CC downloads)?
Thanks for the help.
Todd
In the original version (traditional uninstall), you are given a screen that lets you choose what to uninstall, and then you clear again (if there). If you do not have this option, and then try to uninstall in Windows via Control Panel.
I just tested and it gives you the screen.
-
When I drag a file audio and video of the source on the timeline monitor, only the video file is transferred. How can I move the two files on the timeline? Adobe first Pro 2015 CC only!
Please make sure that the audio and video tracks are highlighted.
-
When I drag a file audio and video of the source on the timeline monitor, only the video file is transferred. How can I move the two files on the timeline? Thank you for your help in advance
You must set the source patch:
-
to install Indesign on my new computer, but can't. First bought CS2 in 2009 and upgraded to 7.5 in 2011. I have the serial numbers for the two and was able to use it on my last computer. I use Indesign that often but there are some projects that it is good for. Where should I start?
Lchrichton123 what version of InDesign are specifically keen to install? You can find links to the installation files for the majority of Adobe Creative software titles of other downloads
-
How to check if the database for DRDA gateway is installed and configured.
Hi all
How can we check if the database for DRDA gateway is installed and configured.
Our operating system is AIX 5 L 64 bit OS.
RDBMS: 11.2.0.3
Kind regardsDuplicated
How to check if the database for DRDA gateway is installed and configured.+ - locked thread-+.
Nicolas.
-
How ban you a computer for the software Adobe digital editions
How ban you a computer for the software Adobe digital editions?
ban the computer: ctrl-shift-D
ban the device: ctrl-shift-E
Unfortunately, the software designers ADE never attended a course on usability 101: no possibility of discovery.
Maybe you are looking for
-
Failed to read Yahoo word game literate. Yahoo Games Support told me to contact you
This is the message I get:a. make sure that java is enabled in your browser. (readmore) b.. If you do not have java installed you may download it here. c.. To learn more about java support for browsers, visit our help pagesI see that Java is enabled.
-
I have a hp laptop 15-g019wm. product # f9h60ua #aba, serial # cnd4060kxc. When I turn it on I am able to enter my password on the lock screen, but then I get a black screen with nothing else than the pointer of the mouse over it. I tried hard reboot
-
Hello This is the first time that I am unsing an instrument driver... My problem is when I select a channel and to vary the tension of the chain-specific string changes fluctuating default channel and the channel selected... could someone please help
-
Since I did the process of compacting Outlook Express can't open or delete e-mails using the mouse or the keyboard. I tried closing and restarting and nothing helps. I have tried to re-boot my system and which does not help either.
-
D010wn flow 11: driver not available Wifi
The os wifi my laptop new Stream stoped working, I tried to update windows and even restore to factory settings. But wifi still doesn't work do not. No airplane mode on, no driver not recognized. Nothing.