datareport creation doubt

Reply

Join Date: Jun 2006
Posts: 11
Reputation: vjeshemv2000 is an unknown quantity at this point 
Solved Threads: 0
vjeshemv2000 vjeshemv2000 is offline Offline
Newbie Poster

datareport creation doubt

 
0
  #1
Jul 6th, 2006
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
Last edited by Comatose; Jul 6th, 2006 at 7:32 am. Reason: Improper Use Of Code Tags.....(What?)
Attached Thumbnails
datareport1.JPG   datareport2.JPG  
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 5
Reputation: elaek is an unknown quantity at this point 
Solved Threads: 0
elaek elaek is offline Offline
Newbie Poster

Re: datareport creation doubt

 
0
  #2
May 6th, 2007
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'"
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC