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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by surfbum3000

  1. surfbum3000

    Merge two fields when duplicated

    Thanks Golom for the lead. This code worked: SELECT tblTestDups.CASE_NUM, tblTestDups.STARTTIME, Concatenate("SELECT STARTTIME FROM tblTestDups WHERE CASE_NUM =""" & [CASE_NUM] & """") AS STARTTIME2 FROM tblTestDups;
  2. surfbum3000

    Merge two fields when duplicated

    I have been searching the FAQs and have googled it. As with most searches such as this, I am not sure what topics to search on. I have read about append queries but that doesn't seem to work. I have also come across concatenate but that also doesn't seem to do what I need done. I don't mind...
  3. surfbum3000

    Merge two fields when duplicated

    I need to merge two fields only when there is a duplicate. I created a query to separate the duplicates from a table (although that step may not be necessary. The table contains appt. information for an outpatient clinic. Some patients have multiple appts. A sample of the data is as follows...
  4. surfbum3000

    View records when two fields are equal

    In my table tbl2DaysAppts I would like to only view the records where the date and 2 names are equal. The query below does not provide this information. Any assistance is appreciated. SELECT tbl2DaysAppts.tblAnasaziStaff_LAST_NAME, tbl2DaysAppts.STARTDATE FROM tbl2DaysAppts WHERE...
  5. surfbum3000

    When form changes, insert default today as date

    Thank you very much for your help. No wonder it wasn't working! I changed the field name in the table from Date to DateUpdated. I then inserted this code in the expression builder On Dirty. Sometimes it's the little things. Private Sub Form_Dirty(Cancel As Integer) Me!DateUpdated = Date End Sub
  6. surfbum3000

    When form changes, insert default today as date

    I have read access help and Tek Tips http://www.tek-tips.com/viewthread.cfm?qid=1226608 attempting to find a solution. I have a table named tblMasterList with a date field, format Short Date. None of the existing records have the date field completed. I also have a form titled frmMasterList...
  7. surfbum3000

    SQL Alter Table Data Types

    I have a table that needs multiple column data types changed to text. I am using this code that works: ALTER TABLE tbl6DaysSERVICES ALTER ID text The downside is I have to create a seperate query for each column to change each data type. I have tried: ALTER TABLE tbl6DaysSERVICES ALTER ID...
  8. surfbum3000

    Change File Name to Linked Database

    I created a macro with the following parameters: Transfer Type: Link Database Type: Microsoft Access Database Name: C:\LOGS\092006CALLS.MDB Object Type: Table Source: LoggedCalls Destination: LoggedCalls Structure Only: No I run the macro using Scheduled Tasks on the first day of each month...
  9. surfbum3000

    Only include fields not equal

    I called Microsoft and paid the $35 fee for assistance. Turns out PHV was right and the problem was the fact the data in the appointments table was not inclusive. When I originally posted, I did not know the software allowed closed cases to be scheduled; therefore, not all appointments were...
  10. surfbum3000

    StartTime plus EndTime Must Equal 1 hour

    This is the code that worked: SELECT tbl4Sites.Start_Time, tbl4Sites.End_Time, DateDiff("n",[Start_Time],[End_Time])=60 AS Expr1 FROM tbl4Sites ORDER BY tbl4Sites.Start_Time; The results in the Expr1 field is either a 0 or -1, with -1 equaling 1 hour.
  11. surfbum3000

    StartTime plus EndTime Must Equal 1 hour

    My tbl4Sites has various StarTimes and EndTimes. I only want to see data where the StartTime and EndTime equals one hour. Both fields are text.
  12. surfbum3000

    Replace Data More Than One Field

    Very good. Worked like a charm. Thanks.
  13. surfbum3000

    Replace Data More Than One Field

    Data type = text Your assumption is correct. If any field has :59 I need to add 1 minute.

Part and Inventory Search

Back
Top