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 wOOdy-Soft 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: plarsen
  • Content: Threads
  • Order by date
  1. plarsen

    ASP and connectionstring to SQL 2005

    Hi I have an ASP application what used to use an SQL 2000 database, but as we want to upgrade our server farm I need to connect to a SQL 2005 database instead. I have tried changing the connectionstring in many different ways but it will still not connect to my 2005 database. My current...
  2. plarsen

    identify session with session.use_trans_sid set to 0

    Hi My new host has session.use_trans_sid set to 0 (Off) and I have place in my code that says <? global $asess_name, $asess_passwd, $asess_data; session_register("asess_name"); session_register("asess_passwd"); session_register("asess_data"); global $login, $passwd; $asess_name = $login...
  3. plarsen

    Including a second language file

    Hi I have a script with 2 language files (german and danish). First i include the german language file because the user is german, then the user sends a message to a danish user and that triggers an e-mail to the danish user, but the danish user gets a german e-mail instead of a danish. I...
  4. plarsen

    POST with two buttons

    Hi all I hope someone can help me with this small but annoying problem. I have search for help, but was not able to find any on this issue. On a page I have a list with a checkbox in front of each line there the user can select multiple and then click either a approve button or a decline...
  5. plarsen

    Invalid argument supplied for foreach()

    Hi I have the a foreach loop in my code, but i'm getting "Invalid argument supplied for foreach()" error. At the beginning of the file i have these two lines: require_once("classes/Countries.php"); $countries = new Countries; And later on i have these lines: if (...
  6. plarsen

    VB deletes value in textbox during run time

    Hi I have a button on my form and then the code from that button runs, without stepping through the code, it deletes the value of the txtRunnerNumber textbox that has been inserted by the code earlier on. Why does the code deletes the value and not then i stepping through the code? My code...
  7. plarsen

    Inserting labels from array

    Hi I'm programming a language option, that displays labels in the correct language, but i have some trouble inserting the array values into the page. I have the following: <? // Setting up a query with all labelids and the labeltext if ($lang) { $lab = mysql_query("SELECT labelid, english...
  8. plarsen

    Use $cat instead of $_GET['cat']

    Hi I have a shopping system, that has several $ command but it will not work. I can use $_GET command however, but the other command is much easier to use and remember. Are there anyone who can explain why i can't use then $ command anymore? Thanks Peter Larsen
  9. plarsen

    Error in INSERT INTO statement

    Hi I have made a query in Access XP and want to use it as a docmd.RunSQL statement in VB, but i get an "Syntax error in INSERT INTO statement" error. My sql statement look like this: INSERT INTO dbo_tblReportNoWork ( ReportNo, [Level], FirstCFMReportNo, CFMCase, ListMonth, CFMItemno ) SELECT...
  10. plarsen

    Error in getting innertext

    Hi What's wrong with this code? -- code start -- 1 function pdf() { 2 flt = &quot;source&quot;+document.form1.elements[&quot;ReferencesSTD&quot;].value; 3 if (document.all.flt1.innerText == &quot;&quot;) { 4 document.all.pdf.innerText = &quot;&quot;; 5 } 6 else { 7...
  11. plarsen

    SQL connection string within VBScript

    Hi I have an ASP-page with some VBScript in it! In the following VBScript part BR should return minimum 1 record, if the user (powner) is in the tabel, but it doesn't. -- Code begin -- powner = xa.activesheet.cells(3,15) SQL = &quot;SELECT Init FROM brugere WHERE Init = ' & powner &...
  12. plarsen

    OpenRecordSet on CurrentDb

    Hi all Why can't I use the 'Dim dbs as Database' in Access 2002 (XP)? How do I use OpenRecordSet in Access 2002? I have tried 'Set rst = currentDb.OpenRecordSet(&quot;SELECT * FROM tblTable&quot;)', but it says 'Type Mismatch' Thanks in advance! Kind regards Peter Larsen
  13. plarsen

    Compare two dates

    Hi I have a bit of code that compares two dates, one date from a form and one date from New Date(). Here is the code i wrote: var d = new Date(); var da = (d.getDate() + &quot;-&quot; + (d.getMonth()+1) + &quot;-&quot; + d.getYear()); if (document.form1.real.value < da) { alert(&quot;The...

Part and Inventory Search

Back
Top