473,386 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

MS Access Reports

Hello! There is a report containing strings with variable heights. Is
it possible to count strings on each pages? Thanks.

Feb 21 '06 #1
4 2221
It is but not in a simple straightforward maner. What exactly are you tring
to accomplish?

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"?????" <ts**@otrs.ru> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
Hello! There is a report containing strings with variable heights. Is
it possible to count strings on each pages? Thanks.

Feb 21 '06 #2
The report contains report header section, details section and report
footer section.
Data string contains field(s) with variable height(s) (the height
depends on length of text string).
Terms:Every pages (including pages with header and footer sections)
must contain 1 data string minimum.

Feb 22 '06 #3
There is obviously a language issue here. If I understand you correctly,
even if there is no data in the current row, you want the all of the TextBox
controls to be sized to display one row of text.
In the Format event of the Detail section, you could check and see if the
current value of the TextBox contrl(s) is empty. If so then programmatically
resize all of the TextBox controls in this section to a specific height.

If Me.NameOfTextBox1.Value = "" then Me.TextBox1.Height = 1440/10

THis would size the TextBox to a 1/10 of an inch in height. You would
obviously adjust the number as required. Access control dimensions are
specified at run time in TWIPS. There are 1440 TWIPS per inch.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"?????" <ts**@otrs.ru> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
The report contains report header section, details section and report
footer section.
Data string contains field(s) with variable height(s) (the height
depends on length of text string).
Terms:Every pages (including pages with header and footer sections)
must contain 1 data string minimum.

Feb 22 '06 #4
I'm sorry, I badly express. The problem was in that to print at least 1
row on last page (The height every row can be various). I have found
the decision of the problem, nevertheless, thanks a lot.

Igor Tsoy

Stephen Lebans wrote:
There is obviously a language issue here. If I understand you correctly,
even if there is no data in the current row, you want the all of the TextBox
controls to be sized to display one row of text.
In the Format event of the Detail section, you could check and see if the
current value of the TextBox contrl(s) is empty. If so then programmatically
resize all of the TextBox controls in this section to a specific height.

If Me.NameOfTextBox1.Value = "" then Me.TextBox1.Height = 1440/10

THis would size the TextBox to a 1/10 of an inch in height. You would
obviously adjust the number as required. Access control dimensions are
specified at run time in TWIPS. There are 1440 TWIPS per inch.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"?????" <ts**@otrs.ru> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
The report contains report header section, details section and report
footer section.
Data string contains field(s) with variable height(s) (the height
depends on length of text string).
Terms:Every pages (including pages with header and footer sections)
must contain 1 data string minimum.


Feb 23 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Teri Welch | last post by:
Hello, We maintain a VB6 front-end application using an Access 2000 database. All code and forms are in VB6. The program also uses several queries/reports defined in Access. For corporate...
3
by: Gheaci Maschl | last post by:
Hi all! I would like to have your opinion about my problem and my proposal how to solve it: Ingredients: - BTriev database - Crystal Reports - maybe MS Access - Liinos6 (small ERP software)
3
by: trustme1 | last post by:
I am wanting to be able to write reports against an ms-access database that is part of another package. I only want to report from the database. What I need is a package that will allow me to...
1
by: Bilal Iqbal | last post by:
Hi. Currently i have database MS Access. In the database there are some Reports already designed. i am developing interface in VB and linking to MS Access database. My Problem is to access/Link...
11
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
16
by: cyranoVR | last post by:
This is the approach I used to automate printing of Microsoft Access reports to PDF format i.e. unattended and without annoying "Save As..." dialogs, and - more importantly - without having to use...
2
by: B.Newman | last post by:
I've got some VB.NET code that *should* get a list of reports from an Access MDB and populate a list box with them. It doesn't detect any of the reports at all. oAccess.Reports.Count comes up as...
6
by: Bob Alston | last post by:
I am looking for Access reporting add-in that would be easy to use by end users. My key focus is on selection criteria. I am very happy with the Access report writer capabilities. As far as...
16
by: JoeW | last post by:
I'm utilizing a database that I created within MS Access within a program I've created in VB.NET. I am using the VB front end to navigate the information, but want to be able to print a report,...
6
by: DeniseY | last post by:
I have an Access report that is created on the fly by the user selecting the fields to be included. The Access report comes out fine, but I want it to automatically output to an Excel spreadsheet....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.