My problem - i am creating an RTF file through an ASP(i have done this by creating the setout in word, saving the file in rtf, copying this into my asp as a writefile(" blah blah" referencing to the bits i need to change with the data)
This works, but there is a bit where i have a table section (maximum of four lines) and i want to bring up to 4 records from a table through.
What i want to do - select all records (ie. last name is smith!!!
Goto first record
Set an incremental value (ie.record) = 1
declare name1, name2, name3, name4
put first person into name1 (ie. name&[record] = name)
if not last record increment (record + 1)
loop
so i will get in declared name1 - dave, name2 - bob etc.
Then reference these into my cells on the RTF file.
I know what i want to do but haven't got a clue how to do it (i'm an access programmer by nature)
If this is too messy/confusing, don't worry i have been struggling with it for days (it may be a simple fix, but i am losing hair, very quickly)
Thanks
Dave
This works, but there is a bit where i have a table section (maximum of four lines) and i want to bring up to 4 records from a table through.
What i want to do - select all records (ie. last name is smith!!!
Goto first record
Set an incremental value (ie.record) = 1
declare name1, name2, name3, name4
put first person into name1 (ie. name&[record] = name)
if not last record increment (record + 1)
loop
so i will get in declared name1 - dave, name2 - bob etc.
Then reference these into my cells on the RTF file.
I know what i want to do but haven't got a clue how to do it (i'm an access programmer by nature)
If this is too messy/confusing, don't worry i have been struggling with it for days (it may be a simple fix, but i am losing hair, very quickly)
Thanks
Dave