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 strongm 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: *

  1. ehsant

    Search for a string in a CLOB field

    Hi, I have searched this forum and not found the answer, so I'm asking you guys for help. The problem is that, I have a database with the NLS_Lang "ar8mswin1256" and which is for Persian / Arabic charactersets. I want have a table e.g. tblTest with a clob field datatype e.g. fldTest. I...
  2. ehsant

    How to submit the form elements within an IFrame

    Hi, yes, but as long as there's no other way, it's your only solution. now, on choice which you have is that you don't create the hidden elements your self and in that javascript you can loop between elements in those two IFrames and generate them on the fly in the main IFrame.asp file...
  3. ehsant

    How to submit the form elements within an IFrame

    Hi, you can't access the objects in thoes two iframes from the formresults.asp file becuase actually nothing have been posed to that file. the solution is that before submitimg the IFrame.asp page you have to call a javascript function to read the data from the objects inside those two...
  4. ehsant

    codepage convertor

    Hi there... It's easy, first of all, don't panic... Second, you can easily write a convetor yourself... you just have to find the character code of each character in 1256 codepage and find the equivalent character code of it in Unicode... I think this site can hel you alot(cause I hade...
  5. ehsant

    ASP page data update, refresh issue.

    Hi... Can you tell that, you want to do it wih refreshing the page or without ? Because doing it with refreshing is very easy... you fire a javascript function on the onchange event of the combo boxes which calls the same page with a querystring parameter with the current value of the...
  6. ehsant

    On-the-fly Dropdown content

    Hi... The problem is very simple... If you take a closer look at the original sample, while defining the arrays, the author defines the arrays like this : redArray[0] = "-- Select a Red Secondary --"; redArray[1] = "Red + Blue = Purple|purple"; redArray[2] = "Red + Yellow = Orange|orange"...
  7. ehsant

    Encryption/Decryption Algorithms

    Hi there... Thanks for your reply... It helped me a lot... And because I needed a two way algorithm, I used Rijndael instead of SHA256 Digest... Again thanks ChrisHirst... Have fun... ---- Harsh words break no bones but they do break hearts. E.T.
  8. ehsant

    Encryption/Decryption Algorithms

    Hi everybody... I just wanted to know if anybody here has a pure ASP function for encryption/decription using (DES or 3DES or RC2 or RSA algorithms) ? Have fun... ---- Harsh words break no bones but they do break hearts. E.T.
  9. ehsant

    Dynamic List onChange

    Hi... OK, you have two combo boxes which you are filling the first one with you ASP function and, you want to fill the second one in the OnChange event of the first one... you have two ways : 1- as you know, OnChange event, is a client side event handling of an object and in the populate()...
  10. ehsant

    global.asa nested?

    Hi... No you can't do this... Every virtual directory and also its subfolders, just use the Root Global.asa. but as a suggestion, you can crreate a file with your code in it and include it on the top of every ASP file in that directory... ---- Harsh words break no bones but they do break...
  11. ehsant

    variables and IN statement in SQL

    Hi... you can use this code : strSQL = "SELECT ID, Title, SYMPTOM, Keywords, Sum, Resolution, Cause, Component, FAQDate, PUBLICFAQ FROM FAQ WHERE " 'Build the sql string For x = LBound(searchArray) To UBound(searchArray) If x > LBound(searchArray) Then strSQL = strSQL & " AND " End If...
  12. ehsant

    variables and IN statement in SQL

    Hi... I don't get it ... what's that Do Loop up there ? do you use it ? if so, where ? and also, are you getting any error or what ? you code, looks well... ---- Harsh words break no bones but they do break hearts. E.T.
  13. ehsant

    Runtime error: type mismatch UBound

    Hi... Is Department Field of table Departments and integer or String ? ---- Harsh words break no bones but they do break hearts. E.T.
  14. ehsant

    Using a Function in ASP

    Hi... it's simple : Function GetSurname(myVar) Set rstFunctions=Server.CreateObject("ADODB.Recordset") SQuery = "SELECT * FROM tblNames WHERE ID = " & myVar rstFunctions.Open SQuery, Application("Connection"),3 ,3 GetSurname = rstFunctions("Surname") Set...
  15. ehsant

    Opening multiple files in a directory

    Hi... this link will show you the way... this is a site search engine and it searches in the specified files... so, you can use it's enginel... http://www.webwizguide.info/asp/sample_scripts/internet_search_engine_script.asp ---- Harsh words break no bones but they do break hearts. E.T.
  16. ehsant

    drop down list

    Hi... you can do it with javascript on the same page like this : you have a form with a name like MyForm so : <script language="javascript"> function frm_onsubmit(){ switch(documrnt.MyForm.select.value){ case 'By Title': documrnt.MyForm.action = 'TitleSearch.asp'; break...
  17. ehsant

    Database recordset are read

    Hi... I don't see any error in this code, except the Bug which I think it's a function of your own... so, if it's possible, please post your complete code, maybe it be more useful... ---- Harsh words break no bones but they do break hearts. E.T.
  18. ehsant

    Database recordset are read

    Hi... do you have any primary key in yourtable ? I think the error is because of you are inserting a duplicate value in your primary key... check your fields in your DB... ---- Harsh words break no bones but they do break hearts. E.T.
  19. ehsant

    Database recordset are read

    Hi... OK, when you open a recordset, you have to specify the cursortype and locktype, if not, the cursortype will be : adOpenforwardOnly and the locktype will be adLockReadOnly. that's why you get the readonly error... so try somrthing like this : objRS.Open "Reservations", objConn, 3, 3...
  20. ehsant

    Message Box

    Hi... you have a script which in it, you show the message box. in the next line of the message box, you have to redirect the page. you can use : window.locaction.href = 'somepage.asp'; ---- TNX. E.T.

Part and Inventory Search

Back
Top