Search results

  1. B

    Access VBA - Dynamically assign properties to variable with of custom type

    Thank you for your answer. Yes, that is what I'm doing now: Select Case regionName Case "projectName" projectRegion.ProjectName = regionValue Case "projectNumber" projectRegion.ProjectNumber = regionValue Case "projectDescription"...
  2. B

    Access VBA - Dynamically assign properties to variable with of custom type

    Getting into my project details is too steep a challenge for me at the moment. And way beyond the scope of my question, which I'm sorry I cannot ask in a clear way. I appreciate your help but I think I'm just going to go to McDonald's and get some fries.
  3. B

    Access VBA - Dynamically assign properties to variable with of custom type

    Yes, I want to save them for subsequent use. I've edited the code above so it shows the global variable projectRegion. I could then update the database with something like... UPDATE tblProjects SET tblProjects.projectName = projectRegion.projectName WHERE ...
  4. B

    Access VBA - Dynamically assign properties to variable with of custom type

    In my very best plain English, I have created a custom type with several properties. I want to assign values to those properties via a loop.
  5. B

    Access VBA - Dynamically assign properties to variable with of custom type

    Hi Everyone, A transient, virtual hobo, with only enough skill to be highly dangerous. You all know the type, as evidenced here: The code I'm attaching, far below, does not work (shocker). It attempts to dynamically assign values to the properties? of my variable (of type ProjectRegions)...
Back
Top Bottom