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!

Search results for query: *

  • Users: MadMax7
  • Order by date
  1. MadMax7

    Crosstab paremeter query help

    Hope someone can help i have the following code PARAMETERS [Between [forms]![frmPreviewReports]![txtStartDate] And [forms]![frmPreviewReports]![txtEndDate]] DateTime; TRANSFORM Count(qryClusterA.ClusterXfers) AS CountOfClusterXfers SELECT qryClusterA.Interval, Count(qryClusterA.ClusterXfers)...
  2. MadMax7

    Like Help

    I am trying to write a module with the following code If Name like '*119*' Then CorrectName = "Macclesfield " & Name elseif Name like '*118*' Then CorrectName = "Stockport " & Name End If i need to run this code for about a 1000 different outcomes but the code is stopping and highlighting the...
  3. MadMax7

    All Data in a string before space or "-"

    Hope someone can help i have the following code that returns any data before a space in the name field Left([Name],InStr([Name] & ' ',' ')-1) i also have the following code that returns any data before a "-" Left([Name],InStr([Name] & "_","_")-1) i was wondering if it would be possible to...
  4. MadMax7

    Delete Query Help

    sorry do you mean i need to add a primary key into one iof the tables
  5. MadMax7

    Delete Query Help

    Hope someone can help I am trying to run the following delete query SELECT tblAlternativeNetworkCallDetail.*, CDate(Left([StartDateTime],10)) AS Expr1 FROM tblAlternativeNetworkCallDetail INNER JOIN tblMidTermAnsPoints ON tblAlternativeNetworkCallDetail.TAD = tblMidTermAnsPoints.TAD WHERE...
  6. MadMax7

    Sort Order

    Remou i have sorted ut the issue above and it sorts fine however i am now getting a run time error saying record to large and it selects rst!Field1 = strField1 do you know what could be causing this?
  7. MadMax7

    Sort Order

    Remou thank you for your response i have updated my code and when it runs i am getting runtime error 3061 Too few parameters.Expected 1
  8. MadMax7

    Sort Order

    I have the follwing code to fill in any blank records i have in field1 Set db = CurrentDb() Set rst = db.openrecordset("tblInitialAgentCcsData", dbOpenDynaset) rst.MoveFirst Do While Not rst.EOF strField1 = rst!Field1 rst.MoveNext Do While IsNull(rst!Field1) rst.edit...
  9. MadMax7

    Import Multiple SpreadSheet Help

    I hope someone can help, i have used the following code from thread 705-892728 Dim ImportFile ImportFile = Dir("C:\Program Files\Alcatel\A4400 Call Center Supervisor\Excel\DAILY\Agents\18_09_06\*") Do While ImportFile <> "" DoCmd.TransferSpreadsheet acImport, 8, "tblInitialAgentCcsData"...
  10. MadMax7

    Wildcard Help

    ProgramError thanks for your help i have looked at the Instr() function, would i have to inputt all the STd's for it to look for and thenm put a space or is there be a quicker way to do this? thanks again
  11. MadMax7

    Wildcard Help

    i do have another table that shows me all STD's and there delivery points but i have no way of linking the tables together
  12. MadMax7

    Wildcard Help

    sorry to sound a bit thick but what do you mean by splitting the number down beacause of the issue of some std being 4 5 or even 6 numbers was why i thought about using a wildcard
  13. MadMax7

    Wildcard Help

    I have a list of customer telephone numbers (field Name "CLINumber")in a table what i need to be able td do is to confirm form the inital std code what area the call should have been deliverd to. so i want to set up a module to check each record for example if the customer number is 01132151239...
  14. MadMax7

    Transfer Spreadsheet help please

    i hope some one can help i am pulling my hair out with this one I have the following code DoCmd.TransferSpreadsheet acImport, 8, "tblInitialQuoteData", "H:\Retail Network\Public\0800Plan\Ops Team\Non Motor & Internet\NSU man tracking V6.XLS", NO, QuoteDatabyName when i run the code i get run...
  15. MadMax7

    on open event

    I hope someone can help, i have the following code on the open event of a form to find a specific record Me.Recordset.MoveFirst Do Until Me.Property_Ref = Forms!frmPropertyBasicDetails!PropertyRef Or Me.Recordset.EOF Me.Recordset.MoveNext Loop thios works fine if there is a...
  16. MadMax7

    Someone please help.......

    that works great thanks
  17. MadMax7

    Someone please help.......

    Golom thank you for your help i was wondering if it would be possible to put a record count after the duplicate flag, so if there are 6 CLI records the same the duplicate flag would say duplicate1 for the first record all the way to duplicate6 then when there is a new duplicate CLI the count...
  18. MadMax7

    Someone please help.......

    I have been sent a table that holds all our call details by day i need to be a ble to check each record and if the next record in the table is the same then i need to update a field in my table [DuplicateFlag] with the word "duplicate" i have come up with the following that i seems to work...
  19. MadMax7

    Duplicate records Help

    sorry my a example of the some of the data is Date CLI Less60Flag Greater60Flag 01/03/06 01619231234 1 01/03/06 01619231234 1 01/03/06 01619234567 1 so for the above data i need to show that we had a...
  20. MadMax7

    Duplicate records Help

    I hope somebody can help, i have a table that has a number of fields but for this query i only need 4 fields, they are Date CLI Less60Flag Greater60Flag The problem i have is the table contains the number that a customer contacted us on (CLI), what i need to do is count the total number...

Part and Inventory Search

Back
Top