E
Enrique Rojas
Hello,
I have VBA code from an Access Form that I am porting over to ASP.
What the code does is takes a document template and inserts data tables
with values taken from an Access Database.
What I need to do have this code work in ASP. Generate a client side
word document based on the data in the database.
So far I have been able to port most of the code over. The Template
opens and values are being read from the database. However I run into a
problem with these lines.
objw.Selection.HomeKey Unit: = wdLine
and later
myTable.Cell(1, 1).Merge MergeTo:=myTable.Cell(2, 1)
myTable.Cell(2, 10).Merge MergeTo:=myTable.Cell(1, 10)
myTable.Cell(1, 2).Merge MergeTo:=myTable.Cell(1, 9)
Seems like commands with ":=" are no liked in ASP
I have been searching the internet for a solution where I can reword
that line but found nothing.
I have been using an ASP server called Baby ASP.
Can anyone confirm that these lines of code actualy do work in ASP.
Looking forward to a response.
Thank you.
I have VBA code from an Access Form that I am porting over to ASP.
What the code does is takes a document template and inserts data tables
with values taken from an Access Database.
What I need to do have this code work in ASP. Generate a client side
word document based on the data in the database.
So far I have been able to port most of the code over. The Template
opens and values are being read from the database. However I run into a
problem with these lines.
objw.Selection.HomeKey Unit: = wdLine
and later
myTable.Cell(1, 1).Merge MergeTo:=myTable.Cell(2, 1)
myTable.Cell(2, 10).Merge MergeTo:=myTable.Cell(1, 10)
myTable.Cell(1, 2).Merge MergeTo:=myTable.Cell(1, 9)
Seems like commands with ":=" are no liked in ASP
I have been searching the internet for a solution where I can reword
that line but found nothing.
I have been using an ASP server called Baby ASP.
Can anyone confirm that these lines of code actualy do work in ASP.
Looking forward to a response.
Thank you.