Hi all,
I have an app in which I need to create a packing slip. I have designed in
report designer. The data is pulled from a SQL database. My question is
how can I put information from the data base into the Page Header?
The way I have it setup right now the PageHeader contains the logo, title,
address. All of which are fine. Then under that I need to put the ship to
and bill to addresses, which are pulled from the data base. Then under that
I need to have the column headings for item number, qty ordered, etc...
These column headings are just labels. The packing slips are usually more
than one page. Because I had to put data from the database above the
headings I have had to put the headings into the detail section. That means
they only print on page 1. I would like them to print on subsequent pages.
The way I see this working I would need to have the page header somehow
include the ship to and bill to information. Any idea's? Am I making
sense?
Thanks for any help you can provide. 4 7237
You have to use the Sections collection to get the header section and then
the Controls collection to change the controls caption or text.
like:
drMyReport.Sections("Section4").Controls("lblMyLab el").Caption = "Hello
World"
Where:
drMyReport is your Data Report
Section4 is the section where the controls you want to change reside
lblMyCaption is the name of the control you want to alter
--
Chris Hanscom - Microsoft MVP (VB) http://www.veign.com
--
"Me" <yo*@me.com> wrote in message news:QK********************@rogers.com... Hi all,
I have an app in which I need to create a packing slip. I have designed
in report designer. The data is pulled from a SQL database. My question is how can I put information from the data base into the Page Header? The way I have it setup right now the PageHeader contains the logo, title, address. All of which are fine. Then under that I need to put the ship
to and bill to addresses, which are pulled from the data base. Then under
that I need to have the column headings for item number, qty ordered, etc... These column headings are just labels. The packing slips are usually more than one page. Because I had to put data from the database above the headings I have had to put the headings into the detail section. That
means they only print on page 1. I would like them to print on subsequent
pages. The way I see this working I would need to have the page header somehow include the ship to and bill to information. Any idea's? Am I making sense?
Thanks for any help you can provide.
Thank you very much! I haven't done it yet but I am very appreciative of
your quick response. I have searched google for weeks looking for this.
"Veign" <me@home.com> wrote in message
news:BA*****************@newsread3.news.atl.earthl ink.net... You have to use the Sections collection to get the header section and then the Controls collection to change the controls caption or text.
like: drMyReport.Sections("Section4").Controls("lblMyLab el").Caption = "Hello World"
Where: drMyReport is your Data Report Section4 is the section where the controls you want to change reside lblMyCaption is the name of the control you want to alter
-- Chris Hanscom - Microsoft MVP (VB) http://www.veign.com --
"Me" <yo*@me.com> wrote in message news:QK********************@rogers.com... Hi all,
I have an app in which I need to create a packing slip. I have designed in report designer. The data is pulled from a SQL database. My question is how can I put information from the data base into the Page Header? The way I have it setup right now the PageHeader contains the logo, title, address. All of which are fine. Then under that I need to put the ship to and bill to addresses, which are pulled from the data base. Then under that I need to have the column headings for item number, qty ordered, etc... These column headings are just labels. The packing slips are usually more than one page. Because I had to put data from the database above the headings I have had to put the headings into the detail section. That means they only print on page 1. I would like them to print on subsequent pages. The way I see this working I would need to have the page header somehow include the ship to and bill to information. Any idea's? Am I making sense?
Thanks for any help you can provide.
I tried it and it works great!! Move over Spiderman you are my new
superhero. Why is this information so hard to find?
"Veign" <me@home.com> wrote in message
news:BA*****************@newsread3.news.atl.earthl ink.net... You have to use the Sections collection to get the header section and then the Controls collection to change the controls caption or text.
like: drMyReport.Sections("Section4").Controls("lblMyLab el").Caption = "Hello World"
Where: drMyReport is your Data Report Section4 is the section where the controls you want to change reside lblMyCaption is the name of the control you want to alter
-- Chris Hanscom - Microsoft MVP (VB) http://www.veign.com --
"Me" <yo*@me.com> wrote in message news:QK********************@rogers.com... Hi all,
I have an app in which I need to create a packing slip. I have designed in report designer. The data is pulled from a SQL database. My question is how can I put information from the data base into the Page Header? The way I have it setup right now the PageHeader contains the logo, title, address. All of which are fine. Then under that I need to put the ship to and bill to addresses, which are pulled from the data base. Then under that I need to have the column headings for item number, qty ordered, etc... These column headings are just labels. The packing slips are usually more than one page. Because I had to put data from the database above the headings I have had to put the headings into the detail section. That means they only print on page 1. I would like them to print on subsequent pages. The way I see this working I would need to have the page header somehow include the ship to and bill to information. Any idea's? Am I making sense?
Thanks for any help you can provide.
Not common enough. The least a question is asked the harder it is to find
an answer...
Glad it worked for you..
--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center http://www.veign.com/vrc_main.asp
--
"Me" <yo*@me.com> wrote in message news:VM********************@rogers.com... I tried it and it works great!! Move over Spiderman you are my new superhero. Why is this information so hard to find?
"Veign" <me@home.com> wrote in message news:BA*****************@newsread3.news.atl.earthl ink.net... You have to use the Sections collection to get the header section and
then the Controls collection to change the controls caption or text.
like: drMyReport.Sections("Section4").Controls("lblMyLab el").Caption = "Hello World"
Where: drMyReport is your Data Report Section4 is the section where the controls you want to change reside lblMyCaption is the name of the control you want to alter
-- Chris Hanscom - Microsoft MVP (VB) http://www.veign.com --
"Me" <yo*@me.com> wrote in message news:QK********************@rogers.com... Hi all,
I have an app in which I need to create a packing slip. I have
designed in report designer. The data is pulled from a SQL database. My question
is how can I put information from the data base into the Page Header? The way I have it setup right now the PageHeader contains the logo, title, address. All of which are fine. Then under that I need to put the
ship to and bill to addresses, which are pulled from the data base. Then under that I need to have the column headings for item number, qty ordered, etc... These column headings are just labels. The packing slips are usually more than one page. Because I had to put data from the database above the headings I have had to put the headings into the detail section. That means they only print on page 1. I would like them to print on subsequent pages. The way I see this working I would need to have the page header somehow include the ship to and bill to information. Any idea's? Am I making sense?
Thanks for any help you can provide.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: John |
last post by:
I have a problem, it's not with any code I have because... there is no code.
When I run a blank visual basic 6 form, it opens up just fine. When I add a
text box, a caption, and a button... it...
|
by: Corrie Meyer |
last post by:
Announcement: SwiftReports standard edition 1.0 for Visual Studio
..NET 2003 released by UniSwift.
We are pleased to announce the first release of a fully-managed
reporting
tool for the...
|
by: harish |
last post by:
I want to give a page break when my one of the field
change to some different value.
I want separte page for different value at run time.
|
by: praful pathak |
last post by:
i
i am praful pathak,porbandar
i want to develop my own cross tab report in visual basic 6 i know what
developed query from ms access but how to coded in visual basic in
designing time and how to...
|
by: CAM |
last post by:
Hello,
I am wondering if someone can give me some pointers. Currently I am using
Access 2002 I developed an inventory tracking database, which this database
is used in California and in...
|
by: DUNXALEARE |
last post by:
Hello everyone!
I have a new assignment. I just dont know how to create a data report using ms excell.
I need to search particular group of data/records using Visual basic 6. in MS Access and...
|
by: ranesmitas |
last post by:
i want to use crystal report in visual basic as i am new , i want to know i create crytal report in visual basic . we want to create designer (crystal report) in visual basic or in seagate crystal...
|
by: subratamaji |
last post by:
Hi,
I am new to crystal report.
Can any one plz guide how to use crystal report 11.5 with visual basic 6.0.
Is it already included in visual basic 6.0 or will have to include it from...
|
by: firozfasilan |
last post by:
I am new to visual basic 2008. In the past I have used vb6 to display an existing crystal report. I would like to accomplish the same with vb.net. However I am not clear on the syntax to display a...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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,...
|
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: 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...
|
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...
| |