View Single Post
 
Old 04-12-2024, 02:12 PM
capitala capitala is offline Windows 7 64bit Office 2003
Advanced Beginner
 
Join Date: Nov 2013
Posts: 38
capitala is on a distinguished road
Default How to make dynamic function?

Good day!
I'm using this macro:

dim db as dao.database
dim rst as dao.recordset
set db = MyDB
set rst=Mydb.OpenRecordset("MyRst")
...........et.c
I frequently use this style but with different recordsets.
Is it possible to create only one generic Sub and then pass certain values from other Sub?
Reply With Quote