I am using the following code to write to the Hosts file on a computer. Earlier code figures out what OS and then path to the Hosts file. If the file does not exist I want it to create the file and add two lines. The code is:
'If CheckFileExist is False then create the file.
If...
Thank you very much. I did not even realize I had '' around my variable in my insert string. I removed that and it works great.
I used the cDble after I validated it as a number for data checking.
Thanks again!
I have a ASP webform that reads data from a Microsoft SQL 7 database and displays it on a webform. You can then edit the data and resubmit it.
One of the fields is Hours (time) spent on the project. The data type in SQL is numeric. After reading the data in and posting it to the form, when...
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.