- Local time
- Today, 12:53
- Joined
- Feb 28, 2001
- Messages
- 29,841
OK, so your issue is VBA code. One possibility for your update is a command button for which there is a button wizard. It lets you choose what to run, and that could include running a query that could perform your update for you.
Here's a thought...
Access has code wizards that build things for you - like event procedures. The button wizard builds code. The combo box and list box wizards can build code. So in a dummy database, one designed only for learning and experiments, build some of those things and then look at what gets built. Understand that the wizards will give you only the minimum amount of VBA to do the job - but that will show you in code how certain things are done in VBA.
Since Access itself is the MAIN segment (that's in strict programming terms) of the MSACCESS.EXE program, you can't see what it does. BUT the power of Access is to give you a way - with VBA - to interact with the main program through event procedures. Everything you write in VBA is either a direct or indirect event procedure. So use the wizards to show you what it takes to get the job done. Then as you do some reading in this forum, you can see code samples that "customize" those event procedures.
Here's a thought...
Access has code wizards that build things for you - like event procedures. The button wizard builds code. The combo box and list box wizards can build code. So in a dummy database, one designed only for learning and experiments, build some of those things and then look at what gets built. Understand that the wizards will give you only the minimum amount of VBA to do the job - but that will show you in code how certain things are done in VBA.
Since Access itself is the MAIN segment (that's in strict programming terms) of the MSACCESS.EXE program, you can't see what it does. BUT the power of Access is to give you a way - with VBA - to interact with the main program through event procedures. Everything you write in VBA is either a direct or indirect event procedure. So use the wizards to show you what it takes to get the job done. Then as you do some reading in this forum, you can see code samples that "customize" those event procedures.