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 Mike Lewis 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. mobbarley

    Arithmetic in SQL Trigger - Pulling out hair! :(

    Thanks vongrunt! Did the trick. Is there a better way to add (x) minutes to a DateTime field? I'll have to check but i think the seconds are a little out of whack due to rounding? But this will work, I dont need to the second precision.
  2. mobbarley

    Arithmetic in SQL Trigger - Pulling out hair! :(

    Hi guys, I have an SQL database with a trigger to fill in some extra data from other tables when a record is inserted. One task is to add a time (in minutes) to a DATETIME field. Here is a extract: DECLARE @varTimeAdjustment DATETIME SELECT @varTimeAdjustment = (select LogTime from INSERTED)...
  3. mobbarley

    Print without confirmation or pass data to ActiveX control from ASP

    Hi Guys, I am trying to print a receipt from a webpage without any confirmation, so the javascript window.print() will not work. This will be only run from one machine in a kiosk arangement, so loading of an ocx etc is no problem. I have got an OCX control into a webpage with a command button...
  4. mobbarley

    Pass data to ActiveX OCX from WebPage!?

    Hi Guys, I am trying to print a receipt from a webpage without any confirmation, so the javascript window.print() will not work. This will be only run from one machine in a kiosk arangement, so loading of an ocx etc is no problem. I have got an OCX control into a webpage with a command button...
  5. mobbarley

    HTML FORM Align text in Select Box

    Hi. I am using ASP to return some text strings from different variables to populate a <select> listbox. I am wondering if there is a way to align multiple text strings into columns, something like a left justify within the list. Multiple spaces for example are ignored, thus eliminating the...
  6. mobbarley

    Clear ListView Control Completely.

    answered my own question, dont know how i missed it. frmMain.lstFiles.ListItems.Clear frmMain.lstFiles.ColumnHeaders.Clear I feel stupid :) thanks.
  7. mobbarley

    Clear ListView Control Completely.

    Hi guys, In my program i have a sub which fills & formats a listbox exactly how I want. This sub will be called by a timer. Problem is when the sub is called more than once the listbox entries repeat. This is because im using listbox.add for each entry? Because im lazy, is there an easy way...
  8. mobbarley

    Form Exit Password

    Hi guys, I would like to have a form (program) which requires a simple text password to be closed. Ive tried showing a dialog box on the close / terminate events but if this dialog is closed the main form also closes. Could someone explain how this can be done or show me a sample? Regards...
  9. mobbarley

    Link table CSV DB with non standard extension

    Sorry guys, i know this is in the wrong forum. whoops. Does anyone have an answer?
  10. mobbarley

    Link table CSV DB with non standard extension

    Hi, I am trying to link a CSV text file table in access 2000. The file has an extension .log which cannot be changed. Access spits its dummy because of the extension. Is there a way around this?! Regards, John R.
  11. mobbarley

    View / Edit SQL Table from web page

    Thats some nifty code, but not exactly what im looking for. Mainly I want to ease inserting records. I'm assuming I'll need to use some sort of insertable component maybe? basically I want someone to be able to insert as many records as possible using some kind of growing sheet, where they can...
  12. mobbarley

    View / Edit SQL Table from web page

    Hello. I want to set up an inventory table in my client database so I can keep track of stock @ client sites. there could be anything from 5 - 500 enteries for each client & i need to be able to view & edit this from a web page easilly. Can anyone recommend an easy way? I'm using ADO & ASP...
  13. mobbarley

    Time Clock like query

    GROUP BY left(RTETABLE.DateTime,8), RTETABLE.Prim seems to do the trick.
  14. mobbarley

    Time Clock like query

    Great stuff.. Is there an easy way to group this by day? I.E. show elapsed time for each day, instead of adding up all records?
  15. mobbarley

    Time Clock like query

    Hi guys, trying to make a timeclock like query to show the time between first & last record per day, the table is called RTETABLE, has fields DateTime which is: "12/02/03 10:44:25" & Prim which is a numeric identifier for staff. Here is the query I'm working on, but i'm lost. SELECT...
  16. mobbarley

    Time of First and last record in DAY.

    This code shows #error in the elapsed field, but I believe that could be because the field in the database shows date & time as: 18/03/04 01:36:37pm, and one subtract the other wont work? Regards John R.
  17. mobbarley

    Time of First and last record in DAY.

    Lupins: On each record there will be a primary key, card number, staff number (unique to each staff member), name, and a few other details. This will actually be triggered by a card swipe, releasing a door strike.
  18. mobbarley

    Time of First and last record in DAY.

    Hey there. I'm trying to do something similar to a time clock system for staff, there will be several records in a database each day for a staff member (with a unique ID), and I'd like to find the first and last record each day and calculate the time in between. I have no idea how to go about...
  19. mobbarley

    Detect pressing enter on TextBox

    Yes there is :) Its actually going to be entered from a PS/2 Magnetic card reader which is programed to insert a CR at the end of a read. I found the problem, I was using a textbox from MSForms 2.0 because of it's sexy etched form effect, this seems to handle the CR differently, inserting a...
  20. mobbarley

    Detect pressing enter on TextBox

    That does not seem to work.. the focus switches to a command button next to it.. using a msgbox to show the KeyCode works, but not for the enter key. Is an option on the form wrong? Any ideas?

Part and Inventory Search

Back
Top