I have this query that is in a Stored Preocedure. I want to be able to call this stored procesure with different variables. Problem is that is will not compile with a variable in the From statement. I keep getting a message that the variable must be decared but that is strage because I have...
OK i am still new at SQL and my probelm is that when I divide Minutes by 60 (I.E. 458 minutes divided by 60 should return 7.63 hours) However When I do SUM(MINS)/60 I get 7. I tried CAST((SUM(MINS) / 60) as float) As hours and I still get 7. Can anyone tell me how to get SQL to return 7.63...
Ok so I have a simple fuction. All I want to do is convert all . to /
doesnt seem to work very well
here goes
function DoThese(date_field) {
if (date_field.indexof(".") != -1)
date_field = date_field.replace(".","/");
validate_date(date_field)...
hey rapidapp,
here is something that might work better for you in VB6.
Function Sendmail()
'Declare Variables
Dim strESubject, strOutPut, strTo, strFrom As String
Dim mail As CDONTS.NewMail
Set mail = New CDONTS.NewMail
strTo = "someone@somewhere.com"
strFrom =...
rapidapp,
I am not certain, what references would be needed in VB6. But I know in VBA all you should need is a reference to the Visual Basic for Applications and it is possible that you may also need to reference the Microsoft Active X data objects 2.1
Hope this helps
Marco,
here is a basic function that will scroll thru a table and send emails to all the individuals listed in that table. it can be easily modified to send emails to only certain people.
Function SendMail()
Dim dbs As DAO.Database
Dim rst As DAO.Recordset...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.