V
vtj
I have a report in Access that has quite a number of lines(130) as print
elements. I would like to retrive two of the properties of each line and put
them in a table or even just print them to the immediate window. If I use
DAO can I write a VBA module to get the information? I would define the db
as DAO and set it to the CurrentDb. But then what is the recordset? And how
do I set it? The command would be db1.something I think. Then what is the
search criteria? Would the recordset be a SQL string of some sort? I am
trying to line up the beginning points(left) and width of many lines in an
accounting report. I could then pick a value and enter them to each line or
possible do a set command with the line.left and line.width methods. As you
can see, I am not very knowledgeable in VBA and would appreciate any info
especially a pointer to get me started or to where I can find more
information about doing this kind of thing.
elements. I would like to retrive two of the properties of each line and put
them in a table or even just print them to the immediate window. If I use
DAO can I write a VBA module to get the information? I would define the db
as DAO and set it to the CurrentDb. But then what is the recordset? And how
do I set it? The command would be db1.something I think. Then what is the
search criteria? Would the recordset be a SQL string of some sort? I am
trying to line up the beginning points(left) and width of many lines in an
accounting report. I could then pick a value and enter them to each line or
possible do a set command with the line.left and line.width methods. As you
can see, I am not very knowledgeable in VBA and would appreciate any info
especially a pointer to get me started or to where I can find more
information about doing this kind of thing.