Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-12-2024, 07:41 PM
capitala capitala is offline How to make dynamic function? Windows 7 64bit How to make dynamic function? Office 2003
Advanced Beginner
How to make dynamic function?
 
Join Date: Nov 2013
Posts: 38
capitala is on a distinguished road
Default

Dear Guessed,
Thanks for your reply. Below a sample of my requirements (with thanks):
dim db as dao.database
dim rst as dao.recordset
set db = MYDB


set rst=Mydb.OpenRecordset("MYRST")
rst.index = "INDEX"
if not rst.nomatch then
rst.edit
rst.FEILD1 = "abc"
rst.FEILD2="xyz"
rst.update

All those in CAPS are the variables that change from one Sub to another

Thanks again
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using the Filter function to dynamic search large table le_robert Excel 3 06-27-2022 01:06 PM
Hi, I wonder if I can make a dynamic document to speed up the creation of document parisfranco Word 10 03-10-2022 01:20 PM
How to make dynamic function? How to Make a Dynamic URL Clickable? DKY Mail Merge 1 03-29-2020 04:43 PM
How to make dynamic function? Restrict Editing function disable insert textbox function IanM_01 Word 5 11-21-2015 02:29 AM
How to make dynamic function? #REF! Error in calling VBA function disappears when function is copied lcaretto Excel Programming 2 05-26-2014 07:19 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:04 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft