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

how to print a datareport with output of 300 fields per record from 3 tables?

I want to print a report using vb6 datareport. The report consists of details of one employee per page. Each employee has various details in 300 fields divided into 3 tables.
With the select command I am not able to fetch more than 192 fields at a time. How to go about it? Please guide me.
Dec 23 '12 #1
9 2372
CyberSoftHari
487 Expert 256MB
Point out your database and its version.Can you describe that 300 fields (Basically a report is a short description about a record in a single page).
Are you asking about cross tab query?
Dec 23 '12 #2
Rabbit
12,516 Expert Mod 8TB
I honestly don't see how a 300 column report could be usable to a user. That's just information overload. I also suspect that the database design is unnormalized.
Dec 24 '12 #3
The database consists of intime,outtime,working hours, Overtime etc.of all 31 days in a month. This is a landscape report. like:
emp name day1 day2 day3..............................day31
--------------------------------------------------------------
in1 in2 in3 .............................in31
out1 out2 out3.............................out31
work1 work2 ork3............................work31
OT1 OT2 OT3..............................OT31
etc. etc.
I have 31 fields for intime, another 31 fields for outtime and so on.
Pl.guide me.
thanks.
Dec 24 '12 #4
below day1 of that month I am showing the details- that is in1,out1,work1,ot1 etc.
below day2 I am showing the details that is in2, out2,work2,ot2 etc.
Dec 24 '12 #5
CyberSoftHari
487 Expert 256MB
As Rabit said there is no normalization and just printing entered junk data. How you view this report?
1. Employee wise?
2. Date, or Month wise?
3. Working time wise?
Whatever, you should plan your report (like normalize, grouping fields, merging information etc.,) because showing everything will overload information in a report and this is going to be an homework here.
Dec 24 '12 #6
Rabbit
12,516 Expert Mod 8TB
Your data is highly unnormalized. At most you only need 3 fields to display the data you mentioned: Employee ID, Day Number, Work Type. There is absolutely no need for 300 fields and all the complications that come with it.
Dec 24 '12 #7
Killer42
8,435 Expert 8TB
Don't know about the rest of you, but I get asked to produce some pretty stupid stuff at work sometimes, and telling the boss "there's no need for that" or "it's not normalised" doesn't cut much ice.
Dec 27 '12 #8
Rabbit
12,516 Expert Mod 8TB
I'm assuming the boss is database illiterate. In which case, they only care about the look, and not so much about the database design itself. In those situations, I normalize the database, but display it in the manner the user wants.
Dec 28 '12 #9
CyberSoftHari
487 Expert 256MB
I told merge information like. in1, in2 to in31 and out1, out2 to out31 as an single text to a report field.
Dec 28 '12 #10

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

Similar topics

0
by: Stein Rustad | last post by:
I've run into a problem I cannot solve in SQL, hope some of you can help me. First of all, my constraints. I have to resolve all this in a single SQL statement, as it is to be passed on to another...
2
by: cbs | last post by:
hi all, do you know how to print out the duplicate rec ? i m using the syntax select id,IssueDate,ReportName,RevNo,Factory, count(*) from mytable group by...
1
by: Dominic Marks | last post by:
Hi, (I apologise if this is the wrong list, I haven't posted to a postgresql.org mailing list before, general seemed like a good catch-all) I am trying to implement a centralised...
9
by: David Allison | last post by:
cmdButton to Print 3 copies of record in Form view ? cmdButton will print 1 but I need 3 copies of the one Form record. -- Dave Allison
1
by: Nothing | last post by:
Question: I have a form, open to a record, displaying some information. I have a button, on the form, that I want to click and have a print funtion on it. I want it to print the current record to...
0
by: Not Me | last post by:
Hey, I have a report featuring a handful of subreports, a field taking values from the main record source, and a field in the report footer which displays the sum of values in said field. The...
2
by: saurabh12kumar | last post by:
hi how can i save or print the output of the program what ever the output it gave. just as program can be save in text file similarly how can i save the output of the program
0
by: eyemustbecrazy | last post by:
Hi, I know how to export whole tables as follows... <elsnipo> 'Export This Table strTable = "tblthis" strSql = "SELECT " & strTable & ".* INTO " & strTable & " IN """ &
2
by: obkfixx | last post by:
help! how do u print a datareport without showing the datareport??? u print it automatically..... but the format n ur data report will be printed except that u dont show it.
1
by: Lyn DeMaio | last post by:
I've been tasked with taking two unrealted tables (Providers and Patients, no common field) and allow users, on one form (or form/subform) to search multiple fields in each table, select a record...
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: 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?
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
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
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...

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.