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 TouchToneTommy 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: Maldini
  • Content: Threads
  • Order by date
  1. Maldini

    Sessions and timeouts

    Is there a way to catch session timeouts, or to redirect users to another page on timeout? I've googled a bit, and I hope I'm not mistaken, the Global.asa file seems to offer something like this, but it doesn't work for me. I've got: <script language="vbscript" runat="server"> Sub...
  2. Maldini

    Window.Open and IE

    Hi, Just stumbled upon this problem and really have no idea how to overcome it. I'm using javascript to open new windows via the window.open technique. I've been testing with Mozilla Firefox all the time along and the new windows open perfectly in it. However, once I tried testing in IE, no...
  3. Maldini

    Redirection after a time

    Hi, I've been trying to get a simple javascript redirection fucntion to work, after this form in ASP has been posted back. Once checked to be valid, I'm showing some hidden divs to the user and want to redirection in say 10 seconds. I can do the redirection part using: window.location in...
  4. Maldini

    Access Stored Querys, ASP and variable number of parameters

    Hi, I remember having done something similar with MS SQL Server where if no parameter was provided, SQL Server's stored procedure could substitute some "match all" wildcard type of value in. Is this possible using the Access version of stored queries? basically, I have a number of drop down...
  5. Maldini

    Comparing RecordSet value to Querystring value

    Hi, Is this possible? What I'm trying to do is a simple: If Rst1("ID") = Request.Querystring("PassedID") Then // Run some code Else // Run something else End If However, I've tried replacing the querystring with a variable, wrapping the recordset with quotes, but nothing seems to work. Any...
  6. Maldini

    Hiding Divs?

    Hi, Been trying to use javascript to hide a div in a page after its been processed. I've searched around and seen a number of methods, none of which seem to work for me including: document.all["DIVNAME"].style.visibility = 'hidden'; document.all["DIVNAME"].style.display = 'none'...
  7. Maldini

    Regex with emails

    Hi, I'm trying to do a regex to match email accounts from a specific domain. So say, I'm trying to match all people that use my registration form using a Hotmail account. This is the regex expression I have right now. Doesn't seem to match any hotmail accounts as valid though. var...
  8. Maldini

    Javascript Alert in ASP?

    Hi, I've some ASP code that processes data with the database. As I'm catching any errors that are found, I'm hoping to use JavaScript to show the error caused to the user. Does anyone have a tutorial on how I can pass a string in ASP to javascript or how to run some javascript from ASP? PS...
  9. Maldini

    Can't get simple Javascript to work

    Hi, I'm trying to do some simple form validation on an ASP page, but after trying for a couple of hours, it still doens't work. This is the javascript function I have. When I pass a form as the checkForm variable, I do get alert boxes coming up, but they say 'undefined' instead of what I have...
  10. Maldini

    sql stored procedure failing to retrieve

    Hi, Hope I'm posting this in the right place. This is my SP: CREATE PROCEDURE GetDeptNum ( @Name As NVarChar(70), @ID As Int Output ) AS Select @ID=ID From Dept Where Name=@Name GO The problem is that its not retrieving the ID as I need to returning it, rather its always giving a...
  11. Maldini

    Random access files.... problems appending to one

    I'm trying out the random access file function right now, but seem to be having a problem appending a new 'record' to the file. The problem arises when I try to 'pad' up the data I am appending, so that it makes up the required length for ta record. RandomAccessFile rf = new...
  12. Maldini

    Setting state of controls by record...?

    Hi, I know its possible to set the state of a form, so if condition A is true then I can set combobox A on enabled. However, would just like to ask, is it possible not to apply this to the form forever? Rather, if my user were to cycle through the records with the default record selector bar...
  13. Maldini

    Calculating total in subform

    Hi, Been working on my database today, but have come across a problem with summing up the costs on my subform. In my orders form, I have a productordered subform in continuous mode, listing the product ordered and the quantity ordered. On the fly, I have a query which then calculates the cost...
  14. Maldini

    Assign query result to textbox

    Hi, Just a quick question (I hope), which has left me stuck. I have this SQL query, which returns one value. I'm hoping to assign to returned value to a textbox on one of my forms (open when the query is run). However, despite going into the VBA, setting the text, value or controlsource...
  15. Maldini

    Displaying query results in a listbox

    Hi, Is there anyway to display the results of a query in a listbox, whilst not having the standard query results screen popping up? Also, any idea on how to clear the contents of a listbox on form load? Since there doesn't seem to be a clear method for the listbox... Thx Maldini
  16. Maldini

    SQL query confusion

    Hi, I'm working on a venue booking system right now for my local club which loans out its grounds and courts to people. What I'm trying to produce is a query that will check whether a court is being booked. On this form, the user will input the start and final dates for which they wish to book...
  17. Maldini

    Queries in access...

    I know how to make basic queries in access, which take in parameters and use that parameter as the search item... thats all and well but doesn't especially suit what I want now... What if I have a form (used to display record at a time of my table), where there are many fields and I need to use...
  18. Maldini

    Hiding control in subform

    Just made a form containing two subforms, each subform linked via a common field with the main form.... problem is, I don't want the repeated field to be shown in the two subforms, rather, I want it hidden with only the one on the main form shown... Tried changing the properties of the...
  19. Maldini

    Lost in how to return last 3 occurances per staff

    Hi, Having yet another problem which has left me stuck totally... I have to find a way to return the last three occurances (in terms of nearest date) of a person's name in a particular file (already read into an array) and then ouput this to another file... Say this is part of my file...
  20. Maldini

    Quick error question...

    Hi, Is there any way to disable the standard error messages that perl generates whilst not disablling the entire standard error channel? Since I'm trying to produce my own error messages to be displayed and don't want the standard ones from perl to be shown. Thx

Part and Inventory Search

Back
Top