Collecting data from forms

I am a convert from MS Expression Web to DW and loving it. I
am still learning the ropes however of this app.
I have figured out how to create HTML forms and used some
Spry in the process. I add a submit button and tested it. No errors
occurred so I figured I am fine so far, but how do I config the
form to email me the results of what my site visitors enter? I got
it to post to a another page, but that does not send the info to
me. So how do I do that part?
Thank you.

does the hosting for this site have a control panel or
CPanel?
If yes- look in there for icons for cgi-library or script
library. Most
CPanel sites have "formmail clone" installed with a link to
instructions on
how to use it.
if the hosting can use PHP scripting, i suggest this script:
phpformmail
1)go to
http://http://developerkarma.com/projects
-->phpformmail
download it.
extract the ZIP file.
**More detailed instructions are in the docs folder.
**These shortcut instructions are for version 1.07 of the
phpformmail
script.
2) open formmail.php in dreamweaver
Make the following changes (in code view, turn line numbers
on)
2a)
line 4,
define('CHECK_REFERER', true);
change to:
define('CHECK_REFERER', false);
reason: too many people use a firewall or Norton security to
restrict this.
2b)
Line 43
$referers = array('www.example.com', 'example.com');
change to the domain name of your web site.
reason: this probably isn't needed since we just turned the
referrer
checking off. but change it anyway.
2c)  *this is to hard-code the recipient address into
the php
file, where it is totally invisible *
Line 46
$recipient_array = array();
change to:
$recipient_array = array('me' =>
'[email protected]');
**of course, replace [email protected]  with
the email address
you want to receive the form data. Also note the single quote
marks.
reason: this sets the email address the form results will be
sent to.
You can also make a list of possible recipient alias values-
see the readme
in the docs folder.
2d) give the script a default "From" address to use.
Go to line 41
Change:
define('FROM', null);
to:
define('FROM', 'Example Name <[email protected]>');
substituting your name and email address.
3) now do a File-->Save As and save this file to within
this Local Site
folder. save it as anythingyouwant.php
4) in dw's File Panel, find anythingyouwant.php and upload it
to the remote
site.
5) Now open your form html file in dreamweaver,
5a)click the mouse into the form area, and select the
<form> tag on the
lower left margin of the design window.
In the Property Inspector, it should now show the properties
of the <form>
tag. In the Property Inspector, to the right of the ACTION
line, click the
folder icon and browse to and select the anythingyouwant.php
file
you've saved to within this site.
5b) now click within the form area and go to dw
menu-->Insert-->Form
Objects-->Hidden Field
This inserts a hidden form field.
In the property inspector, change the NAME/ID of this field
to: recipient
And the VALUE of this field to: me
the code should look like:
<input name="recipient" type="hidden" id="recipient"
value="me">
This tells the script to use the "me" recipient_alias value
as the email
address to send the form to.
5c: Do you have a form field to collect the user's email
address?
If yes, if this field is named exactly "email" then the
script will use the
user's email as the reply to in the outgoing email
6) Save and upload the form page.
Try the form from the website.
Note also- If you have any form fields that can accept
multiple values, like
a set of checkboxes or a select list, they need to have a
name/ID that endes
in pipebrackets- such as my_form_field[] so the script
processes that
field as an array
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/

Similar Messages

  • Is it possible using SQLite to collect data from an older SQL database?

    Is it possible using SQLite to collect data from an older SQL database? Where can I find a possible answer. Thanks in advance.

    There are 3rd-party tools (see comprehensive list at http://www.kenhamady.com/bookmarks.html) that provide extra pdf functionality on top of the pdf export from Crystal. 
    In the case of my Visual CUT software, you can use hidden formulas inside your Crystal report to generate form fields (pre-populated as well as empty) as part of the pdf export process.
    hth,
    ido

  • SPD 2010 Workflow "Collect Data From User" activity + Multi User selection

    Creating a SPD 2010 workflow. Trying to do something that I think should be simple.
    Use a “Collect Data From a User” activity to collect 0 to many “people” that should be affiliated with a piece of content (Discussion).
    After the assigned user completes the task (and after ensuring that there have actually been people associated from the task) I want to take the “people” from the Task list item and move them over to a field on the core Discussion item,
    that is also setup as a Person/Group field (allowing multiple).
    I have tried using both the “Set Field in Current Item” and “Update List Item” activities to map the data over (pulling from the Task item) and in both cases tried using every combination of “Return field as”
    values to do the mapping (i.e. ‘String’, ‘Display Names, Semicolon Delimited’, ‘User Ids, Semicolon Delimited’, etc). In some cases I get vague errors about not being able to do mapping (I get it), in others, it sets the
    data, but only to the first user entered in the Task’s instance of the field.
    After researching a bit, I find that the task from which I am pulling the data only contains one value, eventhough when I submitted the InfoPath form for the task, it accepted my data entry of two
    different users. So I think somewhere between the data entry into the custom task's infopath form, and the update of the same data field in the Task list, the value is being lost.
    I am sure this would be trivial with a custom activity, but we are exploring OOB ways of doing things and I have to imagine this is possible.
    Am I missing something here? This seems “buggy”…
    I am able to repro this in two different environments, using an out-of-box Discussion Board on an out-of-box Team Site.  If it matters Claims Based Auth against Windows only...
    TIA!
    Brian McCullough

    Hi brianpmccullough,
    Collect Data from a user action can only use to collect data from one user, and if you need to collect data from one than one user, please use “Assign
    a Form to a Group” instead, then it will create separate task for each user.
    And if we need to update a user and group field which with multiple selections enabled, we can only use lookup field to get only the one user. And
    to add multiple users to this field, we can only use String Builder, type the user account directly or get information from multiple fields.
    Best regards
    Emir Liu
    TechNet Community Support

  • Collecting Data using forms

    Need help soon or else I am going to throw my computer out
    the window.
    My problem is simple (or so I thought). I would like to
    collect data from people using a simple form. I thought all I would
    have to do is create the form (done this already), and have the
    form dump the info into a file (say a database). Then I could go
    into the database and look at the data at my leisure. This is
    proving far too difficult.
    Steps I have taken so far:
    1. I have created the form.
    2. I have created the associated database using ACCESS 2000.
    3. I have talked to my provider, they use ASP
    This is where I get stuck. I want the info dumped into my
    database. This apparently is not so easy. I have scoured the
    internet for a layman's tutorial, but to no avail. There is talk of
    a script required. Where does this go, in dreamweaver or elsewhere?
    I switched to dreamweaver from FrontPage recently because of
    the power behind the program. However, FrontPage is sooooo much
    easier when it comes to collecting data. Why is dreamweaver so much
    more difficult?
    I am getting frustrated and hope someone out there can give
    me a hand.

    >I switched to dreamweaver from FrontPage recently because
    of the power behind the program. However, FrontPage is >sooooo
    much easier when it comes to collecting data. Why is dreamweaver so
    much more difficult?
    Because FP relies on a propriatary server technology that is
    installed on the Windows Server.
    DW works with all kinds of operating systems, web servers and
    technologies. For some tasks, like the one you are inquiring about,
    it has server behaviors that essential write the server side
    scripts for you. Again, read the tutorial I mentioned.

  • Not able insert ,query data from forms

    hi,
    I am not able to insert data or query data from forms(10g devsuite).getting error frm-40505,frm 40508 .i am able to insert and select record from sql plus.the block ihave created is control block .it is connected to the table using the properties.
    should i do anything to insert record.please help

    the block ihave created is control block .it is connected to the table using the properties.A Control Block, by definition, is a non-database block. This means the block is not directly connected to a table so you have to manually display data in the block and any DML you want to perform on data in this block you must do manually as well.
    There are four database objects you can base your database block on; 1) a Table, 2) a View, 3) From Clause Query (basically an In-line View), and 4) a database stored procedure. I recommend you use one of these four methods rather than manually display your data.
    Craig...

  • Use Java to collect data from HTML

    Hi Guys
    I am doing a online stock trading project, the main part is to collect raw data from http://finance.yahoo.com User can retrieve the stock detail by inputting the right stock symbol, such as "AOL". I dont have too much problem in this part because yahoo provde a spreedsheet format to display the result. If you type the URL below, it can bring you a set of stock data separating by comma. So, I can use StringTokenizer(date, ",") to collect each data from yahoo into my system.
    ========================================================================
    http://finance.yahoo.com/d/quotes.csv?f=sl1d1t1c1ohgv&e=.csv&s=AOL&
    "AOL",15.57,"8/12/2003","4:01pm",+0.04,15.47,15.63,15.40,12097200
    ========================================================================
    However beside this function, I also need to search Stock Symbol, because user may only know the company name. Although Yahoo finance also provide this function, with no spreedsheet format provided. So, if I type the URL below, it will only give me a set of result BUT in HTML format.
    ========================================================================
    http://finance.yahoo.com/l?s=AOL&t=S&m=
    ========================================================================
    So, can anyone tell me what is the best way to collect data from a HTML page? Or anyone know any good stock quoting sites which also provide spreedsheet format?
    Thank you very much
    Kel

    I am doing a online stock trading project, the
    the main part is to collect raw data from
    http://finance.yahoo.com
    Sounds fun.
    So, can anyone tell me what is the best way to
    to collect data from a HTML page? Or anyone know any
    good stock quoting sites which also provide
    spreedsheet format?I really don't know any other stock quote sites. But if you want to implement a search function for stock names, I would do it like this
    1) Code the HTTP SUBMIT/POST to lookup the possible stock names
    2) Use XSL to filter out the HTML path to the table with results, the layout is consistent, so there are no strange exceptions. You can check the DOM structure by using Mozilla's DOM inspector. Just write down the path to the TABLE element and select it, and transform it to CSV for example.
    3) Reparse the CSV to fill some boxes
    To possibly save some server load use a small fixed size in memory cache to store N requests based on some strategy.
    The other part is actual a separate part of what you want to code and should be a separate class in which you can feed the stock name.
    If the user types in a bad stock name, you can retrieve a list of possible names using the input as the company name.
    Greets.
    Maybe there is a SOAP service out there somewhere.

  • RICS0001:Internal Error,unable to process the collected data from the device.

    Hi all,
    I've got the following error in Inventory Collection: 'RICS0001:Internal Error,unable to process the collected data from the device.'
    System is CW LMS 2.6
    If I search the web I get the following Cisco document:
    http://www.cisco.com/en/US/products/sw/cscowork/ps2073/prod_troubleshooting_guide09186a008036dff2.html
    '...in the log directory look for IC_Server.log.'
    IC_Server.log:
    [ Di Nov 16  15:54:27 CET 2010 ],INFO ,[Thread-25],com.cisco.nm.rmeng.inventory.ics.core.ICSCore,173,Got Async Request, User Name :admin
    [ Di Nov 16  15:54:27 CET 2010 ],INFO ,[Thread-25],com.cisco.nm.rmeng.inventory.ics.core.ICSCore,179,Request ID is : 1289919235488
    [ Di Nov 16  15:54:27 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.inventory.ics.core.CollectionController,309,Started processing device ID: 3341
    [ Di Nov 16  15:54:27 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.RMELogger,724,com.cisco.nm.rmeng.util.db.DatabaseConnectionPool,getConnection,59,Inside ICSDatabaseConnection, MAX_COUNT =20
    [ Di Nov 16  15:54:28 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.inventory.ics.core.CollectionController,387,Started processing device Name: 9.152.255.101
    [ Di Nov 16  15:54:28 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,g$eval,103,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:g$eval:populating ContainmentAG attributes, begins...
    [ Di Nov 16  15:54:28 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,populatingTheChassis,110,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:populatingTheChassis:ContainmentAG attributes,collection from the device begins...
    [ Di Nov 16  15:54:29 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,populatingTheChassis,147,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:populatingTheChassis:ContainmentAG attributes,collection from the device successful...
    [ Di Nov 16  15:54:29 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,populatingTheChassis,149,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:populatingTheChassis:ContainmentAG attributes,population begins...
    [ Di Nov 16  15:54:29 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,populatingTheChassis,216,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:populatingTheChassis:Before method getSlotsConfiguredStatistics
    [ Di Nov 16  15:54:29 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,populatingTheChassis,225,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:populatingTheChassis:After method getSlotsConfiguredStatistics
    [ Di Nov 16  15:54:29 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,populatingTheChassis,245,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:populatingTheChassis:ContainmentAG attributes,population completed...
    [ Di Nov 16  15:54:29 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.util.logger.XDILogger,77,com.cisco.nm.xms.xdi.pkgs.SharedInventoryCatIOS.ContainmentAGI_ENTITY_Mib_Non_Modular,g$eval,105,com.cisco.nm.xms.xdi.pkgs.SharedInventoryRouter:ContainmentAGI_ENTITY_Mib_Non_Modular:g$eval:populating ContainmentAG attributes, ends...
    [ Di Nov 16  15:54:43 CET 2010 ],INFO ,[Thread-14],com.cisco.nm.rmeng.inventory.ics.core.CollectionController,477,DP time is 15 seconds for 9.152.255.101
    [ Di Nov 16  15:54:44 CET 2010 ],ERROR,[Thread-14],com.cisco.nm.rmeng.util.logger.RMELogger,770,com.cisco.nm.rmeng.inventory.ics.invchange.AddInvChange,effect,33,Unexpected error :com.sybase.jdbc2.jdbc.SybSQLException: ASA Fehler -193: Primärschlüssel für Tabelle 'PhysicalElement' ist nicht eindeutig
        at com.sybase.jdbc2.tds.Tds.processEed(Tds.java:2834)
        at com.sybase.jdbc2.tds.Tds.nextResult(Tds.java:2156)
        at com.sybase.jdbc2.jdbc.ResultGetter.nextResult(ResultGetter.java:69)
        at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:220)
        at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:203)
        at com.sybase.jdbc2.jdbc.SybStatement.executeLoop(SybStatement.java:1766)
        at com.sybase.jdbc2.jdbc.SybStatement.execute(SybStatement.java:1758)
        at com.sybase.jdbc2.jdbc.SybPreparedStatement.execute(SybPreparedStatement.java:619)
        at com.cisco.nm.rmeng.inventory.ics.dbrep.DBRecord.insert(DBRecord.java:50)
        at com.cisco.nm.rmeng.inventory.ics.util.ICSDatabaseConnection.insert(ICSDatabaseConnection.java:91)
        at com.cisco.nm.rmeng.inventory.ics.invchange.AddInvChange.effect(AddInvChange.java:29)
        at com.cisco.nm.rmeng.inventory.ics.server.InvDataProcessor.processInvData(InvDataProcessor.java:394)
        at com.cisco.nm.rmeng.inventory.ics.core.CollectionController.run(CollectionController.java:849)
        at java.lang.Thread.run(Thread.java:534)
    [ Di Nov 16  15:54:44 CET 2010 ],ERROR,[Thread-14],com.cisco.nm.rmeng.inventory.ics.server.InvDataProcessor,448,ASA Fehler -193: Primärschlüssel für Tabelle 'PhysicalElement' ist nicht eindeutig
    com.sybase.jdbc2.jdbc.SybSQLException: ASA Fehler -193: Primärschlüssel für Tabelle 'PhysicalElement' ist nicht eindeutig
        at com.sybase.jdbc2.tds.Tds.processEed(Tds.java:2834)
        at com.sybase.jdbc2.tds.Tds.nextResult(Tds.java:2156)
        at com.sybase.jdbc2.jdbc.ResultGetter.nextResult(ResultGetter.java:69)
        at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:220)
        at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java:203)
        at com.sybase.jdbc2.jdbc.SybStatement.executeLoop(SybStatement.java:1766)
        at com.sybase.jdbc2.jdbc.SybStatement.execute(SybStatement.java:1758)
        at com.sybase.jdbc2.jdbc.SybPreparedStatement.execute(SybPreparedStatement.java:619)
        at com.cisco.nm.rmeng.inventory.ics.dbrep.DBRecord.insert(DBRecord.java:50)
        at com.cisco.nm.rmeng.inventory.ics.util.ICSDatabaseConnection.insert(ICSDatabaseConnection.java:91)
        at com.cisco.nm.rmeng.inventory.ics.invchange.AddInvChange.effect(AddInvChange.java:29)
        at com.cisco.nm.rmeng.inventory.ics.server.InvDataProcessor.processInvData(InvDataProcessor.java:394)
        at com.cisco.nm.rmeng.inventory.ics.core.CollectionController.run(CollectionController.java:849)
        at java.lang.Thread.run(Thread.java:534)
    [ Di Nov 16  15:54:44 CET 2010 ],ERROR,[Thread-14],com.cisco.nm.rmeng.inventory.ics.core.CollectionController,861, Exception occured in process method while processing: 9.152.255.101 ASA Fehler -193: Primärschlüssel für Tabelle 'PhysicalElement' ist nicht eindeutig
    ICSException :: ASA Fehler -193: Primärschlüssel für Tabelle 'PhysicalElement' ist nicht eindeutig
        at com.cisco.nm.rmeng.inventory.ics.server.InvDataProcessor.processInvData(InvDataProcessor.java:463)
        at com.cisco.nm.rmeng.inventory.ics.core.CollectionController.run(CollectionController.java:849)
        at java.lang.Thread.run(Thread.java:534)
    I don't know where the German error message comes from. The whole system is English. Translation is: "ASA error -192: primary key for table 'PhysicalElement' isn't distinct'
    Thanks for your help!
    Alex

    Well known issue in LMS 2.6. Most likely you are hitting CSCsm97530. As a temporary solution you could remove and re-add problematic device from CS. To get a permanent fix you need a patch (provided by TAC).

  • Export data from forms to excel

    HI
    In my application im trying to export data from forms to excel.Everything works fine.First of all im using get_file_name for selecttion of file and passing it to ole2 package as follows
    FILENAME := GET_FILE_NAME(File_Filter=> 'XLS Files (*.xls)|*.xls|',dialog_type=>SAVE_FILE);
         ARGS:=OLE2.CREATE_ARGLIST;
         oLE2.ADD_ARG(ARGS,Filename);
         OLE2.INVOKE(WORKSHEET,'SAVEAS',ARGS);
    The problem is if i select an existing file the get_file_name itself raises one message ".....file already exists Replace an existing file?"
    Similarly the excel also also raises the same message "".....file already exists Replace an existing file?".I want to suppress atleast one of them? Could anyone help for this problem?
    appreciate ur help
    THANKS

    Looks like...
    ole2.set_property( ex_app, 'DisplayAlerts', false );
    where "ex_app" variable Excel Application -
         ex_app:=     ole2.create_obj('Excel.Application');
    and more Question:
    When i close excel app - in process viewer i see "excel.exe"
    ole2.release_obj don't work :(

  • Exporting Data from Forms to Excel

    Hi,
    How can I export the data from Forms to Excel like which Export function in the Oracle Applications.
    Thank you,
    Voon

    Hello,
    By using dde package you can export the data from Form to Excel. Here is the sample code which i have used. you can write this code in the when_button_pressed trigger.
    declare
    appl_name varchar2(255);
    channel_id pls_integer;
    application_id pls_integer;
    x number;
    y number;
    V_TIME VARCHAR2(30);
    begin
    if :global.application_id is not null then
    message('Application already open');
    else
    appl_name := 'c:\program files\microsoft office\office\excel.exe';
    :global.application_id := dde.app_begin(appl_name,dde.app_mode_normal);
    end if;
    if :global.channel_id is not null then
    message('Communication channel already established.');
    elsif :global.application_id is null then
    message('Application must be launched first.');
    else
    :global.channel_id := dde.initiate('excel','book1');
    end if;
    DDE.POKE(:global.channel_id,'R1C1','Col1 Heading',DDE.CF_TEXT,1000);
    DDE.POKE(:global.channel_id,'R1C2','Col2 Heading',DDE.CF_TEXT,1000);
    DDE.POKE(:global.channel_id,'R1C3','Col3 Heading',DDE.CF_TEXT,1000);
    FIRST_RECORD;
    X := No of Records;
    for y in 2..x
    loop
    launch_excel is a program unit--
    launch_excel(y,:global.channel_id,:block.item1,:block.item2,::block.item3);
    next_record;
    end loop;
    FIRST_RECORD;
    EXCEPTION
    WHEN DDE.DDE_APP_FAILURE THEN
    MESSAGE('Could not launch application for DDE operations.');
    RAISE FORM_TRIGGER_FAILURE;
    WHEN DDE.DDE_INIT_FAILED THEN
    MESSAGE('Could not initialize DDE communication channel.');
    RAISE FORM_TRIGGER_FAILURE;
    WHEN DDE.DMLERR_NO_CONV_ESTABLISHED THEN
    MESSAGE('Could not establish DDE communication channel.');
    RAISE FORM_TRIGGER_FAILURE;
    WHEN OTHERS THEN
    MESSAGE('Error: '&#0124; &#0124;TO_CHAR(SQLCODE)&#0124; &#0124;' '&#0124; &#0124;SQLERRM);
    RAISE FORM_TRIGGER_FAILURE;
    END;
    LAUNCH_EXCEL
    PROCEDURE LAUNCH_EXCEL(
    y in number,
    channel_id pls_integer,
    param1 varchar2,
    param2 VARCHAR2,
    param3 varchar2) IS
    v_rowno varchar2(20) := 'R'&#0124; &#0124;y;
    BEGIN
    dde.poke(channel_id,v_rowno&#0124; &#0124;'C1',col1,dde.cf_text,2000);
    dde.poke(channel_id,v_rowno&#0124; &#0124;'C2',col2,dde.cf_text,2000);
    dde.poke(channel_id,v_rowno&#0124; &#0124;'C3',col3,dde.cf_text,2000);
    EXCEPTION
    when others then
    message('Error --'&#0124; &#0124;sqlcode&#0124; &#0124;sqlerrm);
    message('Error --'&#0124; &#0124;sqlcode&#0124; &#0124;sqlerrm);
    raise form_trigger_failure;
    END;
    null

  • How can i control NI-6115 to collect data from 2 channels and save as 2 files?

    I want to program NI-6115 card to collect data from 2 channels and save the two data into two different filenames that i specified?
    How do i write in labview codes?

    Calibur,
    LabVIEW includes a number of examples that demonstrate how to acquire analog input data and write it to disk. Dependent upon the type of file you would like to use, I would suggest that you examine one of the following examples:
    Cont Acq to File (binary).vi
    Cont Acq to File (scaled).vi
    Cont Acq to Spreadsheet File.vi
    With regards to writing each channel's data to a separate file, you will need to use the Index Array function to generate two 1-D arrays, each containing data for one channel. These arrays can then be written to separate files using two Write File functions.
    Good luck with your application.
    Spencer S.

  • Using LabVIEW 6.1 to Collect Data from FieldPoint Modules

    I’m just starting off and am stumbling at the first hurdle. How to I collect data from fieldpoint in Lab View 6.1 (yes I no its old)
    Thanks

    Basically, the process is very simple. You first define the channels you want to measure in either FieldPoint Explorer or MAX. Which tool you use depends on how old the drivers are that you are using. Originally there was a seperate program for configuring FP but they eventually rolled it into MAX.  In any case once you have the channels defined (and named) yu simply use the FP VIs to read the channels, refering to them by name.
    One warning about the original FieldPoint: It is not an industrial product in any sense of the word. The system is very, very sensitive to heat, shock and vibration.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Explorer failed to collect data from SE6920 array

    Hi,
    Any kind soul out there can provide advice how can I collect data from SE6920 using the explorer command ?
    The man page of explorer says that to collect data from SE6920 aray, an input file "se6920inout.txt" with login info
    must be exist under the /etc/opt/SUNWexplo directory of the server connected to th array.
    However, the data collection failed while trying to retrieved from the array. The error as follow :
    Gathering data for SE6920 machine at 10.12.22.39...
    Nov 18 09:24:12 sslab-79[25355] se6920: ERROR Data collection for 10.12.22.39 failed because the /tmp directory is either 100 percent full,
    patch 114591-22 or higher is not installed on the SP, or fix for BugID 6448763 has not yet been implemented.
    Thanks very much reading this message.

    If all of the files are in the same folder you can use List Folder to list all of the files based on a pattern. You can then use this to auto-index a for loop.

  • Collecting data from two R3 source systems

    Dear All,
    Scenario:
    We are in the process of implementing SAP BI 7.0 in our organisation.
    We have a single BI server (7.01) collecting data from two source
    systems from two different divisions within the group.
    The first system is of Company 1 where we have IS u2013 MILL (ECC 6.0).
    BI has been implemented and running successfully in this unit. Now we
    have started implementing BI in the second unit u2018Company 2u2019
    where the industry specific solution IS u2013 AFS (ECC 6.0) is the source
    system.
    We are activating BI Standard Content for AFS. When we try to upload
    master data, we face a problem.
    The master data (0Division, 0Mat_Grp_3, etc.) is already loaded with
    IS Mill data (data from the first source system). Now when the data is
    loaded from IS AFS (second source system), wherever, the same key
    exists in the info object, we notice that the existing data is
    overwritten by the freshly loaded data, thus causing loss of existing
    data.
    A typical example is as follows:
    BW Data u2013 Source system 1 u2013 (Before upload of data from source system
    2):
    0Division
    99         EN          Stock Transfer Out
    AFS Data (Source system 2) -
    0Division 
    99         EN             STO
    BW Data u2013 Source system 1 u2013 (After upload of data from source system 2):
    After uploading the master data from AFS, the Values areu2026
    0Division
    99        EN            STO
    The original data is lost.
    Similar problem is noticed with other master data as well.
    Please suggest the right methodology for upload of master data when
    data to BW is sourced from two systems. How to retain the data in the
    same Infoobject but at the same time maintain distinction between the
    data from the two systems.
    We donu2019t find any specific mention of such scenarios in the standard
    documentation.
    Will such a problem recur when we upload transactional data?
    Regards,
    Aslam Khan

    Hi Aslam,
                Please use some compounding attribute for your master data object like Sourcesystem ID.  While loading the master data from different source systems... you should have two different flows to fill the same master data object.  In each flow you can specify the Source system ID as constant value ... eg SS1 (Source system 1)  and SS2(Source system 2) in each of the data flows.   This should solve your issue without overwriting your master data
    Thanks
    Kishore

  • I have developed one application software using Labview 8.5 in which i am collecting data from 5 temprature controllers on serial line.

    I have developed one application software using Labview 8.5 in which i am collecting data from 5 temprature controllers on serial line.
    This software is done and successfully installed on customer side.
    Now the customer want this software to be run on server and some fixed number of clients should access this with some login security.
    Is this fascility available with National Instruments in which i can installed this standalone application in server and allow some clients to access this with
    proper login?
    Regards,
    Vaibhav

    Yes, that is possible. Multiple clients can access the VI using Web Publishing tool and control the VI operation. However, only one client has the control of the VI at one instance. The client needs to right click on the web page displaying the front panel of the running VI and ask for control and then release control after the execution to let other clients to ask for the control subsequently. The LabVIEW VI needs to be running upon the server computer since closing LabVIEW also closes the Web Publishing server and disconnects the currently connected clients. 
    Please check this link http://zone.ni.com/devzone/cda/epd/p/id/3797
    You might want to create a stand alone executable for the same and then publish it over the internet for access by your desired clients. In that case, check this link http://digital.ni.com/public.nsf/allkb/3A0087DBE9D31F9286256B19000A2DAE?OpenDocument

  • FM to collect data from InfoProviders

    Hi,
    What is the FM to collect data from InfoProviders and write back to the Planning buffer?
    Thanks. Have a great day.

    Hi Crystal,
      Adding to Anil's reply .
      You can use RSDRI_INFOPROV_READ_RFC  function module .
      because in  RSDRI_INFOPROV_READ you need to give package size .
      & in  RSDRI_INFOPROV_READ_rfc .All data comes in single package .
    Also there is one Demo program which would help you to know its' functionality .
      RSDRI_INFOPROV_READ_demo (in SE 38 ).
    Regards,
    Aparna

Maybe you are looking for

  • How do I import pictures from computer files more than one at a time ?

    I recieved the adobe photoshop elements 10 for x mas and no problems with downloading the program but i am having a time importing pictures from my computer files taken from various camaras. the problem is that i can only import pictures from my file

  • Can I use my Mac OS 9 emulator (classic mode) with OS 10.5 Leopard?

    Hello, This was the closest forum I could find to ask this question so please forgive me if it's not categorized properly. I'm currently running OS 10.4 Tiger on my Mac and my OS 9 emulator works great. I've heard rumors that if I upgrade to OS 10.5

  • Define variable in SQL Loader Control File

    Hi, I have an input file where the first line is the header record, followed by the detail records. For the processing, I do not need to store the fields of the header record but I need a date field from this header record and store in as part of the

  • Caching the web service data in Flex 3.0

    Hi, I want to do the following task I am loading about 10000 records from MS SQL database into Flex data grid using web service on CreatinComplete event of an application in Flex 3.0.Now if I have done this and I press Browser refresh button, this ti

  • Songs/albums on ipod classic invisible on music sync page, can't remove

    I noticed that my ipod classic 160gb running 2.0.4 has songs on it that appear when looking at "music" from the left pane of itunes, but when I look at the sync page under the music tab, the albums do not show in the "albums" list. I'm manually synci