Help creating .csv from forms 6i
Hello all, I we are running forms 6i webforms. The webforms are located on Unix. What is the best way to take the data from the webforms and create a .csv file? The ultimate goal is to have a file the user can open in excel. It would be great if Pseudo or actual code could be provided. How can would I go about creating a file with the file||datetime and have the user open the file. I'm thinking about calling reports and then using web.show_document, but how could I rename the Oracle report file? Any help would be greatly appreciated. Thanks.
Hello,
You can take customize the code and put in the required trigger.
Cheers,
Suresh
DECLARE
AppID PLS_INTEGER;
ConvID PLS_INTEGER;
Buffer VARCHAR2(240);
ROWCOL VARCHAR2(20);
CNT NUMBER;
BEGIN
AppID := DDE.App_Begin('C:\Program Files\Microsoft Office\OFFICE11\excel.exe C:\test1.xls', DDE.App_Mode_Minimized);
ConvID := DDE.Initiate('EXCEL','C:\test1.xls');
GO_BLOCK('BLOCK2');
FIRST_RECORD;
FOR I IN 1 .. 500 LOOP
CNT := 0;
FOR J IN 1 ..6 LOOP
BUFFER := '';
CNT := CNT + 1;
DDE.Request (ConvID, 'R'||I||'C'||J, Buffer, DDE.Cf_Text, 240);
BUFFER := RTRIM(LTRIM(BUFFER));
BUFFER := SUBSTR(BUFFER,0,LENGTH(BUFFER)-2);
IF BUFFER IS NULL THEN
EXIT;
END IF;
COPY(BUFFER,'BLOCK2.OUTPUT'||TO_CHAR(CNT));
END LOOP;
IF BUFFER IS NULL THEN
EXIT;
END IF;
CREATE_RECORD;
END LOOP;
DDE.Terminate(ConvID);
DDE.App_End(AppID);
FIRST_RECORD;
END;
Similar Messages
-
Help create a start form.
I am just started learning workflow. Please tell me how to create a Start Forms.
I am create my first workflow and create a ABAP dictionary structure to hold the fields. Put the dictionary structure in a workflow container element. But when I try to create start forms in Basic Data i get a message saying "The container does not contain a suitable element for the form data".Hi Igor,
Have you created the Workflow container with structure? Please try with any standard structure like ekpo.
Or if you trying with any Custom structure, then make sure that the structure is active.
If everything fine, but still not working then, in the workflow container tick the check box of import and export in Properties Tab.
Thanks,
Viji. -
Help creating a grid/form?
Hello, I'm new to Illustrator here (I have an older version when needed, but I used to use Freehand)
I'm used to setting up grids/forms by creating the first row, then duping it, aligning it, then dupe the aligned copy on down the page. (Cmd D)
(takes just a few seconds).
How do you do this in Illustrator?
Copy/Paste or option drag 30-40 times .... seems rather ineffective?
Also, I can't figure out how to get multiple items to align (left) and distribute(heights) with the paths touching without having to manually position them.
(It's one thing to position the first dupe, and then have it auto-align all subsequent dupes, but it's making me grind my teeth to manually position each row all the way down the page).
Can someone point me in the right direction here?
Thanks for any help or pointers!Pictrix,
1. If I'm going to make grids (with variable widths of cols, and random numbers of rows) is that better accomplished in InDesign? Probably, but you may DirectSelect and move gridlines; and at some stage you have to decide the number of rows/columns.
2. Illustrator won't print to my printer (Photoshop does, however). I can get a PDF from AI to print though... do I use "Bridge" to tell it where to put the PDF's and what to do with them? (I'm a REAL newbie to Bridge, and everything but PS). I didn't see any options for that in the "print" dialog in AI. You should use a PostScript Driver (emulation) if printing from Illy, otherwise PDF is the way.
3. Does Illustrator only allow for one page per document? Basically, especially in older versions (where you may use Page Tiling), but multiple pages are easier in InDesign in any case.
4. Is there a pref setting that will just highlight the bounding box of the selected GROUP, rather than highlighting all the paths within the group when it is selected? No, unless introduced in later versions.
(It's more than a little discouraging that the first 3 things I try, aren't happening LOL-- although it did open up Freehand docs just fine, so there is that)
Thank you for your time.
--pictrix -
Auto Create Filename from Form Fields
Hello all,
I am trying to find a way that I can save a form with a certain filename. I have the form create and all set to go. The user will be input some information into boxes. For instance I will have a Name box and a Date box. After the user is done filling out the form I would like the filename to be these two input boxes. Is there a way to do this? So basically I need to take these two form fields and have them be saved as the filename. Any help would be great. Thanks alot.You can export the data form the PDF using the FormDataIntegration service.
Once you have the data in xml format, you can use a setValue and concatenate the value of the two nodes you're interested in.
Jasmin -
Need help creating a simple form in Dreamweaver CS3!!
I'm trying to create a form in Dreamweaver CS3, and while I have the form built I'm confused as to how to make it actually function. What I'm trying to do is create a form that when the visitor clicks submit, the data is emailed to me. Can someone help me figure out how to accomplish this?
Thanks so much!Ute's answer is spot on - you need a FormMail script to process the form. Check with your host (or via the control panel) and see if they supply such a form for free.
If not, google for "formail script' and you'll find quite a few available - all free to use.
You just need to add a couple of lines to your html code, change a few things in the formmail script and the form will process. Sounds complicated but most scripts come with a help file to help you get off the ground.
Nadia
Adobe® Community Expert : Dreamweaver
http://www.perrelink.com.au
Unique CSS Templates |Tutorials |SEO Articles
http://www.DreamweaverResources.com
http://csstemplates.com.au/
http://twitter.com/nadiap -
Help creating scrollable content/ form
I am trying to create a scrollable from for a mobile phone,
but how can i get the form to scroll?
i also want to be able to have a large menu and form scroll
on the same screen.
does anyone know how to do this?Hi soundsdead,
What is your experience of Flash development? If you are new
to Flash, then I suggest going through as many tutorials as you
can, because if someone tries to explain a scrollable menu and form
to you in one go you will become very confused very quickly.
There are lots of tutorials here:
http://www.adobe.com/devnet/devices/flashlite.html
and here:
http://www.adobe.com/devnet/flash/
If you have been using Flash for a while, then developing a
scrollable menu and form for mobile would be exactly the same as
you would do it for the web.
Regards -
I have a set of logs that that I need to run some analysis on. I'm trying to convert them to a CSV format so I can analyze them with Excel or LogParser.
The basic process I'm trying to implement is:
1. Search entries for ERROR in log file
2. Split components of the error line
3. Create output CSV.
I was able to address item 1 with this this statement:
Select-string -path C:\my\logfile\file.log -Pattern "\W\sERROR:\s" -CaseSensitive -AllMatches | select -expand line
This is a sample of the output lines I'm getting
01/31/2014 14:07:00 USERC <25000> ERROR: 1222 - SQLSTATE: HYT00 - Execute failed: Lock request time out period exceeded. on line 9461 in Quote Entry - Payable, Accounts
01/31/2014 14:07:11 USERD <25000> ERROR: 1222 - SQLSTATE: HYT00 - Execute failed: Lock request time out period exceeded. on line 324491 in &Orders on object SELECT_ORD_BTN.
01/31/2014 15:49:34 USERG <25000> ERROR: 50000 - SQLSTATE: 42000 - Execute failed: \n\nNo Lines entered. Must finish entering lines. on line 281522 in Quote Entry - Payable, Accounts
01/31/2014 15:51:01 USERH <25000> ERROR: 50000 - SQLSTATE: 42000 - Execute failed: \n\nNo Lines entered. Must finish entering lines. on line 281522 in Quote Entry - Payable, Accounts
I'm having issues breaking these lines into its components. Ideally, I'd like to create an output CSV file that breaks the components of these lines thus:
DATE, TIME, USER, ERROR, ERRORID, MESSAGE
Following on the method I mentioned above, I was planning to pipe the output into a foreach and perhaps use regex to extract the parts of the line, but I'm having difficulties. I have the regex figured out, and I have tried combining them with the -split
operator and the select-string, but I'm not having much luck.
What is the best method to process these lines so I can split them at specific locations in the string?
Using one of the example outputs above, I need to split the line in the following spots (note the commas)
01/31/2014, 15:51:01, USERH, <25000> ERROR:, 50000 - SQLSTATE:, 42000 - Execute failed: \n\nNo Lines entered. Must finish entering lines. on line 281522 in Quote Entry - Payable, AccountsWell, I ended up using
$mydate=$line.split(" ")[0]
$myTime=$line.split(" ")[1]
... etc
to extract the first 6 fields in the line as they're all (more or less consistently) separated by spaces. For the final (message) field, I used your recommendation above.
I redistributed the fields so they'd split at the spaces and I concatenated
01/31/2014 | 15:51:01 | USERH | <25000> | ERROR: 50000 - | SQLSTATE: 42000 - | Execute failed: \n\nNo Lines entered. Must finish entering lines. on line 281522 in Quote Entry - Payable, Accounts.
Thanks for pointing me in the right direction. -
Help: Changing password from Forms 5.0
I want to design an application which should confirm previous user password and give the option to change it, for specific user....
Thanks in Advancehi
I will email you a form
null -
Need Help Creating Manual Tabular Form
Hello,
I am trying to use Denes Kubicek example. [http://htmldb.oracle.com/pls/otn/f?p=31517:170:370485826041084::NO]
I am not getting any errors; however, my table is not getting updated.
Updatable Query:
SELECT DISTINCT
apex_item.HIDDEN(1,PE_BID) PE_BID,
apex_item.HIDDEN(2,PE_TERM_CODE) PE_TERM_CODE,
apex_item.HIDDEN(3,PE_CRN) PE_CRN,
apex_item.HIDDEN(4,PE_INSTRUCTOR_ID) PE_INSTRUCTOR_ID,
PE_BID PE_BID_DISPLAY,
SUBSTR(PE_STUDENT_NAME, (INSTR(PE_STUDENT_NAME, ',') + 1),77)|| ' ' ||
SUBSTR(PE_STUDENT_NAME, 1,(INSTR(PE_STUDENT_NAME, ',') - 1)) Stu_Name,
PE_ATH_CODES Sport,
PE_CRN PE_CRN_DISPLAY,
PE_CRSE_SUBJECT || ' ' || PE_CRSE_NUMBER || '.'||PE_CRSE_SECTION COURSE,
apex_item.SELECT_LIST(5,PE_SATTEND,'YES;YES,NO;NO') PE_SATTEND,
apex_item.SELECT_LIST(6,PE_SPERFORM,'YES;YES,NO;NO') PE_SPERFORM,
apex_item.SELECT_LIST(7,PE_MAKE_APPT,'YES;YES,NO;NO') PE_MAKE_APPT,
apex_item.TEXTAREA(8,PE_COMMENTS,3,30) PE_COMMENTS,
apex_item.TEXT(9,PE_ACTIVITY_DATE,15) PE_ACTIVITY_DATE
FROM PC_ST_TB_INSTR_ATHL_PR_ENTRY
WHERE PE_TERM_CODE = :P4_TERM
AND (PE_INSTRUCTOR_ID = :P4_DISPLAY_INSTRUCTOR_ID
OR PE_INSTRUCTOR_ID = :P4_DISPLAY_INSTRUCTOR_ID2)Page Process:
DECLARE
v_updatecount NUMBER := 0;
BEGIN
FOR i IN 1 .. apex_application.g_f01.COUNT
LOOP
UPDATE PC_ST_TB_INSTR_ATHL_PR_ENTRY
SET pe_sattend = apex_application.g_f05(i),
pe_sperform = apex_application.g_f06(i),
pe_make_appt = apex_application.g_f07(i),
pe_comments = apex_application.g_f08(i),
pe_activity_date = apex_application.g_f09(i)
WHERE pe_instructor_id = apex_application.g_f04(i)
AND pe_bid = apex_application.g_f01(i)
AND pe_term_code = apex_application.g_f02(i)
AND pe_crn = apex_application.g_f03(i);
v_updatecount := v_updatecount + 1;
END LOOP;
:P4_DISPLAY_COUNT := v_updatecount;
END;I can't use the wizard because it appears to only allow for 2 primary keys. My table has 4.
Regards,
KellyHi,
The first thing to do is concatenate the HIDDEN items in front of a displayed item:
SELECT DISTINCT
apex_item.HIDDEN(1,PE_BID) || apex_item.HIDDEN(2,PE_TERM_CODE) || apex_item.HIDDEN(3,PE_CRN) || apex_item.HIDDEN(4,PE_INSTRUCTOR_ID) || PE_BID PE_BID_DISPLAY,
..etc..That way, you don't have to worry about the first 4 columns in the report.
Then you need to double-check that the process is actually being run. Immediately after the BEGIN line, enter:
raise_application_error(apex_application.g_f01(1));When you submit the page, you should get an error showing the PE_BID value in the first row. If you don't get the error, then the process isn't being run - in which case, check the process to (A) make sure it is triggered by the Submit button and (B) is before any other sequence (especially if you have a "reset page" process). If you do get the error, but there is no value shown, then f01(1) isn't pointing to the PE_BID value - in which case, you should do a View Source on the loaded page and check for input items with a name attribute of "f01". If you get the error and the value is correct, then remove the above line and let the process run - it could be that concatenated the columns may resolve the issue. If, after all that, the process still won't save the data, let us know.
Andy -
Help creating LogIn from Flash tutorial
I need to create a LogIn, that every user will have the SAME
password, and SAME user ID.
I have been working with the Flash LogIn Component. Now, I'm
wondering if this will work.
Suggestions? Recommendations?? (I also can't figure out the
basic: adding in the name/password...)
Thanks in ADVANCE.
Krys
[email protected]Quicktime has never been able to read flash 6, 7 or 8 files. If you used:
Menu--File-->Export Movie--Quicktime Video. Flash will export the Flash to version 5. This will work. Make no difference what publish settings or Flash version you have...
Now if you use: Menu--File-->Export Movie--Quicktime. Flash will export your video to what ever you have in your publish settings. If you have your publish settings set the version 5, this will work. If you have your publish settings to 6, this won't work.
I You bet your using export to Quicktime instead of Quicktime video. And if you did use export to to Quicktime your publish settings are set to version 6...
There are 2 exports to Quicktime in Flash:
Quicktime...
Quicktime Video........ -
I Need Dire Help Making a Flash Form
Hello, I need some serious help creating a Flash Form.
I Have used a template from another site with the following
input boxes:
Name: __________
Email: __________
Comments: ____________
However, i had the script working fine, along with its php
script,
when i was trying to add more "text" boxes, i must have
messed the script up somhow.
When I submit that form, the name is send and email, but the
email is blank.. ie, there is no "comments"
here is the code:
on submit button:
on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables("email.php", "POST");
sent email messege
onClipEvent(data){
// show welcome screen
_root.nextFrame();
and the php script (mailer.php)
php form email.pho
<?php
* PHP 4.1.0+ version of email script. For more
* information on the mail() function for PHP, see
http://www.php.net/manual/en/function.mail.php
// First, set up some variables to serve you in
// getting an email. This includes the email this is
// sent to (yours) and what the subject of this email
// should be. It's a good idea to choose your own
// subject instead of allowing the user to. This will
// help prevent spam filters from snatching this email
// out from under your nose when something unusual is put.
$sendTo = "[email protected]";
$subject = "My Flash site reply";
// variables are sent to this PHP page through
// the POST method. $_POST is a global associative array
// of variables passed through this method. From that, we
// can get the values sent to this page from Flash and
// assign them to appropriate variables which can be used
// in the PHP mail() function.
// header information not including sendTo and Subject
// these all go in one variable. First, include From:
$headers = "From: " . $_POST["firstName"] ." ".
$_POST["lastname"] . "<" . $_POST["email"] .">\r\n";
// next include a replyto
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
// often email servers won't allow emails to be sent to
// domains other than their own. The return path here will
// often lift that restriction so, for instance, you could
send
// email to a hotmail account. (hosting provider settings may
vary)
// technically bounced email is supposed to go to the
return-path email
$headers .= "Return-path: " . $_POST["email"];
// now we can add the content of the message to a body
variable
$message = $_POST["message"];
// once the variables have been defined, they can be included
// in the mail function call which will send you an email
mail($sendTo, $subject, $message, $headers);
?>
If anyone can see why the "comments" section is not being
sent?
Also: My original problem was how do you add more text boxes.
I want something like this:
Name:
Address:
Phone:
Mobile:
Email:
Website:
Comments:
Ive spent days and days trying to work out how to first make
a form that actually works, then add more text fields
Ive looked at many basic form tutorials, but they all seem to
only have 3 or 4 text fields.. Name, Email, Comments... etc
I haven't a clue how to edit the script both in action script
and php to add more fields easy.
I really need some help with this, its turning into a
nightmare for me.
I can provide someone with my .fla project file if they care
to take a look at what im doing wrong.
Thanks
Pan
ps. Please note: "$sendTo = "[email protected]";" =
this line i know i must put in my own email.This is all about timelines. It seems there is a movieclip
named 'form' (or possibly an actionscript object, can't tell). Any
variables created on that timeline are sent.
So you could have your new textfields on another timeline.
Or you could have textfields with no instance name in the
form timeline.
Those are the first two things to look at. Post the FLA and
we can tell you more specifically. -
Re: Help creating digital forms from paper forms on a mac
This is a pretty general question but does anyone know of a way to create a digital form from a scanned paper form on a mac? I know that people use software such as Nuance's Omniform on the Windows platforms but I can't seem to find such a program for the mac. Is there someway to pull this off using Adobe PDF files? I would appreciate any help you guys can provide.
Thanks,
StuYou can use Filemaker Pro and in the Layout section you drag "fields" around to represent any form you wish, draw lines and boxes, place pictures just like a page layout program but it's a database program.
You can then use these "fields" in any layout you wish, each record in the database will change the associated fields accordingly, name, address, phone etc etc.
I haven't used it in awhile, so I don't know if you can import a scan of a present paper form or not for a template, but it's rather easy to copy by measuring with a ruler.
Filemaker Pro so happens to be owned by Apple, but it's a seperate company, so you know it will work well.
If that's to much money for you, you can check out Appleworks, but I hear Apple isn't putting out any more updates for it, no Mactel version.
As always, learn to clone that boot dive before disaster strikes
http://homepage.mac.com/hogfish/Personal11.html -
I am working in Adobe Acrobat 9 Pro and just created a pdf form from a MS Word document. I need to find out how to have a date field in my form which will update automatically.
Update automatically under which circumstances, exactly?
-
Need help in creating multiple signature forms?
need help in creating multiple signature forms that can be digitally signed in adobe reader
Automator gets a bit unweildy when trying to vary things outside of what the actions provide. Since you are already using an AppeScript in your workflow, might as well do the whole thing:
set baseFolder to (path to desktop) -- the location to create the folder
display dialog "Please provide a new folder name:" default answer "test"
set folderName to text returned of the result
repeat -- keep repeating until a number is returned
display dialog "How many subfolders?" default answer "5"
set theNumber to text returned of the result
try -- test the result
set theNumber to theNumber as integer
exit repeat -- success
end try
end repeat
tell application "Finder"
try -- make new folder
set newFolder to (make new folder at baseFolder with properties {name:folderName})
on error number -48 -- skip errors if the folder is already there
set newFolder to ((baseFolder as text) & folderName) as alias
end try
repeat with X from 1 to theNumber
try -- make new subfolder
make new folder at newFolder with properties {name:folderName & X}
on error number -48 -- skip errors if the folder is already there
end try
end repeat
end tell -
Creating a PDF form from a docx or xlsx
Hello,
Pulling my hair out over here... Can you help me out?
I am trying to create a PDF form from either a word or an excel file.
When I choose File > Create > PDF Form, I get the dialouge box asking to use either a file or scan from paper. Choosing file, then hitting next shows the choice of current document or browse for file. I browse for file, find my docx file, but it shaded out. Docx or xlsx does not appear in the "show" drop down below, which suggests that this function doesn't support these formats. HUH?
I have read & watched the tutorials linked below, both of which clearly say Word and Excel are supported.
http://help.adobe.com/en_US/acrobat/pro/using/WSB3F26303-0F1D-494a-BC55-7BF7F6684B4D.html
http://tv.adobe.com/watch/learn-acrobat-x/getting-started-creating-simple-forms/
Then I noticed a difference in the create window from the video, to my version...
The video says "(PDF, Word, Excel or other file format)":
My pop-up says ONLY PDF:
Whats going on?
I am using:
MAC OSX 10.7.4
Office 2011 MAC
Acrobat X Pro 10.1.3
Only way I can create a Form from Word files is to first print it to PDF, then use the form wizard on the PDF file... Which seems to have POOR results in auto-recognizing fields.
PLEASE HELP Adobe!
Thanks.I just got Acrobat X for my mac, for a class. I am SO frustrated. Almost everything in the class focuses on PDFMaker options. The 'save as adobe pdf' or save as pdf options have zero functionality. So I now own PDF software that doesn't really function on a MAC, and have to go to a windows machine. I keep reading that it is a Microsoft problem, but I don't know how that can be when the software I thought I bought is this fancy PDF software that converts everything!!
I asked a tech today if there were 'any' adobe work-arounds for this and basically the answer is to save PDF with no attribute functionality. Period.
Wasted $$ for me
Maybe you are looking for
-
Having a problem with ilife 08 and leopard screen saver
Hi, Not sure if this is an osx leopard issue or a ilife 08 issue but before I did the upgrade I was able to use my entire iphoto library as random photos in the screensaver. Not it only let's me choose specific events or last import. it does not let
-
I am trying to tranfer photos from pc to ipad via itunes. I put the photos in a file and sub-files in order to tranfer them as albums: an main album with albums within. All the photos tranfered but into only one album. Is there a way to do this? Is t
-
Is it possible to create a shortcut for current time / date with iPhone native apps?
is it possible to create a shortcut to insert the current time / date in a text such as a Note with iPhone (IOS 6) native apps (not a 3rd. party app)? By "shortcut" I mean a combination of characters, the same as under settings/general/keyboards/shor
-
Post Author: diox CA Forum: Xcelsius and Live Office Hi guys, We have a problem in XCelsius 2008, when we select number format: Numeric and check to use 1000 separator. It seems that works fine but really doesn't. For instance; 1 shows .1 and we want
-
Separate program for PO's printing
Hi all, is there any way to separate printing program for PO..shall i create a copy of function ME_PRINT_PO .. pls advice