View Single Post
 
Old 04-12-2024, 07:41 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

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