Click here to Skip to main content
15,894,825 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Delegates Pin
Christian Graus4-Feb-09 9:26
protectorChristian Graus4-Feb-09 9:26 
GeneralRe: Delegates Pin
εїзεїзεїз4-Feb-09 18:45
εїзεїзεїз4-Feb-09 18:45 
QuestionPopulate a Treeview from Database in VB6.0 Pin
kshincsk4-Feb-09 2:02
kshincsk4-Feb-09 2:02 
AnswerRe: Populate a Treeview from Database in VB6.0 Pin
Christian Graus4-Feb-09 9:26
protectorChristian Graus4-Feb-09 9:26 
Questionvs 2005 , vb.net Pin
hrishiS3-Feb-09 23:34
hrishiS3-Feb-09 23:34 
AnswerRe: vs 2005 , vb.net Pin
Rupesh Kumar Swami3-Feb-09 23:38
Rupesh Kumar Swami3-Feb-09 23:38 
GeneralRe: vs 2005 , vb.net Pin
hrishiS4-Feb-09 0:01
hrishiS4-Feb-09 0:01 
GeneralRe: vs 2005 , vb.net Pin
Rupesh Kumar Swami4-Feb-09 0:18
Rupesh Kumar Swami4-Feb-09 0:18 
try following
make a query in MSAccess database which contains all fields of both table.Now go to following steps
1. select Data menu item
2. select Add new Data Source
3. select appropriate database and then select query

above three steps generate a dataset say dataset1

Now open your crystal report and perform following steps

1. From field explorer, right click on Database Fields and select Database Expert. This open a window
2. go Project Data-->ADO.Net dataset--->select the dataset (in this case select dataset1)
3. select this dataset and click on Ok button

Now this dataset show all fields of both tables in field explorer.Place required fields on report


Now on the form which have crystalReportViewer,combo and button, place following code to click event of button

Dim ob As New report1'( report1 is your crystal report)<br />
'here populate dataset(ds) for selected id <br />
ob.SetDataSource(ds.Tables(0))<br />
        CrystalReportViewer1.ReportSource = ob<br />
        CrystalReportViewer1.Refresh()


hope this helps

Rupesh Kumar Swami
Software Developer,
Integrated Solution,
Bikaner (India)

My Company
Award: Best VB.NET article of June 2008: Create Column Charts Using OWC11

GeneralRe: vs 2005 , vb.net Pin
hrishiS4-Feb-09 1:18
hrishiS4-Feb-09 1:18 
GeneralRe: vs 2005 , vb.net Pin
Rupesh Kumar Swami4-Feb-09 1:35
Rupesh Kumar Swami4-Feb-09 1:35 
GeneralRe: vs 2005 , vb.net Pin
mahalakshmi4211-Feb-09 23:30
mahalakshmi4211-Feb-09 23:30 
Questionvb6 - how could i get address as i open a folder Pin
meissey3-Feb-09 22:15
meissey3-Feb-09 22:15 
AnswerRe: vb6 - how could i get address as i open a folder Pin
Rupesh Kumar Swami4-Feb-09 0:01
Rupesh Kumar Swami4-Feb-09 0:01 
QuestionHow can I change the script of the font for a form if it is not changing? Pin
JUNEYT3-Feb-09 21:42
JUNEYT3-Feb-09 21:42 
AnswerRe: How can I change the script of the font for a form if it is not changing? Pin
StuBaum4-Feb-09 17:08
StuBaum4-Feb-09 17:08 
QuestionThe Specified module could not found.( Exception from HRESULT Pin
tsanthosh3-Feb-09 21:18
tsanthosh3-Feb-09 21:18 
QuestionBind a Combobox in VB 2008 Pin
Jaco Muller3-Feb-09 20:09
Jaco Muller3-Feb-09 20:09 
AnswerRe: Bind a Combobox in VB 2008 Pin
Jay Royall4-Feb-09 5:56
Jay Royall4-Feb-09 5:56 
GeneralRe: Bind a Combobox in VB 2008 Pin
Jaco Muller4-Feb-09 11:20
Jaco Muller4-Feb-09 11:20 
GeneralRe: Bind a Combobox in VB 2008 Pin
Jay Royall4-Feb-09 22:37
Jay Royall4-Feb-09 22:37 
GeneralRe: Bind a Combobox in VB 2008 Pin
Jaco Muller4-Feb-09 23:04
Jaco Muller4-Feb-09 23:04 
GeneralRe: Bind a Combobox in VB 2008 Pin
Jay Royall4-Feb-09 23:33
Jay Royall4-Feb-09 23:33 
GeneralRe: Bind a Combobox in VB 2008 Pin
Jaco Muller5-Feb-09 11:47
Jaco Muller5-Feb-09 11:47 
GeneralRe: Bind a Combobox in VB 2008 Pin
Jay Royall5-Feb-09 23:57
Jay Royall5-Feb-09 23:57 
GeneralRe: Bind a Combobox in VB 2008 Pin
Jaco Muller6-Feb-09 0:09
Jaco Muller6-Feb-09 0:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.