Send two variables to frame

Hi there,
I have a link in a home made coldfusion crm system that I am
trying to make functional. The link displays a meeting date that
our staff can register a client for. It links to a registration
form that automatically should show the meeting form for that date
and the contact's info.
Here is the URL I am trying to use:
<a
href="meetingadministrationframe.cfm?leftsrc=maleftframe.cfm&rightsrc=registration/new_re gistration.cfm?reg_meets=#Get_mtgs.sched_key#&contact_pick=#contact_key#"
target="_self"> --Register #dateformat(get_mtgs.start_date,
'yyyy-mmmm-dd')# MTG</a>
It seems that if I have more than one variable for my right
src, on the resulting page after the sql error message it says:
Parameters
URL Parameters:
REG_MEETS=3234contact_pick=54678
thus it is treating my two variables as just one long
variable equal to the first variable in the URL. Can any of you
experts out there help me. I've consultants breathing down my neck
(as usual) thanks!!!

I would try sending just one set of variables to the frameset
and re-arranging them there for the individual frames.

Similar Messages

  • Send a variable from two .swf

    How do I send a variable from a.swl to b.swf
    Tkank
    Bruno

    I do not quite understand what you doing but if you return the default value for address and etc... that is type of varchar2, i guess all you have to do is to htp.p on your form? And if it needs to be in a textbox just render the appropriate html for that <input type = "text" value ="yourValue">

  • Send two commands to new Template

    Hi, I need to send a Variable and a Filter to a new Template so I have to use the two commands: CMD=PROCESS_VARIABLES&SUBCMD=VAR_SUBMIT and CMD=LDOC
    How can I do to make a the new template to process all commands ?
    Regards

    I would try sending just one set of variables to the frameset
    and re-arranging them there for the individual frames.

  • Using action script 2 how can i send a variable value to a dynamic textbox on a different keyframe?

    using action script 2 how can i send a variable value to a dynamic textbox on a different keyframe?

    Thanks for your swift response.
    That sounds like a good solution, but the code I have on frame 2 is this
    timer = 0;
    countup = function(){
    timer++;
    countupInterval = setInterval(countup,100);
    If I added the same actionscript to frame 3 which has a dynamic textbox with a variable timer attached wouldn't it just put the timer back to 0? What I want is the last known value that was given when it was in frame 2.
    I am thinking of temple run here, I am trying to caculate the total distance(set in the timer variable) from the previous try.
    Hope this makes sense.
    Chazwick

  • Execute SQL task for Email ToLine using COALESCE and two variables

    Hello...
    I am converting an old DTS package to SSIS. The old package consist of mostly ActiveX Script so I am breaking it down into steps. Basically... I am retreving a set of records that need to be sent via email to multiple people.  In my package to create
    my ToLine for the Send Mail Task I am using several steps. Frist I am using:
    SELECT CASE
              WHEN EXISTS (  SELECT        users.User_EmailAddress
    FROM            dbo.Errors INNER JOIN
                             dbo.Users ON users.user_id = Errors.MonitorAuditor_User_Id
    WHERE        ([Audit_Id] = ?) AND ([ErrorCode_Id] = ?) ) THEN
                 1
              ELSE
                 0
           END AS ValidEventID
    I use this to see if there is any records to create my email string. This works fine.  After this I have a Script Task that splits my pipe in two. When no records exist (User::ValidEventID == 0) I am loging that event to a log. When records do exist
    I am using another Execute SQL task to create the actual ToLine:
    Declare @combinedString VARCHAR(max)
    SELECT      @combinedString = COALESCE(@combinedString + ', ', '') + Users.User_EmailAddress
    FROM            dbo.Errors INNER JOIN
                             dbo.Users ON users.user_id = Errors.MonitorAuditor_User_Id
    WHERE        ([Audit_Id] = ?) AND ([ErrorCode_Id] = ?)
    SELECT convert(varchar(4000),@combinedString) as StringValue
    I have my resultSet set to Single Row. I have two variables coming if for the Audit_Id and ErrorCode_Id. My Result Set is set to a Variable: User::EmailAddressString.
    Next it goes through a foreach loop to map to the ToLine email variable that I created named User:User_EmailAddress.
    Then I am using that in my Send Email Task.
    It all works fine when I hard code my variables into the COALESCE statement but as soon as I replace that with the ? that SSIS requires for variables I am getting the following error:
    [Execute SQL Task] Error: Executing the query "Declare @combinedString VARCHAR(max)
    SELECT      ..." failed with the following error: "Syntax error, permission violation, or other nonspecific error". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly,
    parameters not set correctly, or connection not established correctly.
    I have tried changing my resultset property, I have checked my paramenters and my connection. I don't understand why it works fine when I have my varaiables hard coded but not when I change them to the ?.
    Thanks in advance for you help in this matter.
    Reach for the unknown!

    Katherine... that did not work. 
    What I ended up doing was taking out the forloop all together. In my Execute SQL Task I changed the result set from single row to XML. I took out the  COALESCE statement and just went for something more basic:
    select users.User_EmailAddress + ';' as User_EmailAddress from Errors inner join users on users.user_id = Errors.MonitorAuditor_User_Id WHERE ([Audit_Id]  = ? AND [ErrorCode_Id] = ?)
    Currently I am just logging the string to a text file so I can see the results. In my text file the string is surrounded by <ROOT></ROOT>. So I will next I will work on triming that off the string and then populate my Send Mail Task.
    This is how I trimed off the <ROOT></ROOT>:
    Dts.Variables(
    "EmailAddressString").Value = Replace(Dts.Variables("EmailAddressString").Value,
    "<ROOT>",
    Dts.Variables(
    "EmailAddressString").Value = Replace(Dts.Variables("EmailAddressString").Value,
    ";</ROOT>",
    Thanks again everyone for the help!
    Reach for the unknown!

  • How to attach transmissi​on of two CAN cyclic frames?

    Hi all,
    I work with:
    Hardware: NI-PCI 8512, CAN interface.
    Software Environment: C++
    OS: Windows7
    I try to transmit two separate cyclic frames, with gap of up to 125 usec between one other.
    I try the approach of sending the nxStart command line after line - and i got a gap of 600 usec. Not good enough...
    Any ideas?
    Thanks for advance,
    Aviad

    Just to clarify..
    You want to send Cyclic Frame (ID = 1) every 100ms
    "Immediately" after sending the ID = 1 frame, you want to send ID=2 frame
    In theory, I think you could do this. NI-XNET should send the frames in priority order if there is a "collision", meaning that the two frames are attempted to transmit at the same time.
    You could try:
    Create Cyclic Frame ID = 0x1, set Cyclic rate to 100ms
    Create Cyclic Frame ID = 0x2, set Cyclic rate to 100ms
    Create Signal for Cyclic Frame 2
    Create session to Id = 0x1 (FrameOutSinglePoint)
    Set nxPropSessionSub_CANStartTimeOff for the session to some number (>= 1)
    Create session to Id = 0x2 (SignalOutSinglePoint)
    Set nxPropSessionSub_CANStartTimeOff for the session to the same number
    Start session 1 (use session only)
    Start session 2 (normal)
    I think this should work to accomplish what you want.. however...
    You cannot really have any guarantees on the CAN bus due to collisions (if your IDs are exactly 1 and 2 you are pretty safe since those are two of the highest priority frames, but in the normal world those are not typically the two frames that are generated). I think it would be better to do everything the same as above, but set the Set nxPropSessionSub_CANStartTimeOff for the second session to be N+1 (N is the number for the first session). The second frame should transmit 500us after the first one in this case. The advantage of this is that you are not relying on any detected collision in the driver (there is an ever so slight chance that they could be sent in the opposite order). You would see 500us instead of 125us (although you wouldn't actually see 125us in the first situation as the two frames would be sent back-to-back every 100ms).
    Is the 125us required? Do you know the data to transmit ahead of time? You could use stream output in replay mode to get precise timing, but that somewhat requries you to know exactly what you want to send ahead of time.

  • How to share the data between two or more frames

    How to share the data between two or more frames based on the database relationship in JDeveloper?

    You can pass data between frames by passing it as parameters.
    That is when you are invoking another frame, pass your data as arguments through the constructor to that frame .
    You can also achieve this through static or public methods, but static variables as we know is not suggested which might occupy more memory space.
    Regards,
    Srinivasan AShwath
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by [email protected]:
    How to share the data between two or more frames based on the database relationship in JDeveloper? <HR></BLOCKQUOTE>
    null

  • Swf over lan sending a variable

    Does anyone know how to send a variable trough LAN from a
    master swf to all the other SWF files? And when the child swf's get
    the variable to load a movie clip (the movie clip has the name of
    the content of the variable) in the main scene? PLS Help

    Broadcast/Multi-cast packets and often blocked by default but routers. i.e. you will see them if you are on the same router but no where else.
    This is to prevent such packets flooding the whole network. (Although there are better ways to deal with this, this is the simplest approach)
    You need to ensure that all the routers between your two systems allow forwarding of UDP packets.

  • Send/receive variables online

    I want to make a connection between two SWF through internet.
    I want to some how connect these SWFs so I can send\receive
    variables.
    for example i want to build a messenger and i want to
    send\receive strings from one SWF to each other
    PLEASE help me

    I know how to send variables for the serverside but I don't
    know how to send variables from server side for the SWF!
    currently I'm sending variables form one SWF for a .php file
    on the server and the php saves that variable in a .txt file and
    the other SWF every 5 seconds requests for the variables and the
    php cheks the .txt file if there were any thing it would send them
    for it (I'm using LoadVariables() command)
    but I dont want to chek that every 5 seconds, I and I don't
    want to use that .txt file
    its so much better to send the variables directly between
    SWFs

  • Sending two emails with attachment.

    Hello Manmeet Email variables are allowed only within the context of a session. I don't think you can use them in email task.  but for your requriment you can create dummy session insted of email task.   Thank You Ashish Amin

    Hi everyone, I got a requirement from client to send two emails having attachments. First I tried using email task, but what I observed is that "Email variables are used only within the context of a session". The email task is not allowing me to use any email variables(%a<>) which is used to attch a file in email..  So as an alternative approach, I have to use unix 'mailx' command to send out a mails. My question is how to achieve this scenerio with email task? or is it a drawback of email task to not allowing us to use email variables? Any help would be appriciable.  Note: I am using Informatica Powecenter 9.5.1

  • Assigning a value to two variables

    I need to assign the same value to two variables is there a way to do this like in some other languages.
    e.g. I have the following currently:
    l_test := 'valval'
    l_counter := 'valval'
    I want to condense this down into something simpler such as:
    l_test := l_counter := 'valval'
    Is anything like this possible?
    Many thanks in advance.

    Because I need to build up two queries gradually since they depend on situations at runtime i.e. I cannot just write the query in one statement and run it since it is built up gradually based on the application.
    One is to obtain the results of the query and the other is purely to count up the results. The reason I am doing this is because it is more efficient than running two CURSORs which is the current situation.
    This will result in a cursor containg the results to loop through and a value which equals the number of results. Where the variables will have the same added to them is with the WHERE clause, since the conditions don't change just how they are stored changes. i.e. One is CURSOR to loop through and one is a straight value.

  • Calculation of interest amount with two variables formula

    Hello everyone,
    Iu2019m facing a problem with the way that TRM calculate the interest amount for money market transaction when I have a formula with two variable, e.g. reference interest rate u201CXu201D multiplied by 0,98.
    Some contracts explicitly say that to obtain the u201Cdaily interest rateu201D of the contract firstly the u201Cdaily interest rateu201D of the reference interest rate must be calculated and then apply a index or factor (e.g. 0,98). In the other hand some contracts says that it should be done the other way around. Iu2019ve noticed that TRM calculate the interest amount using the first way.
    Is there any way to set which the way the interest amount should be calculates?
    Has anyone faced similar problem?
    The examples below illustrate the difference in the two ways to calculate interest amount.
    Considering the following money market transaction:
    1. Borrowing structure:
    1.1. amount: USD 1.000.000,00
    1.2. flow type: 1105 u201CBorrowing/Increaseu201D
    2. Term (only one day to simplify the example)
    2.1. Start date: 30.01.2011
    2.2. End data:   31.01.2011
    3. Interest structure:
    3.1. Interest form: VARIABLE ( formula = Z1 * 0,98), where u201CZ1u201D is a reference interest rate
    3.2. condition type: 1200 u201CNominal interestu201D
    3.3. Interest calculation method: ActW/252
    Considering that Z1u2019s annual interest rate in 30.01.2011 is 11,66%, TRM would perform the following calculation:
    1. Contract annual interest rate (%) = Z1*0,98 = 11,66 *0,98 = 11,42680000%
    2. Convert from u201CContract annual interest rate (%)u201D  to number = 1,11426800
    3. u201CContract daily interest rateu201D = 1,11426800 ^(1/252) = 1,00042945
    4. Convert from u201Cnumberu201D to Day interest rate (%)  = 0,04294481%
    5. Interest amount = u201CContract daily interest rateu201D * Borrowed amount = 0,04294481% * 10.000.000,00 = 4.294,48
    In the other hand, some contracts say that the interest rate should be calculated in the following way:
    1. Annual interest rate (%) = 11,66  = 11,66000000%
    2. Convert from u201CAnnual interest rate (%)u201D  to number = 1,11660000
    3. Daily interest rate = 1,11660000 ^(1/252) = 1,00043775
    4. Convert from u201Cnumberu201D to Daily interest rate (%)  = 0,04377480%
    5. Calculate u201CContract daily interest rateu201D = 0,04377480% * 0,98 = 0,04289930%
    5. Interest amount = u201CContract daily interest rate (%)u201D  * Borrowed amount = 0,04289930% * 10.000.000,00 = 4.289,93
    With this simple scenario  we end up with a USD 4,55 difference for a single day, but for big contracts of hundred millions and for several years the difference is quite  huge.
    Thanks in advance ..
    Giuliano

    Hi,
    with Product Category 550 you can have both scenarios:
    for the 1st case you can use a formular (e.g. EONIA * 0,98)
    => interest for 1 day: 462,70 EUR
    for the 2nd case you can use the field Variable Interest Rate (EONIA) + field Payment Rate (98)
    => interest for 1 day: 453,44 EUR
    Is this, what you are looking for?
    Regards,
    Lorenz

  • How to send two request in the same connection with HttpURLConnection?

    As the title, I want to send two or more requests in the same connection with HttpsURLConnection..I wish all requests are in the same session.
    My code is as following:
    package test1;
    //import javax.net.ssl.*;
    import java.net.*;
    import java.io.*;
    public class httptest {
    public httptest() {
    public void test() {
    HttpURLConnection uc = null;
    String urlStr="";
    urlStr="http://172.16.245.151/test/page1.jsp";
    try {
    URL u = new URL(urlStr);
    uc = (HttpURLConnection) u.openConnection();
    uc.setRequestMethod("GET");
    uc.setDoOutput(true);
    // uc.connect();
    OutputStream out = uc.getOutputStream();
    out.flush();
    out.close();
    catch (Exception ex) {
    System.out.println(ex.getMessage());
    public static void main(String[] args) {
    httptest tt = new httptest();
    tt.test();
    The sample class just can send a request..Now we think of the sentence :uc = (HttpURLConnection) u.openConnection();
    Obviousely, a HttpURLConnection can just have a Object of the Class URL, and the Class URL have no setURL mothed. So I can't use a HttpURLConnection to send two request.
    I just want the HttpURLConnect is the same to IE...Do you understand what I mean?
    Any helps will be appreciated...

    As the title, I want to send two or more requests in the same connection with HttpsURLConnection..I wish all requests are in the same session.
    My code is as following:
    package test1;
    //import javax.net.ssl.*;
    import java.net.*;
    import java.io.*;
    public class httptest {
    public httptest() {
    public void test() {
    HttpURLConnection uc = null;
    String urlStr="";
    urlStr="http://172.16.245.151/test/page1.jsp";
    try {
    URL u = new URL(urlStr);
    uc = (HttpURLConnection) u.openConnection();
    uc.setRequestMethod("GET");
    uc.setDoOutput(true);
    // uc.connect();
    OutputStream out = uc.getOutputStream();
    out.flush();
    out.close();
    catch (Exception ex) {
    System.out.println(ex.getMessage());
    public static void main(String[] args) {
    httptest tt = new httptest();
    tt.test();
    The sample class just can send a request..Now we think of the sentence :uc = (HttpURLConnection) u.openConnection();
    Obviousely, a HttpURLConnection can just have a Object of the Class URL, and the Class URL have no setURL mothed. So I can't use a HttpURLConnection to send two request.
    I just want the HttpURLConnect is the same to IE...Do you understand what I mean?
    Any helps will be appreciated...

  • How to make a Java program that recognises a function of two variables...

    How to make a Java program that recognises a function of two variables to assign values to that?
    First I will give an example and then do the question.
    Ex1.
    We have any function, eg.y = x ^ 2 + 1 (read 'y' equals 'x' high to the square), a function of the second degree.
    To build the graph of this function attach values to 'x' to find the values of 'y'
    And thus mount the pair ordered (x, y) which represents a point on the Cartesian plane.
    Assigning values to 'x' 'we can build up a table that gives us the pairs ordered:
    We can use any numbers, but arfer interval [-3.3]
    X | y = x ^ 2 + 1
    -3 | Y = (-3) ^ 2 +1 = 10
    -2 | Y = (-2) ^ 2 +1 = 5
    -1 | Y = (-1) ^ 2 +1 = 2
    0 | y = (0) ^ 2 +1 = 1
    1 | y = (1) ^ 2 +1 = 2
    2 | y = (2) ^ 2 +1 = 5
    3 | y = (3) ^ 2 +1 = 10
    We then ordered the pairs:
    (-3.10), (-2.5); (-1.2), (0,1), (1,2), (2,5), (3,10)
    Tabem that can be represented by a table:
    X | y
    -3 | Y = 10
    -2 | Y = 5
    -1 | Y = 2
    0 | y = 1
    1 | y = 2
    2 | y = 5
    3 | y = 10
    Now I begin to explain my doubts.
    See this program:
    Ex2
    * To change this template, choose Tools | Templates
    * And open the template in the editor.
    Encontrando_o_valor_de_y package;
    * @ Author des Soldat Gottes
    Import javax.swing.JOptionPane;
    Public class (Main
    * @ Param args the command line arguments
    Public static void main (String [] args) (
    Int x, y;
    String x1;
    X1 = JOptionPane.showInputDialog ( "We have the function y = x + 1 \ n" +
    "Assign a value for 'x',"); / / receives a value for the function y = x + 1
    X = Integer.parseInt (x1); / / tranforma String in int
    Y = x + 1; / / receives the value of 'x' and calculates' y '
    JOptionPane.showMessageDialog (null, "The value of 'y' is: \ t \ t" + y);
    / / Displays the value of 'y'
    System.exit (0);
    We see that the program receives above a value for 'x' and replaces the function contained in the program, y = x + 1, and so is the value of the variable 'y'.
    In: x1 = JOptionPane.showInputDialog ( "We have the function y = x + 1 \ n" +
    "Assign a value for 'x',");
    The entry is a number and that number is assigned aa ja existing function in the (y = x + 1).
    The question is: would it be possible to come to a function?
    Ex: the program ask: DIGITE THE FUNCTION?
    The USUARIO DIGITARIA A FUNCTION ANY, TYPE: y = x ^ 2 +1
    The program would recognize the function and give numerical values to that function as Ex1, at the beginning of this text.
    And then to find the values of the x and y launch a table.
    It would be possible that?
    By invez of entering with a number so that the program sustitua a function ja existing as Ex2, seen above, entering with a function quaquer (type: y = x ^ 2 +1) for the program atribuisse values to that function and then create a table of values as Ex1.
    I hope it has been easier to understand my doubts now.
    Thank you for your attention!
    God bless!

    rafaelmenezes wrote:
    Thanks for the explanation, could understand what fly said.
    But as it applied to a program?
    How to create a program that recognizes that the entry coefficients?Are you asking about how to parse out the coefficients from the string "3x^4 + 4x^3 - 8x^2 + 5x^1 + 2x^0"? If you define the format to strictly follow that example, this should get you started:
    Strip out the spaces
    Split the String on "x^"
    That should give you [3, 4+4, 3-8, 2+5, 1+2, 0]
    Split each resulting String on "+ | -", preserving the operator as a token so you can apply the correct sign to the coeff.
    That should leave you with [3, 4, +, 4, 3, -, 8, 2, +, 5, 1, +, 2, 0]. Every other number is a coeff, the rest are the degrees.
    You can strip out the +, since those coeffs are already positive, and strip out the - after negating the following number. This is all assuming that you have to write this yourself. There is no doubt already a library or 5 out there that does this for you.

  • Two separate text frames with own toc

    How do I set up two separate text frames side-by-side as two columns, and create a separate table of contents for each?
    I need to create a two-language document with English on the left and a translated language on the right. Each language will also have separate illustrations and cross references to them in the text. Basically, I need to create two manuals in a single document.
    I'm doing this with Frame 7.1 if that makes any difference.
    Thanks in advance for any suggestions.

    To create the two separate text frames, simply use the Text Frame graphic tool on the Master Pages to draw tthe second frame. You will need to give the "Flow"  for this text frame a unique name. By default FM uses "A" for a flow name, but you can change this to be the name of the language.
    See: http://help.adobe.com/en_US/framemaker/using/WSd817046a44e105e21e63e3d11ab7f74e4d-7fb8.htm l (Set up a multi-flow document)
    However, I would recommend that you first create separate documents for the English and translated versions. Then import the contents of those documents by reference (i.e. create text insets) in your combined document.
    Use the combined document as your publishing vessel and the separate documents as your editing/working environment.
    The only gotcha would be if you need to maintain side-by-side fidelity with each paragraph in the English and translated version. If so, then you should import by copy and then you'll hjave to manually adjust the paragraph spacings to stay lined up.

Maybe you are looking for