CosmoKramer,
Thanks for your quick response. I added the line Cancel=True, but even that didn't work. For some reason, it formats the entire report before printing, and I think that is the reason it's losing the formatting options and now the Cancel value. I'm sure I'm doing something wrong...
I have a report that needs to determine a set of criteria for each record prior to printing the detail line.
In the OnFormat event, I test each record in the recordset. If it doesn't meet the criteria, I set the following properties.
With Me
.MoveLayout = False
.NextRecord = True...
Never mind. I figured out the problem. While in Debug mode, I was copying the Watched Variable Value field and pasting it into UltraEdit. Apparently, that value only displays the first 256 characters. :-)
Good Afternoon,
I'm trying to store a long string into a string variable, but it seems to only retain around 256 characters. In looking at the Access VB reference regarding String Data Types, it suggests that this data type will hold up to 64,000 characters. Am I misunderstanding? I've also...
ilses,
Thanks again, not only for the post, but for reminding me that there are other sources of information which I should have used prior to taking up your time. :-)
I'm going to give this code a run through to see if I can come up with something.
Take care,
Randy
Ilses,
Thanks for your suggestion. I created an object for the BuiltInDocumentProperties as shown below.
Dim propAuthor as DocumentProperty
Dim propCompany as DocumentProperty
Dim propHBase as DocumentProperty
Set propAuthor = objDoc.BuiltInDocumentProperties(wdPropertyAuthor)
Set...
Good Day,
I've experienced this problem in the past but it's not been critical since my documents were small. But now that I'm working on larger documents, it's become a problem.
I've written a script to set several BuiltInDocumentProperity fields. When I run the script it recalculates the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.