Page 293 - Open Soource Technologies 304.indd
P. 293

Unit 13: Working With Reports






































                                      Figure 13.5:  The Data Report Environment.

               Step 2: Connecting the report to database using  Data Environment Designer Click the Project
               menu, then select Data Environment from the drop-down menu. The default data environment
               will appear, as shown in Figure 13.6.









                                           Figure 13.6: Data Environment.



                              Connection string must be correct in the connection string option.



               Now, to connect to the database, right-click connection1 and select  Microsoft Jet 3.51 OLE DB
               Provider  (as we are using MS Access database) from the Data Link Properties dialog (as shown
               in Figure 13.7),  then click next.





                                      LOVELY PROFESSIONAL UNIVERSITY                        287
   288   289   290   291   292   293   294   295   296   297   298