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 TouchToneTommy 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 nicktred

  1. nicktred

    Query Problem

    Thanks guys i got it working Thanks again Nick
  2. nicktred

    Query Problem

    Hi cheers Dont suppose you could point me in the direction of a tutorial or similar cheers Nick
  3. nicktred

    Query Problem

    I have a query based on a set of constraints entered by user in text/combo boxes. However when i run the query i get the following error message Runtime error '3065' cannot execute Query I have run the sql threw the query wizard and it works there but not in the module code **************...
  4. nicktred

    Insert Query Problem

    Thanks for the help was beign really stupid hadnt set it to double. Thats the prob after working for 8 odd hours straight seem to miss stupid things thanks again nick
  5. nicktred

    Insert Query Problem

    I put a breakpoint in before the insert is done to display the contents on strSQL and it contains the data in the right format without any rounding but still rounds it when it inserts it into the db. # Nick
  6. nicktred

    Insert Query Problem

    I have an insert statement that doesnt quite work right ************** Dim strSQL As String Dim antpost As Double strSQL = "INSERT INTO shiftcalculations VALUES (1111, " & Me.Ant_PostShift & ", " & Me.sup_infShift & "," & Me.right_leftShift & ")" CurrentDb.Execute strSQL...
  7. nicktred

    Highlight a row in a cont form

    HI i know this tread is from a while ago but was wanderign if is is possible to do the same (Highlight a row)not based on the unique id. In a form i am displaying it doesnt have a unique id of such. It has a cust_id but this occurs many times for each customer and i am displaying all the...
  8. nicktred

    Average function

    Thanks for all you replies got it working using the example code supplied the error was stupid sorted it out had put one of the field names in incorrectly. Thanks Again Nick
  9. nicktred

    Average function

    have been looking at the function posted would i put it under the report or as a seperate module? Have tried as both but put out an error as the value nick
  10. nicktred

    Average function

    the field is empty as to say there is no value there on some occasions but on others there can be Ill give the ideas a try thanks for your help will let u know how i get on cheers nick
  11. nicktred

    Average function

    HI Im tryign to get the average of five fields, on a report. However the fields are not allways in use so i need the average to adjust to any empty fields. How can this be done eg f1 0.1 f2 f3 0.35 f4 0.65 f5 -0.15 or could be f1 0.1 f2 0.5 f3 -0.26 f4 0.123 f5 0.36 Any idea Cheers Nick
  12. nicktred

    applyFilter problem

    Thanks alot that did it thought it would be something simple like that. Thanks again Nick
  13. nicktred

    applyFilter problem

    HI im trying to filter a record set in a form and but doesnt seem to like the ApplyFilter function any ideas DoCmd.ApplyFilter , "customer_id = '" & customer_id.Value & "'" Cheers Nick
  14. nicktred

    parsing prob

    I added incomplete code before i think it shoudl be Do While Not txtInn.AtEndOfStream lCounter = lCounter + 1 sText = txtInn.ReadLine If lCounter = 1 Then txtOut.WriteLine sText End If If lCounter > 6 Then txtOut.WriteLine...
  15. nicktred

    parsing prob

    HI im trying to read in csv file adn then import the data into a table. Everything works so far but before the csv is added i remove the first 6 lines of it except for the first one. How can i get just the ref no and append it to all records in the csv. the ref no looks like ref id: 1234...

Part and Inventory Search

Back
Top