Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Bastien
  • Content: Threads
  • Order by date
  1. Bastien

    MSSQL DB Import issue

    Hi guys, I have a database that was imported from MySQL to MSSQL via a DTS package. There is an error in that any auto increment (Identity) field is having issues because while the IDENTITY field is yes, the seed value is 0. Is there an SQL I could run against the db that will allow me to...
  2. Bastien

    Split creates variant not array

    Hi Guys, I have a simple process whereby I split a comma separated string. The issue is that it comes back as a variant data type not an array and this blocks the rest of my process from working The code is: ' sADMIN_ALLOWED_HTML_TAGS = "P,BR,UL,OL,LI" if sADMIN_ALLOWED_HTML_TAGS <> "" then...
  3. Bastien

    Ajax js issue in FF

    I hav an intersting issue with the below JS code, works in IE and Chrome but not in FF. The ajax call brings back the results which I can see with Firebug. The idea is that the function gets passed the DIV parameter and checks to see what that is: object (usually a div); another function (to...
  4. Bastien

    Undefined Error Message

    I have the below function which is called from another function. I keep getting the message that 'xOffset is undefined', yet its clearly being passed in when I alert it out. The call is from another function and looks like this: RemoveTab('tractor','0'); function RemoveTab(sDiv, x0ffset)...
  5. Bastien

    Display DIVs problem

    Hi All, I have a form with tabbed divs (could be 1 or n number of tabs) that are dynamically generated. Each tab div has a name and a number that I pass to the below function to hide/show those DIVs that the tabs belong to. The trouble I am having is that the first tab / div refuse to...
  6. Bastien

    Javascript array assignment issue

    Inherited some legacy code and am attempting to do a little caching with it. The query is doing some drop down filtering with an AJAX call to get some XML data. The plan is to intercept the AJAX calls if the element has been requested before by checking the xfilter array for the objCurrent item...
  7. Bastien

    toggle radio button via getElementById

    All I am trying to see if I can toggle a radio button as below with a document.getElementById("buttonId").checked=true. There are 25 buttons on the page as below. I seem to have some issues with this. Is this the right approach or do I need to loop thru the radio buttons and check for the id...
  8. Bastien

    JS variable assignment problem

    I have a situation like this: On the parent (framed) page, i declare an object in js in a hidden frame var xfilter = new Object(); Then from a child window, I am doing an AJAX call to fetch an xml snippet which comes back as an XML object via HTPPRequest.ResponseXML What I want to do then...
  9. Bastien

    Alter table query

    I have a database that was converted from mysql to mssql and I need to put all the primary keys back. I have codged togther this sample, but having some issues with the query. Any clues as to where I messed up? IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE...
  10. Bastien

    PDF Forms submission gets 401 error

    Hi All, I have [had] a working PDF forms using the FDF Toolkit to fill in data prior to display. Other data is entered by the user and the form is then submitted. The form uses a regular submit button that just points to the receiving processing file (ie the form URL is pdf_processor.asp) and...
  11. Bastien

    Restore multiple DBs from single BAK file

    Hi All, I have a single 15Gb BAK file that I have restored from a client's db. I am seeing one database in the management console after the restore,using the management console, which is what I expected. However the client now tells me that there are a few databased included in that one BAK...
  12. Bastien

    element.attachEvent issues

    Hi All, Stuck trying to add event handles to a form which is dynamically generated. At the end of the main page, I have a call like this <script language='javascript'>SetStatus(0);registerMyEvents();</script> and then in my function I want to do this function registerMyEvents() { if...
  13. Bastien

    NaN js issue

    I have the below code function calcPromissory() { var tmpStart = document.getElementById('case_promissory_start').value; var tmpTerm = document.getElementById('CASE.PROMISSORY_TERM').value; var tmpAmt =...
  14. Bastien

    Application.Lock question

    I am attempting to load some date into the application object in a page and am wondering if I can do this If application.lock then exit function else ... end if Bastien I wish my computer would do what I want it to do, instead of what I tell it to do...
  15. Bastien

    file upload woes

    trying to upload a file to the server in secure area...its just not working for me...what am I doing wrong? destination folder has 0777 permissions $uploaddir = "/services3/i/n/xxxxxxxx.com/secure/app/data/"; $uploadfile = $uploaddir . basename($_FILES['userfile']['name']); echo...
  16. Bastien

    IE7 and opacity troubles

    Hi All, The below css works great in FF, but the opacity setting in IE7 does not seem to work...there was a post here previously about this and checking the hasLayout property. Its set to true for this element (its a div)... Anyone have any ideas or hacks to get this sucker working in ie7...
  17. Bastien

    Using a $_GET value as a function call

    Hi All, I am wondering how I can take an input parameter passed into a script and use it as a function call? I know that I could use a switch statement, but my goal is to make this as fluid as possible... Any ideas? Bastien I wish my computer would do what I want it to do, instead of what I...
  18. Bastien

    clusters and preallocated/populated data

    Hi All, I am doing some design work on a new system. The plan is to use clustered servers accessing the same backend instance. I want to prepoulate the table with our unique id (for say 5M rows for sake of discussion). Where I am puzzled is how do I guarantee unique ids to the application when...
  19. Bastien

    pass function name as variable

    Hi All, I am playing with some AJAx code and want to pass a fuunction name into my function to allow the response from the ajax request to be passed to another function for more processing...i can't figure out the correct parameters to do this: ajax(url, data, doSomething); //doSomthing is...
  20. Bastien

    DB2 v7 z/OS

    Does DB2 support the SET data type (a predefined list)? Might be known as an ENUM. See this documentation in the MySQL site for more info Bastien I wish my computer would do what I want it to do, instead of what I tell it to do...

Part and Inventory Search

Back
Top