J
jray214
Guest
I want to do the following. That the results of the query and output it to a HTML. Now, I need to be able to process the query row by row and test for different information. Based upon the results is what tag I use.
The following code was used to test some basic open and closed, but I get an error.
Thanks for the help
Jim
Here is the code:
Option Compare Database
Dim db As Database
Dim rs As Recordset
Set db = CurrentDb <Errors here>
Set rs = db.OpeRecordset("qryDefault")
Open "myHTML.html" For Output As #1
Print #1, "<html><body>"
Do While Not rs.EOF
Print #1, rs!Project & rs!font_color
Loop
Close #1
Set db = Nothing
Set rs = Nothing
Here is the error:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Compile error. in query expressions 'ApploadString([bw_tblBtnActions].[Description])'.
The following code was used to test some basic open and closed, but I get an error.
Thanks for the help
Jim
Here is the code:
Option Compare Database
Dim db As Database
Dim rs As Recordset
Set db = CurrentDb <Errors here>
Set rs = db.OpeRecordset("qryDefault")
Open "myHTML.html" For Output As #1
Print #1, "<html><body>"
Do While Not rs.EOF
Print #1, rs!Project & rs!font_color
Loop
Close #1
Set db = Nothing
Set rs = Nothing
Here is the error:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Compile error. in query expressions 'ApploadString([bw_tblBtnActions].[Description])'.