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 Westi 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. nike2000

    Union Query

    Thanks for getting back to me guys. What I am trying to do is merge the results of Bundlet_No and Bundlet_Mirror. But I would like to exclude all of the records that the Reference Entity is null. Thanks again.
  2. nike2000

    Union Query

    Hi, Could you let me know what is wrong with this Union Query? Thanks, SELECT Bundlet_No, ReferenceEntity FROM Tbl_Trades WHERE (((ReferenceEntity) Is Not Null)) GROUP BY Tbl_Trades.Bundlet_No UNION SELECT Bundlet_Mirror, Reference Entity FROM Tbl_Trades WHERE (((ReferenceEntity) Is Not Null))...
  3. nike2000

    Hi, I have a number of records on

    Hi, I have a number of records on a continuous from with check boxes. Is there any way that a Select All button could be used so as to 'Check' all of the Tick boxes? Thanks, Nike
  4. nike2000

    Select Query Multiple Fields

    Hi, Apologies for posting twice. The query threw back an error message: 'Syntax error (missing operator) in query expression' The SQL of the query is: SELECT Tbl_Trades.[MAD No], Tbl_Trades.[FRD No], Tbl_Trades.[Analytic Direction], Tbl_Trades.Ptf, Tbl_PortfolioLocations2C.Location...
  5. nike2000

    Select Query Multiple Fields

    I have three tables in a query the SQL is: SELECT Tbl_Trades.[MAD No], Tbl_Trades.[FRD No], Tbl_Trades.[Analytic Direction], Tbl_Trades.Ptf, Tbl_PortfolioLocations2C.Location, Tbl_Trades.[Portfolio 2], Tbl_PortfolioLocations2C_1.Location FROM Tbl_PortfolioLocations2C AS...
  6. nike2000

    I have three tables in a query the

    I have three tables in a query the SQL is: SELECT Tbl_Trades.[MAD No], Tbl_Trades.[FRD No], Tbl_Trades.[Analytic Direction], Tbl_Trades.Ptf, Tbl_PortfolioLocations2C.Location, Tbl_Trades.[Portfolio 2], Tbl_PortfolioLocations2C_1.Location FROM Tbl_PortfolioLocations2C AS...
  7. nike2000

    Hi, I have a query with a number o

    thanks for gettin back to me raye. what you have said is fine but Location 1 and Location 2 are completely seperate fields. they are not together. i would like to see only those records that have London in either of the two fields. Nike
  8. nike2000

    IF Function - Two Fields??

    because the same record can have two different locations placing London in both will only return records with London in both fields. There are variations in the two Location fields that can be London New York or New York London. the Iif statement is the best option. can this be done using an...
  9. nike2000

    Hi, I have a query with a number o

    Hi, I have a query with a number of fields but would like to filter on the following two fields: Location1 and Location2 The records in both of these fields will only have the following data: London, New York, Tokyo, Hong Kong and can also be Null. I would like to be able to show in the...
  10. nike2000

    IF Function - Two Fields??

    Hi Pwise, I already have the query built and is quite complex already. It would be asier just to have the If statement, can this be done? Many thanks Nike
  11. nike2000

    IF Function - Two Fields??

    hi pwise, Thanks for getting back to me. This suggestion won't work because the Location 1 field can be London but the Location 2 field may have New York. This could also be reversed. These fields are independant of each other. So this would mean that where London was on one field and not the...
  12. nike2000

    IF Function - Two Fields??

    Hi, I have a query with a number of fields but would like to filter on the following two fields: Location1 and Location2 The records in both of these fields will only have the following data: London, New York, Tokyo, Hong Kong and can also be Null. I would like to be able to show in the...
  13. nike2000

    Formatting Output Query from a Macro into Excel

    Hi, I have a Macro that Outputs a Query into Excel. I would like to insert a Row between the Headings and the first row of data. Can this be done? Thanks, Nike
  14. nike2000

    If Statement - Two fields...

    I have two fields in a query. They are: PV_OverTolerance DeltaOverTolerance The data in the fields is either 'Yes' or 'No'. I would like an If statement that would flag 'Warning' if any of the two fields indicated Yes for any record. Help would be appreciated. Many thanks, Nike
  15. nike2000

    if null

    worked a treat thanks very much. Nike
  16. nike2000

    if null

    Hi, I have a field in a table that contains one of the follwoing data. The data is O, M and it can be null. The name of the field is 'Analytic Direction'. Depnedant on the criteria of the field I would like to display more identifiable values for each one. They are: O = Original M = Mirror If...
  17. nike2000

    Hi, Is this Syntax correct?? =I

    Hi, Is this Syntax correct?? =IIf([PV_OverTolerance]="No","Yes",IIf([DeltaOverTolerance]="No","Yes","No")) Thanks for looking, Nike
  18. nike2000

    Time Calculation - Hours

    Hi, I have a form that I am trying to calculate time taken to do certain tasks. The fields I have are StartTime and EndTime. I have used: =Sum([StartTime]-[EndTime]) but anything over 24 hours reverts to 01:30 for example. I would like to calculate the number of hours over 24 without taking...
  19. nike2000

    Update Query

    Harry, sorry Daniel, I call everyone Harry its just an expression that i use. its a terrible habit. sorry thanks again. the tip worked perfectly. all the best, Nike
  20. nike2000

    Update Query

    Harry, excellent it worked a treat!!! thank you very much. one more question.... how could i update the individual records on the continuous form?? thanks, Nike

Part and Inventory Search

Back
Top