473,386 Members | 2,050 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.

About Sections in DataReports

274 100+
Hi everyone
I have a report that displays a number of fields to display a summary report. One of the fields I want to display on my report isn't part of the main query (For some condition it can be part of that query so I calculate it in a different query)
I have to display fields from both queries on one report.


For main query I have datasource assigned to it so it works fine.
However, for other fields that I want to print on same report is problem for me.
I am sure about follwoing when my query will exeute
1.... First query will display four record always.
2... Second query can have min of 0 and max of four records
3... Both queries are related to one and other

Problem:
When I use one label on report and try follwoing code
Expand|Select|Wrap|Line Numbers
  1.  far1 = NS.Fields(3)
  2.  NS.MoveNext
  3.  far2 = NS.Fields(3)
  4.  NS.MoveNext
  5.  far3 = NS.Fields(3)
  6.  NS.MoveNext
  7.  far4 = NS.Fields(3)
  8. Sections("Section1").Controls("gst1").Caption = far1
  9. Sections("Section1").Controls("gst1").Caption = far2
  10. Sections("Section1").Controls("gst1").Caption = far3
  11. Sections("Section1").Controls("gst1").Caption = far4
Same value is printed four times
If I use four labels : It repeat four times to each of them.
I have tried a number of techniques but no luck.
Please help me
Thanks in advance
Dec 16 '07 #1
1 1147
creative1
274 100+
I think nobody understand what I want? =_= Worried
Dec 17 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Colby | last post by:
The 2003 net upgrade wizard can not handle migration of MS datareports (VB version 6 DSR) to crystal reports version 9.x RPT. How do you migrate MS datareports to crystal reports? Thanks for...
0
by: Colby | last post by:
The 2003 net upgrade wizard can not handle migration of MS datareports (VB version 6 DSR) to crystal reports version 9.x RPT. How do you migrate MS datareports to crystal reports? Thanks for...
0
by: metalheadstorm | last post by:
Ok, I've been working on datareports for my project whilst at college but when I got home and open my project it says it can't load my dataenvironment. Here's what the log says: Line 2: Class...
1
by: Cralis | last post by:
Hi guys. We have an application. There are 3 (at the moment) different sections, each has access to it's own 'Diary'. A section is like, 'Sub Program', which contains numerous sub programs....
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...
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,...
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,...
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.