PDA

View Full Version : As Soon As Possible / As Late As Possible switch for all activities



bdasovic
01-16-2023, 02:34 PM
Hello and thank you for any help in advance.

I would like to automate proces of switching all activities constraint type to "As Late As Possible" so I dont have to switch activity by activity. Is there a vba solution for this? Also, is there a way to return it back to "As Soon As Possible" with VBA?

Greetings,
Bdasovic

June7
01-16-2023, 06:14 PM
Are you asking how to change value of a field for all records? You can execute an UPDATE action SQL. What exactly do you not understand about UPDATE action? Use Access query designer or wizard. If you want to automate in VBA, use DoCmd.RunSQL or CurrentDb.Execute methods.

bdasovic
01-24-2023, 03:24 PM
I am not sure how to use any of mentioned fuctions. I am using MS Project desktop application, and I have zero knowledge of SQL. Is there a way to change these values from vba withim MS Project desktop application?

June7
01-24-2023, 04:35 PM
Sorry, I know nothing about MSProject. I was thinking this was Access database.