|
-
Sep 9th, 2000, 09:14 PM
#1
I have developed an application with a VB front-end and Access 2000 back-end. I would like to access reports designed in Access 2000, via the visual basic run-time form, in much the same way that crystal reports can be accessed.
Your advice please,
cheers,
Aussie
-
Sep 10th, 2000, 12:33 PM
#2
Lively Member
This API function may solve your need.
Code:
Public Declare Function WinExec Lib "kernel32" Alias "WinExec" (ByVal lpCmdLine As String, ByVal nCmdShow As Long) As Long
'nCmdShow = 1: Show the application when it's running
'nCmdShow = 0: Hide an application like running in background
-
Sep 11th, 2000, 08:15 PM
#3
Addicted Member
Or you can use
Dim Acc As Access.Application
You must have Microsoft Access 9.0 Object Library added to your project references.
Sanon, I have seen a lot of you guys using API over this method. What is the advantage of using API for this? (I would like to improve my knowledge)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|