hoachen said:
Hi, Is there a good tutorial on Stored Procedure in Access? I am trying to
learn this function. The reason is, i have a very big db and it take long
time to generate the result and i hope i can use the stored procedure to do
it. I only need to retrived the data (most is use Select clause only). Thanks
Strictly speaking, Access (or more specifically, Jet, the database
engine driving Access) doesn't support stored procedures.
However, this isn't a problem because this is usually fulfilled by VBA
coding behind the form and for that reason, users should be working only
with forms, not tables/queries which are used to form the basis of data
soruce for the forms.
Therefore, what you want is a good tutorial on VBA, then you'll be able
to do anything with the data that you could have done using stored
procedure.
Of course, if you're using Access as a front-end client to a database
server such as SQL Server, MySQL, Oracle, whatever, there is benefit to
be had by using stored procedures, but in pure Access solution is good
enough.
For VBA tutorial, I'd start by googling for 'Access Basic' from a Crystal.