In Dreamweaver, I need to add the directory to the File being inserted in the following Insert Code:    MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param2", 202, 1, 255, Request.Form("DocLocation")) ' adVarWChar

I have the following code:
<%
If (CStr(Request("MM_insert")) = "form1") Then
  If (Not MM_abortEdit) Then
    ' execute the insert
    Dim MM_editCmd
    Set MM_editCmd = Server.CreateObject ("ADODB.Command")
    MM_editCmd.ActiveConnection = MM_NewFLSSARDB_STRING
    MM_editCmd.CommandText = "INSERT INTO DocumentTable (Title, DocLink, UpdatedBy, UpdateDate, Type, Comments) VALUES (?, ?, ?, ?, ?, ?)"
    MM_editCmd.Prepared = true
    MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param1", 202, 1, 255, Request.Form("DocumentName")) ' adVarWChar
    MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param2", 202, 1, 255, Request.Form("DocLocation")) ' adVarWChar
    MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param3", 202, 1, 255, Request.Form("UpdatedBy")) ' adVarWChar
    MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param4", 135, 1, -1, MM_IIF(Request.Form("UpdatedDate"), Request.Form("UpdatedDate"), null)) ' adDBTimeStamp
    MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param5", 202, 1, 255, Request.Form("Type")) ' adVarWChar
    MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param6", 203, 1, 1073741823, Request.Form("Comments")) ' adLongVarWChar
    MM_editCmd.Execute
    MM_editCmd.ActiveConnection.Close
    ' append the query string to the redirect URL
    Dim MM_editRedirectUrl
    MM_editRedirectUrl = "testFLSSARSuperAdminIndex.asp"
    If (Request.QueryString <> "") Then
      If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0) Then
        MM_editRedirectUrl = MM_editRedirectUrl & "?" & Request.QueryString
      Else
        MM_editRedirectUrl = MM_editRedirectUrl & "&" & Request.QueryString
      End If
    End If
    Response.Redirect(MM_editRedirectUrl)
  End If
End If
%>
For param2 above I need to add the directory "Docs/" to the command so that the file can be found by the User.  How do I do that?

If all documents are going to the "/Docs" folder, then I wouldn't include it in the inserted data as you can just add it dynamically where needed. If you do want to include it and it's not part of the posted form data, then just concatenate it (&) prior to inserting into the table.

Similar Messages

  • Why do I need to add a wildcard designator to get DIR to show the content of a subdirectory that has an extension?

    Why do I need to add a wildcard designator to get DIR to show the content of a subdirectory that has an extension?
    <#c:#> mkdir subdir.bak
    Directory: C:\users\larry\documents\windowspowershell
    Mode LastWriteTime Length Name
    d---- 9/12/2014 11:10 PM subdir.bak
    <#c:#> dir subdir.bak
    <#c:#> dir subdir.bak*
    Directory: C:\users\larry\documents\windowspowershell
    Mode LastWriteTime Length Name
    d---- 9/12/2014 11:10 PM subdir.bak

    OK, now I see the difference.  Since subdir.bak is empty, I get no output from DIR.  
    Asking for DIR subdir.bak*  is similar to asking for Get-Item subdir.bak which does return the expected result.

  • How may I change the format to enter new contacts?  I need to add a business name and would like to change the defaults to work rather than home.

    I am entering new contacts into the contact app.  I need to add a business name and would like to change the default for phone numbers from home to work.  I am entering a large amount of business cards

    rcolbroth wrote:
    Is there anyway of creatiing a different name for this Folder rather than 2013?
    If you are using one of Lightroom's "date-based" folder templates, then the folders are created in accordance with the image capture date, not the date that you happen to import it. If you specifically want to use the import date for your folder names then you probably don't want to use the Lightroom date template, and instead you'll need to setup your folder names manually.
    The vast majority of users that use date-based folder naming schemes will use a standard Lightroom template, i.e. based on the much more meaningful image capture date.

  • Get the directory where application files exist.....

    Hi ,
    How to get the directory where application files exist....????
    I have found a way....such as:
    Right - click on the application name ... on the pop-up menu... select "Add to <application_name>" and then on the window appeared... i get the dir on the title of this window....
    Is there any simpler method to obtain the dir...????
    NOTE: I use JDev 10.1.3. on windows XP platform...
    Many thanks ,
    Simon

    hi Simon
    If you not only want to see the path, but also want to copy-and-paste it, you can use the "Edit > Copy Path" (Ctrl+Shift-C) menu item.
    success
    Jan Vervecken

  • I'm having problems with a message that says: An error occurred while Attempting to create the directory: C:/program files/itunes/cd configuarion

    I know this is a long story, but I'll be damned if I'm not going to get the most specific help I can (as Apple seems to specialize in assuming user error for all its demonic software). I've never had issues with iTunes before (barring a "Connect to iTunes" snafu with my iPod Touch) -- and never, in fact, with Windows Vista, if you believe that -- but this is the most bizarre thing I've seen.
    I recently downloaded the new iTunes v 9.0.3 as I am occasionally prompted to do whenever a new version comes out, and immediately I had problems. Access to the iTunes and Quicktime folders was mysteriously denied after the update, and after several hours of frustration, I was able to grant my own Administrative access to these two folders and installation went through. Thank God.
    Then I bought some music. No problems -- downloaded just fine, along with a copy of Cinderella Man and the new episode of Smallville. Life was good for a few days.
    Then I connected my iPod Touch to the computer. All of a sudden, Microsoft Windows informs me that the "Apple Mobile Device Service stopped working and was closed," with subtext, "A problem caused the application to stop working correctly. Windows will notify you if a solution is available."
    Bullsh*t Windows can help me with anything from Apple.
    So I've tried to get iTunes to work with me on this. I've come up against the infamous "iTunes could not connect to this iPhone because an unknown error occurred (OxE8000001)" message. My God, when does it ever end?
    So I go into Control Panel > Administrative Tools > Services > Apple Mobile Device and start it back up... only to watch it stop again inexplicably moments later. Hmm... Restart. Stays on. Unplug the iPod and plug it back in. Apple Mobile Device Service stops again. Maybe it's the iPod Service itself. Hey, that one's not started! [Start] "Windows could not start the iPod Service service on Local Computer -- Error 5: Access is denied."
    What the f*ck is it with this "Access denied" crap? I've never been denied access to even the most intimate functions, files and folders on my freaking computer before! What has Apple created!?
    I thought, perhaps Apple Mobile Device software was somehow removed. Okay, let's redownload iTunes (aka Repair the program from the Programs and Features menu in the Control Panel -- same thing). Huh. "An error occurred while attempting to create directory C:\Program Files\iTunes\CD Configuration," and I can choose to Retry or Cancel. So, instinctively, I deleted the CD Configuration folder, assuming iTunes Setup would just recreate it.
    Well, that didn't work now, did it? I deleted it and hit Retry, and it said, "The installer has insufficient priveleges to access the directory: C:\Program Files\iTunes\CD Configuration. Log on as administrator or contact your system administrator." Running the .exe file as an adminstrator changes NOTHING about this predicament.
    So that's where it stands. No CD Configuration folder; full access to all files and folders involved; Apple Mobile Device Service still keeps going off for no reason; iPod Service still doesn't run; Repairing/Reinstalling iTunes, Quicktime, Bonjour, etc. does nothing; and God (aka Steve Jobs, apparently) hates me.
    . . . . . . . . . . . . Help me.

    Hi there,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/ht1926
    -Griff W.

  • 0 down vote favorite share [fb] share [tw]        How to hide cut/copy/paste/Replace- menu on the UIWebView when it is being displayed over the keyboard.  Detail: I am having a HTML from, having text box, displayed using UIWebView. If user types in text b

    How to hide cut/copy/paste/Replace… menu on the UIWebView when it is being displayed over the keyboard.
    Detail: I am having a HTML from, having text box, displayed using UIWebView. If user types in text box it shows the keyboard. Now If user tap and hold on text box it shows a popup menu. Now while keyboard and pop up are being displayed user scrolls the view. At this time it shows pop up over the keyboard which I need to hide.
    I tried setMenuVisible of UIMenuController when popup rect and keyboard rect intersects each other on viewDidScroll but it didn't help me.
    Any clues will help a lot.
    Thanks.

    You are more likely to get an answer if you post programming problems to the Developer forum. This forum is intended for normal user level problems.

  • ITunes, TV Series - Menu display's the 853 x 480 files as well as the 1280 x 720HD files?

    Hi All
    Can anybody tell me why the iTunes, TV Series - Menu display's the 853 x 480 files as well as the 1280 x 720HD files?
    It means when you scroll through you TV or film collections using your remote you get a duplicate title. I can understand having 2 files for viewing on the iPhone or HDTV but you would think iTunes would filter and display the files subject to how you were viewing your TV shows etc?
    Can anybody tell me how to solve this?

    3 Items show up, all the same:
    ThinkPad Display 1280 x 800
    I first tried to remove, rebooted, and nothing happened.
    When I went back in to device manager, they all 3 showed back up
    Second time, disabled all 3, rebooted and nothing happened.
    Third time tried to remove 2 of the 3, nothing happened.
    Any and all help is greatly appreciated!!  
    I have been working on this for over a month.  If I upgrade to Windows 7, I can get online, will all of these problems go away?  
    I have all data and pics that I need saved as well.  I just don't have the recovery disc.  I am thinking I might as well 

  • After mixing a project i select bounce and burn the disc that is burned plays on any cd player but when i try to burn the wav or mp3 file that was created the resulting disc will only play in a computer this also happens with video projects help please

    after mixing a project i select bounce and burn the disc that is burned plays on any cd player but when i try to burn the wav or mp3 file that was created the resulting disc will only play in a computer this also happens with video projects help please are there any settings i need to alter as it seems the wav or mp3 file i ceated is being converted to a data file somewhere between the folder and disc drive

    Same thing for a movie file.. If you want to play back the movie via a DVD and a DVD player you must create a Movie DVD  and not just burn files to a data DVD... as Data DVDs are just storage devices for files and therefore will only work with computers...
    Movie DVDs are special formats that include things like menus and special file formats.. so they can playback via a DVD Player...
    You will need a 3rd party DVD Burning app like Toast which is what i actually use.... or the more popular DVD Creator app...to create and then burn a Movie DVD that will playback on a DVD Player....
    https://answers.yahoo.com/question/index?qid=20101220205435AA70beb

  • HT5576 How can I reset my password if I no longer have access to the email account on file and cannot remember the answers to the security questions?

    How can I reset my password if I no longer have access to the email account on file and cannot remember the answers to the security questions?

    Reset security questions
    http://support.apple.com/kb/HT5312
    If you do not have a Rescue email, you need to call/email apple support, they will guide you through the process of resetting your security questions.
    http://support.apple.com/kb/HE57

  • TS5179 I've been bitten by the "Missing MSVCR.dll file" problem when downloading the latest iTunes update (PC w/ Win-7 & Outlook-2007#. 'Have followed Apple's instructions of un-installing all Apple software, and re-installing it. #out of space...??)

    I've been bitten by the "Missing MSVCR.dll file" problem when downloading the latest iTunes update, 11.4.62 (on a PC w/ Win-7 & Outlook-2007#. 'Have followed Apple's instructions of un-installing all Apple software, and re-installing it (Ugh).  First result Outlook couldn't find my 1,385 item contact file in iCloud, although the outlook distribution lists were there.  Second result, upon installing iCloud again, I have two iCloud contact files shown in outlook - "iCloud" & iCloud, within iCloud".  1,332 & 1,385 contacts respectively. 
    Plus an iCloud installation error message saying iCloud moved 6,835 files to a "deleted items folder" somewhere.  This is NOT fun at 72-yrs old...!!
    So, how do I make sure I haven't lost anythying from Outlook?   Russ-AZ

    Interesting response, Kappy  -  Back to original post: "First result: Outlook couldn't find my 1,385 item contact file in iCloud, although the outlook distribution lists were there (therefore, initially I had lost my contact file from Outlook).  Second result, upon installing iCloud again, I now have two iCloud contact files shown in Outlook - "iCloud" & iCloud, within iCloud".  W/ 1,332 & 1,385 contacts respectively.  
    Plus an iCloud installation error message saying iCloud moved 6,835 files to a "deleted items folder" somewhere.  This is NOT fun at 72-yrs old...!!
    So, how do I make sure I haven't lost anythying from Outlook?   Russ-AZ"
    You can safely assume that I have tried using it!   So, to make things a little clearer:
         1)  I now have two iCloud "contacts files", w/ a different total count. What's the difference?  Why the different toatl count?
         2)  Since re-installing the Apple software (part of the MSVCR" recovery instructions) "couldn't possible affected Outlook", why am I getting an iCloud installation error message saying iCloud moved 6,835 files to a "deleted items folder" somewhere.  What's in those files? And where are they?
    Probably more important questions get down to:
         3)  Why is a basic Apple product upgrade "screwing-up Outlook"?  This iTunes upgrade, failing to install properly forced Outlook 2007 into a 2-min start-up cycle.  Which was fixed with this "Goat-Rpdeo" of re-installing MSVCR80.dll.
         4)  And under the latest release of iOS-7.0.4 on our iPhones, why is Apple now forcing us to use the iCloud to back-up our contacts, calendars & tasks, vs. allowing these files to be backed-up directly on our PC's via the USB cable?
    Thanks again for your interest and comments.  - Russ-AZ

  • How to know the full path which is being used in the dataconnection .

    How to know the full path which is being used in the dataconnection without going and looking into coding.
    I am new to crystal reports.
    Plz advice.Thanks in advance
    Jay

    This forum is dedicated to topics related to custom application development or deployment with Crystal Reports in .Net. This includes full versions of Crystal Reports as well as those versions of Crystal Reports bundled with Microsoft Visual Studio .Net.
    As you do not want to do any coding, this query is in the wrong forum. However, in most versions of Crystal Reports, you can look up the database connection information by simply opening the report in the CR designer. Then go to the database menu and select "Set Datasource Location..."
    Ludek

  • How do I attach a file to a Mail doc without the file being opened in the Mail document?

    How do I attach a file to a Mail doc without the file being opened in the Mail document?

    You will (often) see a preview of the attachment, depending upon the file type.  To get rid of the preview: control click on the attachment select "View as icon".
    (What the recipient of your message sees is dictated by that person's email application.  If you want to make sure the person gets an attachement which is not previewed, you can zip it (control-click, "Compress...") and then attach the zipped file(s).  Or you can try something like Attachment Tamer.)

  • Whenever i upload my website using ftp, the site name ends up being part of the url, Can this be fixed?

    Whenever i upload my website using ftp, the site name ends up being part of the url, Can this be fixed?

    Publishing to a local folder is shown here...
    http://www.iwebformusicians.com/iWeb/Publish-Website.html
    ... and how to upload the files here....
    http://www.iwebformusicians.com/Search-Engine-Optimization/Upload.html

  • The book asset contains file not listed in the OPF manifest

    the book asset contains file not listed in the OPF manifest
    Hi, this is the message I get one time and another everytime I try to publish my e-book using Itunes Producer.
    Can anyone in this world help me and tell me what the **** I have to do to relsese me of this Apple torture?? thank you.God Bless You.

    Get Apple on the phone, I think:
    [email protected]
    …support phone number call +1 (877) 206-2092.
    Global Phone Support
    We have expanded English-language publisher phone support. To make contacting the iBookstore support even easier, new local phone numbers are now available for Australia, France, Germany, Italy, Netherlands, Spain, and the U.K. Support is available Monday to Friday, from 7 a.m. to 5 p.m. (PT).
    Country
    Phone Number
    Australia
    1300 307 504
    Note that this is a low tariff number.
    France
    0805 540 117
    Germany
    0800 664 5307
    Italy
    800 915 902
    Netherlands
    0800 0201 578
    Spain
    900 812 687
    U.K.
    0800 975 0615
    U.S.
    +1 (877) 206-2092
    Toll-free from U.S. and Canada.

  • How to make the ear file including the 3rd party jar files without menttion in the System Classpath.

    Hai Sir,
    I am facing one problme in weblogic8.1 while depolying the .EAR FILE.
    Please help me sir.
    Case1)     1) I am using the struts and log4j frameworks and 3rd party jar files with
    weblogic8.1.
         2) I make the ejbs,webapplications and 3rdparty jar files, ear file the following
    dir structure .And i mentioned the Class-path including all jar files in the MANIFEST
    OF EAR FILE.
         While deploying the ear file it is giving following error.If log4j.jar does not
    mention in the Weblogic script file
         java.lang.NoClassDefFoundError: org/apache/log4j/Priority
    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Class.java:1494)
    at java.lang.Class.getDeclaredFields(Class.java:1073)
    at weblogic.ejb20.deployer.EJBModule.disableImplClassLoader(EJBModule.java:1082)
    at weblogic.ejb20.deployer.EJBModule.setupEJBToImplClassDependencies(EJBModule.jav
    a:982)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:419)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.j
    ava:2792)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.
    java:1478)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:11
    36)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:97
    5)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareCon
    tainer(SlaveDeployer.java:2571)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(Sla
    veDeployer.java:2523)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeploy
    er.java:2453)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer
    .java:820)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:
    536)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java
    :494)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:
    25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
    Please provide the soluation without mentioning classpath in the weblogic script
    .How to make the EAR file incliding ejbjar,webapplication and 3rd party jar files.
    Thanks & Regards,
    ASHOK SAMRAT
    [email protected]

    Refer to the section
    Handling Utility classes
    http://dev2dev.bea.com/products/wlserver/articles/musser.jsp
    thanks,
    Deepak
    "Ashok Samrat" <[email protected]> wrote:
    >
    Hai Sir,
    I am facing one problme in weblogic8.1 while depolying the .EAR FILE.
    Please help me sir.
    Case1)     1) I am using the struts and log4j frameworks and 3rd party jar
    files with
    weblogic8.1.
         2) I make the ejbs,webapplications and 3rdparty jar files, ear file
    the following
    dir structure .And i mentioned the Class-path including all jar files
    in the MANIFEST
    OF EAR FILE.
         While deploying the ear file it is giving following error.If log4j.jar
    does not
    mention in the Weblogic script file
         java.lang.NoClassDefFoundError: org/apache/log4j/Priority
    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Class.java:1494)
    at java.lang.Class.getDeclaredFields(Class.java:1073)
    at weblogic.ejb20.deployer.EJBModule.disableImplClassLoader(EJBModule.java:1082)
    at weblogic.ejb20.deployer.EJBModule.setupEJBToImplClassDependencies(EJBModule.jav
    a:982)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:419)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.j
    ava:2792)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.
    java:1478)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:11
    36)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:97
    5)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareCon
    tainer(SlaveDeployer.java:2571)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(Sla
    veDeployer.java:2523)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeploy
    er.java:2453)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer
    .java:820)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:
    536)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java
    :494)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:
    25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
    Please provide the soluation without mentioning classpath in the weblogic
    script
    How to make the EAR file incliding ejbjar,webapplication and 3rd party
    jar files.
    Thanks & Regards,
    ASHOK SAMRAT
    [email protected]

Maybe you are looking for

  • Macbook pro external DVD drive initialization error 70012

    This is an answer to my own question and a comment about finding answers to questions on Apple forums. The situation I have a Macbook Pro, late-2009 model. In 2013, the internal DVD or optical drive died. I purchased an Apple external DVD drive to be

  • ABAP program in process chain running under another user

    Hi, gurus I have a process chain that load three DSO in order to generate authorizations. I wish to add a new process at the end of this process chain which calls ABAP program RSSB_GENERATE_AUTHORIZATION. I wish to run this ABAP program under a diffe

  • Patch activity

    During patch applying using adpatch utility why it is not asking patch driver u11737539.drv? [prod1@UAT1 appshome]$ cd 11737539/ [prod1@UAT1 11737539]$ adpatch                      Copyright (c) 2002 Oracle Corporation                         Redwood

  • How to save the output of sap script in sap so that can be retrieved later

    hi abapers how to save the output of sap script in sap so that can retrieve the saved document later. i have to save the rcia output from sap script in pdf document in sap so that it can be retrieved later how to use dms <MOVED BY MODERATOR TO THE CO

  • FB60 tag with FB65, and other FI document, like advanced payment

    Hi Experts, I have the following FI document (pure FI transaction, not from MM/SD module) at my current SAP system: 1) Advanced payment, in which user here, does not want to use special purpose GL, and we only recommended them to create KZ document,