| | |
datareport creation doubt
![]() |
•
•
Join Date: Jun 2006
Posts: 11
Reputation:
Solved Threads: 0
hai all,
i have created a vb project and stored data into a databse named faculty. now i want to extract the details from the database. the fields included in the table are slno,faculty,subject,batch,ctr1...ctr6,overall per...
my requirement is when i selected any one of the faculty then the report will shows like in fig2(datareport 2.jpg which is attched.). the currect report design is shown in fig1(datareport1.jpg which is also attached)
it is possible if yes pls reply me
thank you
i have created a vb project and stored data into a databse named faculty. now i want to extract the details from the database. the fields included in the table are slno,faculty,subject,batch,ctr1...ctr6,overall per...
my requirement is when i selected any one of the faculty then the report will shows like in fig2(datareport 2.jpg which is attched.). the currect report design is shown in fig1(datareport1.jpg which is also attached)
it is possible if yes pls reply me
thank you
Last edited by Comatose; Jul 6th, 2006 at 7:32 am. Reason: Improper Use Of Code Tags.....(What?)
•
•
Join Date: May 2007
Posts: 5
Reputation:
Solved Threads: 0
You can use :
Reportobjectname.SelectionFormula="{TableName.FieldName}=Criterium".
If the Crystal report object name is: Report1
If your tanlename=Table1
If your field name for selection =Faculty
If Creterium is "Faculty=Mascara"
So you have to write:
Report1.SelectionFormula="{Table1.Faculty}='Mascara'"
Reportobjectname.SelectionFormula="{TableName.FieldName}=Criterium".
If the Crystal report object name is: Report1
If your tanlename=Table1
If your field name for selection =Faculty
If Creterium is "Faculty=Mascara"
So you have to write:
Report1.SelectionFormula="{Table1.Faculty}='Mascara'"
![]() |
Similar Threads
- MMORPG Creation Team needed (Software Development Job Offers)
- Toolbar CAB to EXE creation/installation program (Tech / IT Consultant Job Offers)
- Datareport -Report Header Section (Visual Basic 4 / 5 / 6)
- Doubt about compiling. (Legacy and Other Languages)
- Bogus "page cannot be displayed" error on URL http:/// (Viruses, Spyware and other Nasties)
- Desiging a set of rules for a match (C++)
- VxD creation for Windows 2000 server (C)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Dynamic crystal report with VB4/5/6
- Next Thread: Restrict Paste in RichTextbox
| Thread Tools | Search this Thread |
* 6 2007 access activex add age basic beginner birth bmp calculator cd cells.find click client code college connection connectionproblemusingvb6usingoledb creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit excel excelmacro file filename form header iamthwee image inboxinvb internetfiledownload listbox listview liveperson login looping microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading remotesqlserverdatabase report save search sendbyte sites sql sql2008 sqlserver subroutine tags time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web windows





