473,385 Members | 2,243 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,385 software developers and data experts.

Fill textboxes in report with vba

I have rebuilt a govermental formular with a report by putting some 30
textboxes in the page header at the right places for printing. I want
to fill these textboxes with the data from a query, putting each item
of each record into the right textbox.
But I do not find out how to do this.
Could please someone give me a hint. Is it possible at least and what
is the correct syntax and where to put the code.

Thank you.
Nov 13 '05 #1
3 1656
Bill Schneider wrote:
I have rebuilt a govermental formular with a report by putting some 30
textboxes in the page header at the right places for printing. I want
to fill these textboxes with the data from a query, putting each item
of each record into the right textbox.
But I do not find out how to do this.
Could please someone give me a hint. Is it possible at least and what
is the correct syntax and where to put the code.


I'm missing a cardinality indication in your question. No, let me state
this in normal language. You have one page header, but many (how many?)
records in the query; how do you wish to see this in the report?

You can always put "random" values from data sources, be it queries or
tables, into a control with the DLookup function, or other members of
that family; but the 'each record' clause in your question hints me that
that is not the approach here.

--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea
Nov 13 '05 #2
Which "Header" ? Is it a grouping header?
Tony D'Ambra
Web Site: aadconsulting.com
Web Blog: accessextra.net

"Bill Schneider" <bi****@web.de> wrote in message
news:f6************************@posting.google.com ...
I have rebuilt a govermental formular with a report by putting some 30
textboxes in the page header at the right places for printing. I want
to fill these textboxes with the data from a query, putting each item
of each record into the right textbox.
But I do not find out how to do this.
Could please someone give me a hint. Is it possible at least and what
is the correct syntax and where to put the code.

Thank you.

Nov 13 '05 #3
Which "Header" ? Is it a grouping header?
Tony D'Ambra
Web Site: aadconsulting.com
Web Blog: accessextra.net

"Bill Schneider" <bi****@web.de> wrote in message
news:f6************************@posting.google.com ...
I have rebuilt a govermental formular with a report by putting some 30
textboxes in the page header at the right places for printing. I want
to fill these textboxes with the data from a query, putting each item
of each record into the right textbox.
But I do not find out how to do this.
Could please someone give me a hint. Is it possible at least and what
is the correct syntax and where to put the code.

Thank you.

Nov 13 '05 #4

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

Similar topics

1
by: Mark | last post by:
Hello, I have a report in MS Access 2002 that has a list of textboxes in a row down the page. All these textboxes get variable length data from the Control Source Table of the report or from a...
7
by: ruca | last post by:
Hi, How can I fill a datagrid without accessing to a database or any type of file, only filling with a command button like this: I have 3 textboxes that I must fill, and a button that when...
3
by: SD | last post by:
Hello, I have a form that has a panel container where I'm adding textboxes dynamically based on a query to database, so I'm looping through the records. The problem I have is that once built,...
2
by: Aaron Ackerman | last post by:
I have been having just on going problems with my MS Datagrids. I have NO idea what I am doing wrong. What is esentially happening is that say I have three records in my Dataset. I click on the...
4
by: Drum2001 | last post by:
SELECT ra_report.CCENTER, FROM ra_report WHERE (((ra_report.CCENTER) Like "*" & !! & "*" Or (ra_report.CCENTER) Like "*" & !! & "*" Or (ra_report.CCENTER) Like "*" & !! & "*" Or...
2
by: EManning | last post by:
Using A2K. I have a series of unbound textboxes on a report. I made a duplicate of these textboxes (Edit...Duplicate) to make a new series, then put this new series on another report. But I...
3
by: eSolTec, Inc. 501(c)(3) | last post by:
Thank you in advance for any and all assistance, it is GREATLY appreciated. I'm trying to programatically fill in textboxes in an aspx page from vb.net 2005 using the Shell command to call the...
2
by: Pieter | last post by:
Hi, I have a group of TextBoxes on my report that I want to be put always on the same page. These are like for isntance 5 lines of textboxes, and I don't want to have 3 of them on 1 page, and 2...
2
smartchap
by: smartchap | last post by:
In VB6 in a form there are 10 labels and associated 10 textboxes and 2 MSFlexGrids. There are 5 columns in the first MSFGrid and 7 in the second MSFGrid. There are 3 rows in the first grid and 4 in...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

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.