|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Writing to file
Hi ya,
Im working on an Access database to work together with a Website. I want the Access application to write the following line to a CSS (pretty much behaves like a txt document) document: [break line][emty line] "#" & Me.Fieldname &" {position: absolute; visibility: hidden;} Now I have managed to get it to write "#" & Me.Fieldname &" {position: absolute; visibility: hidden;} to the end of the document however I cannot get it to break and skip a line. What are the commands for this? Write ...... ? Also since it is possible to delete things in the Access applications I want to be able to delete things in the CSS document as well. How can I find a word in a textfile matching to the value entered in the field and delete this word including a defined number of characters to the right (always 40) and left (always 1)? Cheers Thomas |
|
#2
|
|||
|
|||
|
To add line breaks in code, use something like
str = "line 1" & vbcrlf & "line 2"
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
Quote:
cheers for that Doug |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Writing to file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|