473,425 Members | 1,715 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,425 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 2223
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....
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.