pass variables from flash to authorware

Hello

If I have a button in flash and want to send a string of varibales to authorware:
-example code-
Flash code.
{We (Release)}
fscommand ("variable", "var1, var2, var3, var4")
}
Authorware code.
EvalAssign (EventLastMatched [#command] ^ ": = EventLastMatched [#args]")
Trace (EventLastMatched [#args])
ActionFuntion (EventLastMatched [#args])
Quit()

In the authorware file, I would like to highlight this string and breakit in authorware and apply it to the ActionFuntion.

Help, please.

Thanks daniel

If you have a string "var1, var2, var3, var4" you want to get each
element of?

Repeat with i = 1 to LineCount (EventLastMatched [#args], ',')
lines : = GetLine (EventLastMatched [#args], I, I, ',')
end repeat

Must establish each element of the sting in a separate list item in the
linear list of lines. I really don't understand what you are tying to
do, so I use a list here for demonstration purposes, but perhaps you
you want to replace the second line with:

ActionFunction (GetLine (EventLastMatched [#args], i, i, ','))

Who will call ActionFunction each time that the loop works and send it to the
next element in the chain. In your case, it will call...

ActionFunction ("var1")
ActionFunction ("var2")
ActionFunction ("var3")
ActionFunction ("var4")

-What are you trying to achieve?

Mark

deerowbear wrote:
> Sorry that I misunderstood. When I Trace (EventLastMatched [#args]) in authorware I have
> get var1, var2, var3 var4. The function call an external dll, passing those
> variables off the coast and an ActionFunction in a dll file.
>
> Thanks daniel
>
>
>
>

--
------------------------------------------------------
Multimedia synchronization command Authorware:

www.authorwarextras.co.UK--> orders

Synchronization of media with ease!

EuroTAAC eLearning 2007
www.eurotaac.com

www.AuthorwareXtras.co.uk
www.freelists.org/List/flashelearning

Tags: Authorware

Similar Questions

  • Passing variables from flash to php script - does not!

    Hey everybody. I was wondering if someone could help me. I use as2 to pass a variable from flash to my php and nothing happened! Here's the action script code that I put on my button:

    (release)

    {

    Amount.Text = 5;

    Form1 = new LoadVars();

    Form1.amount = amount.text;

    form1.sendAndLoad ("http://mywebpage.com/test.php", rise, "POST" ');

    }

    The amount of '5' is now in a dynamic text field with the variable name and instance of amount (which, in the future, will be hidden). This works very well when the button is clicked. What I'm trying to do without success, is to get this value of '5' to my test.php and did echo and it happens simply not . It comes to my php script:

    <? PHP

    $form_inp = $_POST ["amount"];

    If ($form_inp == "'")

    {

    Print "nothing entered < br >".

    }

    on the other

    {

    Print "you entered: $form_inp";

    }

    ? >

    I'm getting "Nothing entered" every time.

    I've tried different ways for the amount.text such as:

    (release)

    {

    Amount.Text = 5;

    Form1 = new LoadVars();

    Form1.amount = this. Amount.Text;

    form1.sendAndLoad ("http://mywebpage.com/test.php", rise, "POST" ');

    }

    and

    (release)

    {

    Amount.Text = 5;

    Form1 = new LoadVars();

    Form1.amount = this ._parent. Amount.Text;

    form1.sendAndLoad ("http://mywebpage.com/test.php", rise, "POST" ');

    }

    etc...

    I also tried to change the variable name in the function sendAndLoad amount to form1 as follows:

    (release)

    {

    Amount.Text = 5;

    Form1 = new LoadVars();

    Form1.amount = amount.text;

    form1.sendAndLoad ("http://mywebpage.com/test.php",form1, "POST");

    }

    and still nothing.

    In my php file, I even tried the GET instead of the POST and it always turns out nothing.

    <? PHP

    $form_inp = $_GET['monto"];

    If ($form_inp == ")

    {

    Print "nothing entered < br >".

    }

    on the other

    {

    Print "you entered: $form_inp";

    }

    ? >

    Additional info:  I put the .swf file and at the same level-.php file in the same folder on my server just to be safe, and the dynamic amount.text text field and button are at the same level in the .swf file.

    Anyone can shed some light on my situation... pretty please? I'm out!

    Thank you very much.

    Ok. So, do not let this thread unanswered, after a looooooong of trial and error, I went to as3 and began to do some testing. It turned out that the register_globals was off on my site and that is why I did not receive the variable passed with the $_POST in my php. So what I finally proposed is the following:

    In my fla/swf doc:

    to import flash.net.URLVariables;

    import flash.net.URLRequest;

    import flash.net.sendToURL;

    var urlVariables:URLVariables = new URLVariables;

    urlVariables.amount = "5";

    var urlRequest:URLRequest = new URLRequest ("http://mirador.mx/oaxaca/disco/receive_test.php");

    urlRequest.data = urlVariables;

    sendToURL (urlRequest);

    In my php file:

    $amount = $_GET ["amount"];

    echo "' AMOUNT IS:". " $amount;

    Now for all of you who have been following this thread, or which can be read in the future, I know that we we started with AS2 and finishing here with AS3 but I didn't know why it worked until I I'm so fed up I've changed in AS3 to see if I could understand. I, like many others I guess, felt a bit intimidated with AS3 and was unwilling to give it a try, but I highly recommend that you dive into it because once get you a grip on it is much more functional.

    So I m going to mark this thread as a response and hope it saves someone else all the time and the frustration that he made me... Good programming!


  • CF pass variables from Flash

    Hello:

    Basically I want Coldfusion to pass the date Flash server. But I ' #theDt # ' instead of the value of "theDt" Please see the code below:

    Thank you in advance.

    ************************************************
    theDate.cfm

    < cfsetting enableCFoutputOnly = "Yes" >
    < cfset theDt = dateFormat (now (), 'dd-mm-yyyy') >
    < cfoutput >
    & serverDate = #theDt #.
    < / cfoutput >
    *****************************************************************

    var my_lv:LoadVars = new LoadVars();
    my_lv. OnLoad = {function (success:Boolean)}
    {if (Success)}
    theDate.text = my_lv.serverDate;
    theDate.text = this ["serverDate"];
    theDate.text = this.serverDate;
    } else {}
    var localDate:Date = new Date();
    theDate.text = (localDate.getMonth()+1)+"/"+localDate.getDate()+"/"+localDate.getFullYear ();
    }
    }
    my_lv. Load("C:\\CFusionMX7\\wwwroot\\OC\\theDate.cfm");
    ***************************************************************

    my_lv. Load("C:\\CFusionMX7\\wwwroot\\OC\\theDate.cfm");

    You're not "enforcement" a page of the CF, just read the content.

    The road should be something like (if you are testing your machine):
    my_lv. Load (" http://127.0.0.1//OC//theDate.cfm"); or the corresponding URL (and the Web server must be configured to run CF pages)

    Concerning

  • Pass Variables from Flash to PHP

    Good day nice webmates. I hace this situation:

    I created a couple of text fields in flash "check in" and "check out" to a small reservation system, where the user is supposed to enter data (two variables) and then those two dates should go to the next page of PHP (which is already done) and work with this date and other new variables... but I'm not who is the best way to "transfer" these variables of the flash in the php file...

    I would appreciate your answer, this is a very urgent question... Thanks in advance!

    Citations are missing inside of $_POST. It should be $_POST ["checkin"]

  • Send variables from flash to PHP

    Hello world
    I have a problem when sending variables from flash to PHP
    Here is the code:

    submit.onPress = function)
    {
    c = new LoadVars ();
    c.NME = "Myname"
    c.sendAndLoad ("getVars.php", reply, 'POST');
    }

    PHP code:

    <? PHP
    $name = $_POST ['nme'];
    Print 'your name is. " $name. «. < br / > ';
    ? >

    What I'm doing wrong here.
    I get an error message saying notice: Undefined index: name in \xxx\getVars.php on line 2

    Please help me. Thanks in advance

    2 things that I notice immediately

    1. you never initialize the variable 'Reply' to your sendAndLoad.
    2. you must pass a string encoded in URL variables which is ampersand delimited. Usually the returned string would look like echo ("" & result = 1 & msg = your % 20name % 20is %20 '. ") $name. ». 3rd % 3Cbr % &");

    Your mistake is that the information is not get passed correctly. I usually use $_REQUEST communication flash-php, although this should not make a difference. I've seen people use $_REQUEST for testing purposes and will then to $_POST when finished.

  • Send variables from flash AS2 to php mySQL

    Hi I have a question to adobe. So I finally created a system to connect / register with php and mysql and flash as2. That works, and here's the link:lumosityentertainment.hostei.com/PhPLoginSystem.swf

    But I have a question. How to send variables from flash as2 to my mySQL database? And then how to load their MySQL to flash as2? Also when variables get edited or changed as if I had 6 gold and then now I have 7 but how do send flash that updated data in my database? I know you use php and other things but I have examples of easy php and codes as2? I'm a beginner in php, but I know a decent amount of AS2. I searched all over google and adobe for the answer forums, but none of them really helped. I am currently working on a flash game on my site and I'm doing so that players can save as their gold, armor, weapons etc and then load them by logging into their account.  Here is my game that I currently use cookies to save the data:

    lumosityentertainment.enjin.com/playfantasydreams

    var sendLV:LoadVars = new LoadVars();

    var receiveLV:LoadVars = new LoadVars();

    receiveLV.onData = function(src:String) {}

    trace (SRC);  or be it for debugging

    }

    sendLV.somedata = somedata;

    sendLV.someotherdata = someotherdata;

    sendLV.sendAndLoad ("yourphp.php", receiveLV, "POST");

    /////////////////////////////////

    ////

    PHP

    .

    .

    $somedata = $_POST ['somedata'];

    $someotherdata = $_POST ['someotherdata'];

    write to your sql

    {if (whatever)}

    echo "success";

    } else {}

    echo "failed."

    }

    /////////////////////////////////

    PS when you use the adobe forums, please check the useful/correct, if there is.

  • Problem passing variable from PHP to Flash

    I'm moving a single variable from PHP to Flash. However, I can't quite make it work.

    In a PHP file named data.php, I use:
    "$query = SELECT SUM (Debt) As Total OF THE debtclock;
    $result = mysql_query ($query);
    $debt = mysql_result ($result, "Total");
    Print "debttotal = $debt";

    In Flash 8 Actionscript, I use:
    loadVariables("data.php","0");

    If I understand correctly, this should make the variable available in Flash debttotal.

    Can someone tell me where I'm wrong?

    Try this:
    loadVariables ("data.php", _level0);
    The 2nd parameter specifies the target that receives variables, '0' is not a valid value for this. With _level0, variables will be found in the root timeline, so you can access it with _root.debttotal (from _level0) or _level0.debttotal (on a different level than _level0).

    Welcome,
    blemmo

  • How to pass Variables from the Source (SQL) to tab target (JavaBin Shell) in ODI knowledge Modules

    Hi all

    My name is Alessandro and I am new to the community.

    I have a problem with the KM stage custom when I try to pass the variable from the source to the target.

    The ODI version tha I use is the 11.1.1.5.0.

    I created a stage KM following the instructions of the metalink document (Doc ID 728636.1).

    But when I insert the value of the variable in a test table, the value in a table is the name of the variable.

    Where I'm wrong?

    I am doing thi.

    (1) create a step in my goal of shell sql source and javabin KM. In the source tab I get the value of a query, and the name "LAST_UPDATE" column.

    In the target tab, I attribute to the variabile jv_last_update the value of the variable #LAST_UPDATE, with the same name in the selection column.

    source_tab.jpgtarget_tab.jpg

    (2) I created a second stage where I insert into a table of the value of the variable jv_last_update (to debug the value of the variable):

    insert_step.jpg

    (3) when I try to see what I have in the table, the value of any line is the name of the variable "#LAST_UPDATE"; ".

    result_table.jpg

    Thanks in advance


    Alessandro

    Hi Alessandro,.

    Interesting... I have not read the Oracle document you sent yet, but one thing I can guarantee you, is that it doesn't. If Oracle says that it should work, maybe it's a bug, or maybe he has changed on new versions of ODI. I am also on ODI 11.1.1.5 and I tried many different ways to pass SQL results to variables of java with all sorts of different labels, but none of them worked for me as well. But I managed to use it in a different way, so please see below if it matches your needs:

    We are just one step. The second is just to show that it worked:

    In the first step, on the source tab, select Oracle and point to the logical schema that you want to run the query:

    On the target, note the following Java BeanShell code with the SQL that you want to run:

    Now your variable must have the correct value of your SQL. To test it, I just write a comment 'Raise' to Jython in the second step:

    The result is 'X' as expected:

    It will be useful.

    Thank you!

  • Pass Variables from JavaScript CS3 ActionScript

    Hello

    I can't understand what I'm doing wrong and I need help . Who better to ask than legal experts?

    I have everything works fine so far except for this actionscript. I use CS3 Flash with ActionScript, CS3.

    I have 5 buttons in flash.
    I try to perform the following tasks
    1. ensure buttons with effects in flash - done
    2 put the button in the down position based on the Web page that the user is on.
    To perform this dynamic, I apparently have to use 3 different languages, PHP, JavaScript, ActionScript.

    I've been playing with this during a week and can not understand. I have the rest of the scripts tested and verified to work.

    Here is the link to my test page
    http://www.spectacularstuff.com/PHP-test/inProgress/php-URL-detection.php

    Here is my code for the test. (This does not include the buttons. It is simply to test to see if I'm passing variable.)

    PHP code to detect the file name.
    <? PHP
    function curPageName() {}
    Return substr ($_SERVER ["SCRIPT_NAME"], strrpos($_SERVER["SCRIPT_NAME"],"/") + 1);
    }
    ECHO "is the current name of the page detected by PHP". curPageName();
    ? >

    The JavaScript Code to pass variables to the Flash
    < script language = "javascript" src = "swfobject.js" >
    var so = new SWFObject ("php - url - detection.swf", "php-url-detection", "550", "400", "9", "#FFFFFF");
    so. AddVariable ("currentpage","<? php echo curPageName();? >" ")
    < /script >

    ActionScript Code to get the JavaScript Variables and display them in flash.
    Dynamically create text fields
    var tf:TextField = new TextField();
    tf.autoSize = TextFieldAutoSize.LEFT;
    TF. Border = false;
    addChild (tf);

    var tf2:TextField = new TextField();
    TF2. AutoSize = TextFieldAutoSize.LEFT;
    TF2. Border = false;
    addChild (tf2);

    Create the variable to write to the page
    var myStr2:String;

    first attempt to put the variable on the page.
    This LoaderInfo must be capitlized. An error occurs if not.
    var paramObj:Object is LoaderInfo (this.root.loaderInfo).parameters.currentpage;.

    second attempt to put the variable on the page
    var myStr:String = this.root.loaderInfo.parameters.currentpage;
    trace (paramObj);
    trace (myStr);

    If (myStr is nothing)
    {
    myStr = "Flash is not reading JavaScript variables.:(";).
    myStr2 = "";
    }
    on the other
    myStr2 = "" Flash read the JavaScript variables! :)) ' "

    TF. Text = myStr; Display the URL on the page
    TF2. Text = myStr2 //Display Flash is happy

    [- End of Code-]


    Help, please.

    Thank you in advance.

    Wayne

    I found an answer to this for someone looking for an answer. I wrote the answer in another forum:
    http://Board.flashkit.com/Board/ShowPost.php?p=3946455&postcount=31

  • How to pass variable from bean to resourceID for the document map?

    Hello experts, I have added WebCenter workflow Microsoft document explore task in my ADF which as a parameter called resourceId.   I want to pass variable bean to this setting, because the content ID (doc name or ID) are determined dynamically.

    When I provide ${"UCM57Server #dDocName:1379596941565_CONTACT_OPTREGI"} as a resource in the expression ID, it works very well.    But samething if I attribute to a bean bean variable and entitlement in the form ${sessionScope.MyBean.docName}, it evaluates the variable bean in the form ${"UCM57Server #dDocName:1379596941565_CONTACT_OPTREGI"} and then below throws the exception:

    [2013-10 - T 02, 14: 34:50.369 - 04:00] [DefaultServer] [WARNING] [WCS-07219] [oracle.webcenter.doclib.internal.view.backing.ContentProvider] [tid: [ASSETS].] [ExecuteThread: '10' for the queue: "(self-adjusting) weblogic.kernel.Default"] [username: anonymous] [ecid: d50192415c689920:-7d97126c:1417a5d6a49: - 8000 - 000000000000008 a, 0] [APP: CreateContactWSProxy] invalid parameter combination: the login name specified by resourceId = ${"UCM57Server #dDocName:1379596941565_CONTACT_OPTREGI"} is not specified in the parameter connectionName = UCM57Server.

    Variable bean is defined as:

    private String Nomdoc = "${" UCM57Server #dDocName:1379596941565_CONTACT_OPTREGI "} ;

    Please give me some advice on how to pass the value to resourceId dynamically via the variable of bean.

    Thank you.

    private String Nomdoc = "UCM57Server #dDocName:1379596941565_CONTACT_OPTREGI";

    Without $ {}

  • Pass Variables in Flash from URL

    I have a real simple request, for some reason any cannot remove it. I have a url that looks like this: http://mywebserver/directory1/directory2/webpage.html?name=Mark

    I'm trying to shoot the variable 'brand' in a swf. The URL will change depedning on the user and I intend on adding additional variables as well (name, State, age, etc.).

    Easy to answer that? If so, please excuse my ignorance. I use actionscript 2, but would consider novice myelf that I'm more in the design.

    In my wait I thought to it. I resorted to the server side technology and the use of ASP to capture Request.QueryString. Then happening in the flash param and embed tags so switch to the dynamic text box in the swf file.

  • pass variables from .swf to .swf?

    I'm creating a game using Flash CS5 and AS3. The game will consist of two towers. In the first round, the player entered a name for their character, makes decisions about the appearance of their character, buys and sells products, etc.. Their desired name, selected appearance and the balance of the bank account are stored as variables. When the player reaches the end of the 1st round, they click a button to start round 2.

    I would like to develop 2nd round in a flash file separated due to the complexity of the 1 round file. However, I would like the 1st round to the cycle variables 2. 1st round is currently a .swf file embedded in an html page.

    What is the best strategy to pass the variables to round 2? I watched FlashVars and channels requests. I thought to load round2.swf into the same html as round1.swf page. I thought to take the player of round1.html to round2.swf, which would be integrated in round2.html. I cannot hardcode the values of the variables in a query string, because they are different for each user. Does it matter?

    I could use some general advice on the best approach and specific tips on the best encoding solution. So far, I've tried pieces of different options, but nothing went completely around. Thank you!

    No, you do not have a special server to use sharedobject.  Just create an instance at the beginning of each swf using the same first parameter:

    var so:SharedObject = SharedObject.getLocal ("yourgame", "/");  run only once, by swf

    so any time you want to save the data, use:

    so. Data.Name = yourname_tf.text;

    so. Data.score = yourscoreVar;

    so. Flush;

    any time you want to retrieve data, use:

    yournameVar = so.data.name;

    youscoreVar = so.data.score;

    //////////////////////////

    your different SWF will share the same data as long as first parameter ("votrejeu") is the same when you instantiate a sharedobject

  • [CS4/JS/AS] doScript pass variable from JS to as.

    I have this doScript I want to pass a variable (theFold) to the AppleScript, he appealed:

    #target "inDesign - 6.0.

    var theFold = ["Spotlight"]

    var myScriptFolderPath = ("" HD:Users: user: Desktop Macintosh: unlock V3.app: "");

    app.doScript (file (myScriptFolderPath), ScriptLanguage.applescriptLanguage, theFold);

    AppleScript is:

    adding property: "Macintosh HD:Users: user: Desktop:

    on the run (fromJava)

    tell application "Finder".

    set name2 to (fromJava text)

    set theName to add & name2 as alias

    my openSez (theName)

    end tell

    end of race

    on openSez (theName)

    tell application "Finder".

    updated folderContents (items in folder theName)

    if (folderContents count) > 0 then

    -scroll through each item in the folder

    repeat with i from 1 to count the folderContents

    put carryThrough (section i of folderContents)

    -if this is another folder, then recurse

    if carryThrough is 'file' then

    set theName to (carryThrough as string)

    my openSez (theName)

    else

    is locked to carryThrough is true then

    locked carryThrough false game

    end if

    end if

    end repeat

    end if

    end tell

    end openSez

    Is it possible to pass a variable when calling a script from a path?

    I get the error "cannot make < script > in Unicode text.

    Thanks for any help or comments.

    Peter

    The variables are passed to a variable called arguments. You don't need an execution handler or anything like that, just:

    Name2 ((point 1 deles de arguments) text value)

    end of race

  • Passing variables to Flash,... using the new method

    This is the method I used (note the '? ') pageLoad = $pageLoad"):

    < object classid = 'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase =' http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7, 0,19,0' width = '150' height = '710' >
    < param name = "movie" value =' images/menuSys.swf ? pageLoad = $pageLoad' / >
    < param name = "quality" value = "high" / >
    < embed src =' images/menuSys.swf ? $pageLoad = pageLoad' quality = "high" pluginspage = " http://www.macromedia.com/go/getflashplayer' type =" application/x-shockwave-flash"width ="150"height = '710' > < / embed >"
    < / object >

    -----------------------

    After the new method that corrects the ActiveX thing in Internet Explorer, I am now using this method:

    integrate flash animation
    AC_FL_RunContent)
    'codebase', ' http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8, 0,0,0',
    'width', '150'.
    'height', '710',
    'src', ' images/menuSys ? $pageLoad = pageLoad',.
    'quality', 'high ',.
    "pluginspage", ' http://www.macromedia.com/go/getflashplayer ", "
    "align", "middle",
    'play', 'true ',.
    'loop', 'true ',.
    "scale", "showall"
    'wmode', 'window ',.
    "devicefont", "false."
    'id', 'home',
    'bgcolor', '#ececec ',.
    'name', ' images/menuSys ? $pageLoad = pageLoad',.
    'menu', 'true ',.
    "allowScriptAccess", "sameDomain",.
    "a movie", "images/menuSys ? pageLoad = $pageLoad',.
    "salign", "
    ); end AC code

    -----------------------

    The problem I have is that the $pageLoad variable is passed is no longer. I use PHP to have a variable passed in the src string. Anyone have any ideas? I guess that PHP does not like to pass something to this embed method because it is located in an area commented <!-->... .but I am not sure. I even tried to use this method, ' images/menuSys ? pageLoad = <? $pageLoad? > '. It does not either. How to get us to the dynamic variables, passed through embed tags now?

    slam the neck... DUH!

    I forgot to 'echo '.

  • How to pass variables from cursor to a job

    Hello

    begin
    for cur_1 in (select  tab1.c1  c1 from  tab1)
    loop 
    dbms_scheduler.create_job(......
    ..........
    job_type =>plsql_block,
    job_action => 'declare verrm varchar2(100); '||
                           ' begin   for cur_2 in (select col1,col2 from tab2)'||
                             'loop prc( cur_1. c1,cur2.col1,cur.col2  ); end loop;  end;' ,----- gettin gerror undeclared identifier cur_1.c1
    ........)               
    end loop;

    user8731258 wrote:

    When reading about dbms_parallel, I have seen examples where the task is running an sql statement.
    Now, can we run a pl sql also block?

    Why would you run a PL/SQL block in parallel?

    Yes, the DBMS_PARALLEL_EXECUTE. Run_Task() sql_stmt parameter can accept an anonymous PL/SQL block as statement. For example

    --// example of passing a PL/SQL anon block as statement
    declare
      ..
    begin
            ..code..
    
            parallelSql := 'declare
                                    t1      timestamp;
                            begin
                                    t1 := SysTimestamp;
                                    update foo_tab set obj_type = lower(obj_type)
                                    where rowid between :start_id and :end_id;
                                    ProcessLog( fromTime=>t1, toTime=>SysTimestamp, rowsProcessed=>SQL%RowCount );
                            end;';
    
            DBMS_PARALLEL_EXECUTE.Run_Task(
                    task_name => taskName,
                    sql_stmt => parallelSql,
                    language_flag => DBMS_SQL.NATIVE,
                    parallel_level => 5
            );
    
            ..code..
    end;
    

    However, if you want code PL/SQL real multithreaded (no SQL), then that can be done using a parallel pipeline table function (PL/SQL function).

    So, I'll go for dbms_Scheduler thing. But still when I'm stuck on how to pass the value of date to work...

    In the example I posted using DBMS_JOB - cursor loop identifies the days of treatment. The loop then call ScheduleJob() to schedule a task of process to date. This procedure should look something like the following:

    // schedules a job to run procedure ProcessDailyInvoices for the specified day
    create or replace procedure ScheduleJob( day date ) is
            jid             number;
            dateParam       varchar2(100) default 'to_date(''$DATE'',''$FORMAT'')';
            plsqlBlock      varchar2(1000);
    begin
            dateParam := replace( dateParam, '$DATE', to_char(day,'yyyy/mm/dd') );
            dateParam := replace( dateParam, '$FORMAT', 'yyyy/mm/dd' );
            plsqlBlock := 'begin ProcessDailyInvoices( day=>'||dateParam||' ); end;';
    
            DBMS_JOB.Submit(
                    job => jid,
                    next_date => sysdate,
                    what => plsqlBlock
            );
    end;
    

Maybe you are looking for

  • Satellite Pro U400-130 will not stay in sleep or Hibernate

    Hello My laptop don't stay in sleep or hibernation. I use Win XPWithin 60 seconds it enter standby or hibernation mode it re-sboots! It is connected to an optical mouse of WiFi, a hub, the power adaptoer and speakers - all these fact don't disconnect

  • Need instruction how to install Windows XP on the Satellite A200-1AE

    Hello someone can write a statement of installation of Windows XP Professional on this laptop?What I need before instalation? I have a oryginal Windows XP. Drivers which I must have before? And what about the safe? I guess that my SATA drive PC and i

  • IM using windows 7. my volume control icon is missing, how do I get it back? __

    I don't know what went wrong, but after using my laptop last night and start using it now, I think not my volume control icon, I'm pretty sure that I saw him last night because I tried to change my volume settings while playing downloaded from music.

  • Post Global event

    Hello.  Looking for ideas on display / listen to world events.  Eager to update the text of a suite labelfield smsSendListener() sendMessage.  Little confused on how to proceed.  When you run ApplicationManager.getApplicationManager (.postGlobalEvent

  • Fluctuation of WLAN

    One of our customers to whom we are provinding Wireless solutions, with 60 Cisco WLAN AP, it is confgiured with 3 of the ssid. They have envionment WDS. Now, some end users out there (AP-associated) in construction to complain that they have been fac