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

  • Users: Spott
  • Order by date
  1. Spott

    limit number search and update

    Fantastic!! B-) Both codes work beautifully!!
  2. Spott

    limit number search and update

    You guys are good! That worked. :) New issue, if I run the update query again, another 0 is added. I'll be importing data to this table every two weeks. Is there a way to do that within this query? Only update the new <9999 data? My other thought is create a table for the new data, update...
  3. Spott

    limit number search and update

    In SQL it looks like this: UPDATE [DLH REPORT] SET [DLH REPORT].[FILE#] = "0" & [FILE#] WHERE ((([DLH REPORT].[FILE#])<="9999")); Still pulling all records. Ugg! Changed to: UPDATE [DLH REPORT] SET [DLH REPORT].[FILE#] = "0" & [FILE#] WHERE Val((([DLH REPORT].[FILE#])<="9999")); Still the...
  4. Spott

    limit number search and update

    Thanks, PH. It helped somewhat. It didn't do anything until I changed the field from number to text. Then it added a zero to all of the numbers including the 5 digit ones. I had criteria <=9999 and update to "0" & [field] Now I need to figure how to only pull the 4 digit again. <=9999...
  5. Spott

    limit number search and update

    I have a field with 4 digit and 5 digit numbers. I want to filter to only the 4 digit numbers and then do an update query to add a leading zero. I think I have done this before, but none of my search criteria or pattern matching ideas are returning me the 4 digit numbers. Thanks much!
  6. Spott

    excel date/time calculation

    My goodness...if it would have been a snake!! Already found one error, off to copy the formula a lot!!
  7. Spott

    excel date/time calculation

    Hey gang - this could be done in excel or an access query, whatever you think is easier. I've been looking at too many numbers and am now clinically brain dead. In my db I have 4 fields Start time, start date, end time, end date. I need to get the difference of time between end and start. If...
  8. Spott

    Make existing form entries read only and allow new entries on form?

    Well - I tried that...it didn't let me edit the existing records, so that's a plus but it wouldn't let me enter anything for a new record either. I inherited this db and a lot of it is coded in vba if that helps. I'm code-clueless...
  9. Spott

    Make existing form entries read only and allow new entries on form?

    I have a form that shows trouble reports on equipment. It brings up any existing entries first so people don't enter the same thing twice, they have to scroll through or press a &quot;new&quot; button to start a new entry. Problem: they can type over the existing entries! How can I make...
  10. Spott

    Add zero to beginning of field

    I think I tried it correctly and my numbers still come up 1111, 2222, 3333 instead of 01111, 02222, 03333... [field1]=Format([field1],&quot;00000&quot;)
  11. Spott

    adding &quot;name&quot; to form DLookup?

    I'm working on a form that pulls up training data linked to an employee number (from odbc table) I need to get the name to show up, so we can tell who's sheet we're looking at. If we just drop the name in, it locks the data so it can't be edited. I'm trying a dlookup...
  12. Spott

    Add zero to beginning of field

    We're updating employee numbers from 4 digits (1234) to five digits and padding the existing numbers with a zero in front (01234) I know there's a simple way to update this, adding the zero in front through a query, but I'm stuck! Help!!
  13. Spott

    Formatting Tables in Word 97

    I need to work at it (I'm of the macro clueless) but I think this will do the trick. I somehow got it to work on the wrong table, undid it and killed the macro and couldn't get it to apply to any more tables in the document. I'll look through help and faq's and see if I can figure it out...
  14. Spott

    graybar on report?

    I have a report that looks like a table when it pulls the data in. Is there any way to do a graybar on it like I can in excel? I'm stuck with Access97 at work, so need something that would work in that format. Thanks, Spott
  15. Spott

    Formatting Tables in Word 97

    Hi, I'm &quot;graybarring&quot; tables in word to make them easier to read online. None of the auto formats do what I want exactly and they don't auto-adjust if I add or delete rows. I just want gray, white, gray, white. I can format this in excel using conditional formatting and formula...
  16. Spott

    countif nesting formula

    Well...so far no dice, but I appreciate the help! I tried both formulas w/CSE and get 0. Result should be 6. Here is what I entered: =COUNT(IF('Metals L2'!E$2:E$999=&quot;*sigma*&quot;,IF('Metals L2'!A$2:A$999=&quot;D1&quot;,0))) =SUM(('Metals L2'!E$2:E$999=&quot;*sigma*&quot;)*('Metals...
  17. Spott

    countif nesting formula

    I have a report I'm trying to build. I pull the data from an access query and am summarizing it in excel. My plan is for it to auto update everything when I refresh the data. I think I need to nest a formula, and it's giving me a headache!. This formula shows all entires with...
  18. Spott

    Automaticaly fill in form fields

    What about the DLookup Function? I have a form where the user selects a step that is being done, the form fills in the workcenter based on the step. Control Source for the text box is: =DLookUp(&quot;[wopr_opr_grp_1]&quot;,&quot;informix_wipopr&quot;,&quot; [wopr_oper]=[Step]&quot;) On Step...
  19. Spott

    DLookup in Query

    Thanks Dterrie, I'm still trying to figure the dlookups out. emp_id and trainer are both numeric. I'll try these and see what happens. I also found a rtfm solution thanks to a coworker. add &quot;Active Employee Query&quot; a second time (since it is joined separately to pull the trainee's...
  20. Spott

    DLookup in Query

    I'm trying to return all active training records in a query. Trainer's name needs to show up. Trainer is listed as emp_id number and I'm trying to reference their name to show up. If no trainer is listed the active record doesn't show up in my current query. I need those to show up too. My...

Part and Inventory Search

Back
Top