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

  1. NewToProgramming

    Network Issues

    I have a PC, hooked up to the internet via DSL. Because of my lan connector is hooked up to the modem, I use my firewire port to hook it up to my laptop. I ran the network connection wizard on both machines. The problem is that sometimes I can't see the shared folders on both machines, then...
  2. NewToProgramming

    Computer wont turn itself off

    When I shut down windows, the computer won't shut itself off. After hearing a "CLUNK"(relay maybe??), the screen still says windows shutting down. This is the last thing to happen until, get this, I move the mouse... As soon as I move the mouse, just a tiny nudge, the computer shuts...
  3. NewToProgramming

    Another number round off question.

    I have a math equation that gives me the answer in a edit box. I want to have the number to only have the tenths in the decimal area, but not rounded off, just chopped off. example: Say the number is 56.4589. Rounded off to the tenths digit would be 56.5. I don't want that. I want it to...
  4. NewToProgramming

    My Query rounds off numbers, but I

    My Query rounds off numbers, but I don't want it to. How do you stop that from happening? Here is my code: Query := TQuery.Create( nil ); I := 1; R := 0; Query.DataBaseName := Table1.DataBaseName; Query.SQL.Add( 'SELECT (field) as whatever from db.Db' ); try Query.Open; Query.First...
  5. NewToProgramming

    Wanting it to Not Round Off

    I have a query that pulls numbers from a table field. These numbers are not whole numbers, they have decimals. When I use the query to gather up those numbers and add them together, it rounds them off to the whole number. How do you stop that from happening?
  6. NewToProgramming

    I know how to use a query to show m

    I know how to use a query to show me the maximum record, example: Query.SQL.Add ('Select Max fieldname as whatever from database') But how would you have the query give you the top 10 of the latest 20 results? Thank you, Mark
  7. NewToProgramming

    Using Data from a SQL Query.

    I have created a SQL statement to sum up one of my fields. My question is how do you pull that data out of the SQL into some kind of integer variable. Ex: Here is the SQL Statement: Query.SQL.Add ('Select SUM (Field) from DatabaseName') Now take that number and place it into: var I ...
  8. NewToProgramming

    Table Math Question

    I have a number field in my paradox table, and I would like to average the value of all the records for that field. I was able to do a query to get the values of all the records for that field, but just don't know how to average them. Thank you, Mark
  9. NewToProgramming

    P.S. "to Disable items in listbox. . . ."

    Here is a little sample of the code I have tried so far to get it to work: Please let me know what I am doing wrong. Make sure you have read my previous thread regarding what I am trying to do. Private Sub lstDisposition_Click() With Me If lstDisposition.Selected(0) = True Then...
  10. NewToProgramming

    Disable items in listbox if user selects a particular list item

    I have created a listbox with the multiselect property set to True. My listbox has 5 items. I want to create logic in my program so that if, for example, the user selects the first item on the list (ListIndex = 0), they are not able to select any other item on the list. If, instead of...

Part and Inventory Search

Back
Top