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 strongm 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 epoh

  1. epoh

    SQL Distinct Question

    What I want is to use the current address (T1.ADDR) that was entered when the customer visits using the latest APPT/VISIT date (T2.APPT_DATE) using the subquery you suggested. Finally taking only one SSN (T1.SSN) where T1.ACCTNO = T2.ACCTNO
  2. epoh

    SQL Distinct Question

    Nothing. After further review I just found multiple entries for the same customer. That's because the ACCTNO changes with each visit. I overlooked that. So a 5 time visitor still appears multiple times in the list.
  3. epoh

    SQL Distinct Question

    Okay, this is closer but not quite there. I'm trying to get a distinct/unique SSN based on the following: Latest VISIT_DETAIL.APPT_DATE AND VISIT_DETAIL.ACCT_NO & T2.ACCTNO = T1.ACCTNO & the DISTINCT T1.SSN that is in the same row as T1.ACCTNO T1.ACCTNO, T1.SSN, T1.FIRSTNAME, T1.LASTNAME...
  4. epoh

    SQL Distinct Question

    I will try this tomorrow when I'm back at work
  5. epoh

    SQL Distinct Question

    --CUSTOMER INFO TABLE SELECT T1.ACCTNO, T1.FIRSTNAME, T1.LASTNAME, T1.ADDR, T1.CITY, T1.ST, T1.ZIP, T1.SSN, --VISITOR DATE DETAIL TABLE T2.ACCTNO, T2.REP, T2.APPT_DATE FROM CUST_INFO T1, VISIT_DETAIL T2 WHERE T1.ACCTNO = T2.ACCTNO ORDER BY T2.APPT_DATE DESC What is throwing me off is getting...
  6. epoh

    SQL Distinct Question

    Oops, I goofed. T1.FirstName, T1.LastName, T1.SSN, T1.Address, T1.City, T1.ST, T1.ZIP, T2.Date, T2.Rep
  7. epoh

    SQL Distinct Question

    I am working on a query that has the following fields T1.FirstName, T1.LastName, T1.SSN, T1.Date, T1.Address, T1.City, T1.ST, T1.ZIP, T2.Rep sample data T1.FirstName, T1.LastName, T1.SSN, T1.Date, T1.Address, T1.City, T1.ST, T1.ZIP, T2.Rep John,Doe,500-22-1234,2010-12-10,123 N...
  8. epoh

    Clarification: Hide Group Header

    Well, I would but in the db there are two tables: tbl_SystemName tbl_Tasks There are multiple tasks here with different statuses of these tasks, I am looking for any unfinished task. the header is tbl_SystemName, the detail is a subreport of tbl_Taks
  9. epoh

    Clarification: Hide Group Header

    I am trying to clean up a report that displays information about a network resource (resources) and a subreport (tasks) with a basic to-do list. The two reports are linked together by ResourceID. Sample Report (how it looks now): Primary Domain Controller [Group Header] -Install updates...
  10. epoh

    Skip header if no data in detail

    I am trying to create a report that will skip the header, if there is no data in the detail section. I've looked and haven't found anything yet.
  11. epoh

    #Error (Access 2007) field concatenation

    Update: I created a new Trusted location and the issue appears to be resolved.
  12. epoh

    #Error (Access 2007) field concatenation

    Update: stranger still. I can run the report with no errors if I don't acknowledge the security warning. But if I run the report after I have enabled the content. I get the #Error in the same report. Any help would be appreciated :(
  13. epoh

    #Error (Access 2007) field concatenation

    [Field1] = Field1 [Field2] = Field2 I renamed the Field2 textbox to txt_Field2 and now it works if I make a new textbox called TextBox3 with the formula below:=[txt_Field2] Obviously this works with the textbox [txt_Field2] on the report, however if I remove the textbox txt_Field2 from the...
  14. epoh

    #Error (Access 2007) field concatenation

    This is really simple, but I can't figure it out. I am trying to concatenate to fields in an Access 2007 report. Both are text fields (size 255) This is what I have entered: =[Field1] & " " & [Field2] Every time I go to Print Preview it shows #Error Update: I can put [Field1] in an empty...
  15. epoh

    How to keep it together in Access 2003

    I would make a subreport with the detailed information (Students & classes) and place it in your main report which lists the classes.

Part and Inventory Search

Back
Top