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: russellmunday
  • Order by date
  1. russellmunday

    dataset to create mail attachment

    yes that now works Thanks
  2. russellmunday

    date query on sql table

    I added the your line but the sdate was underlined when i hover over it the message says "value of type 'date' cannot be coverted to integer
  3. russellmunday

    date query on sql table

    I am still getting the following error when connecting System.Data.SqlClient.SqlException: Error converting data type nvarchar to datetime. at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) at...
  4. russellmunday

    dataset to create mail attachment

    I do not have the origional code i tested with so i have recreated it the first problem is the dr.item is underlined and when i hover the mouse over it it says " overload resolution failed because no accessible item accepts this number of arguments. Dim da As SqlClient.SqlDataAdapter...
  5. russellmunday

    date query on sql table

    thanks ill give it a go
  6. russellmunday

    dataset to create mail attachment

    had to move on to another project an your help was appreciated but when i came back to this project and tried the code it would not work.
  7. russellmunday

    dataset to create mail attachment

    thanks but it does not work
  8. russellmunday

    date query on sql table

    I still am not sure of whats happening here but I have tried it and am getting the following results i am probably doing something wrong but i just can't seem to grasp it; System.InvalidOperationException: The SelectCommand property has not been initialized before calling 'Fill'. at...
  9. russellmunday

    dataset to create mail attachment

    I am trying to attach files to an email based on a selection that is stored in a sql table but when i try to loop through whats there i get various build errors. if anyone has done this or can see where i'm gpoing wrong please help 'connect to database and fill the daaset with the kitnumbers...
  10. russellmunday

    date query on sql table

    May be I'm getting this wrong but if the dataadapter does not have any idea of the parameter when it polls the database table all records will be returned and put into the dataset. and not the selected records I want.
  11. russellmunday

    date query on sql table

    If I use a stored proceedure how do I get the returned data into a dataset? because the datasets i have used so far have had a string passed to them see my example Dim sdate As Date sdate = Date.Today.AddMonths(1).ToString Dim ssql As String ssql = "select * from...
  12. russellmunday

    date query on sql table

    do you have any examples of using parameters?
  13. russellmunday

    date query on sql table

    can someone tell me where i'm going wrong with this Dim sdate As Date sdate = Date.Today.AddMonths(1).ToString Dim ssql As String ssql = "select * from information where expirydate <'" & sdate & "'" i want the records that are about to run out to be returned. Thanks
  14. russellmunday

    database value as email file name

    your a star thanks for your help
  15. russellmunday

    database value as email file name

    OK i have this so far but it may be completley off mark the loop through seems to work if i use the response.write as in the example but i am not sure where to go from here. Private Sub sndtorep() 'code here sends email to factory with attachments Dim wapp As...
  16. russellmunday

    database value as email file name

    Thanks thats great
  17. russellmunday

    database value as email file name

    I understand the sql query but do you have any examples on looping through the dataset? Thanks
  18. russellmunday

    database value as email file name

    I have a prgram that stores infromation in an sql table through the program until the final page where the collected data is then used to place an order. I want to be able to use the kit number values as part of the filename that i can then attach to an email. for example if i had the kitnumbers...
  19. russellmunday

    Host Header Name

    sorry one last question I am running windows 2000 sbe and when i try to add the www.russell.co.uk in the forward lookup zone it will not allow the "." am i in the wrong place?

Part and Inventory Search

Back
Top