Search results

  1. D

    Expression After Update you entered as the property setting produced the following error

    I don't think they update 2010 now so what I'm saying should be redundant. Is one a 32-Bit machine the other 64-bit?
  2. D

    Solved Class Properties Assigned From Procedures

    Thanks all, appreciate that guidance that's not how to use properties. I don't think that's correct, that's been taken out of context; you've removed the apostrophe & also removed FAILS ALSO. Which was to show I had experimented so this line is not even in execution. You have no way of knowing...
  3. D

    Solved Class Properties Assigned From Procedures

    No @cheekybuddha solved it, that was the issue here. Maybe when there's more going on than a basic assignment. I've gotten away with just using a basic Get most places but he's right.
  4. D

    Solved Class Properties Assigned From Procedures

    Thanks cheekybuddha, you're dead right. I'm perplexed as i have a near identical property that's working fine. Just can't spot what the issue is. I'm not enjoying superflating the Properties with methods & may prefer a call, but in the interest of trying to learn; can't help but play around.
  5. D

    Solved Class Properties Assigned From Procedures

    Thanks, yeah I had it as a sub/ function but seemed more intrinsic & seems clearer as a property. "how do you supposed to assign Value from..." unsure what you mean here. Originally I had it as a function, would call it where needed & store it in the module var. But thought between calls...
  6. D

    Expression After Update you entered as the property setting produced the following error

    Could be Microsoft Office Update problem; which there have been a few lately. But more sounds like the class is setting a property from the AfterUpdate event, and there is no object variable WithEvents in there. Stick an object variable in there WithEvents as below which should remove this...
  7. D

    Solved Class Properties Assigned From Procedures

    I have some Properties (around 30; most are typical assignment format). Some values are assigned by procedures/ routines inside the Property/ or called. I'm probably going to get told off but these are quite intrinsic values to the class object. I would prefer to call a function to keep the...
  8. D

    Experience with Ms Project and Access?

    I think you can run almost anything you want in VBA. It's a matter of going to the IDE (Alt+F11) then referencing said namespace/ DLL (Dynamic Link Library), you then have access to it's procedures... You are then behest to the documentation/ info available to that namespace/ DLL (application)...
  9. D

    How can I get Access to stop selecting all the text in a text box???

    I spent quite some time searching, in the end I found a solution by the honourable @Richard Rost has it; needs to be assigned to the click event. Private Sub TxtBoxName_GotFocus() Me.TxtBoxName.SelStart = (Len(Me.Description.Text) + 1) Me.TxtBoxName.SelLength = 0 End Sub
  10. D

    Solved Get A Pointer In SubForm To Already Instantiated Class

    MajP Thankyou This is where I was going wrong. I went through the Object Browser more times I could count & I see it now. I fear I'll make this mistake again in the future as I really would have thought it was a more friendly reference by just accessing the subform; & the table/ recordset was...
  11. D

    Solved Get A Pointer In SubForm To Already Instantiated Class

    Thanks for all contributions. @MarkK I'll look at yours once I get my head around this. I know it's not good design but for now I need to understand scope. Attached is a poor e.g. I know but the goal is to get a deeper understanding of scope & visibility of classes & variables...
  12. D

    Solved Get A Pointer In SubForm To Already Instantiated Class

    Thanks Tom, there will be multiple instances of Class-A & B later, was unaware of static class so thanks for future. I failed to mention that Class-A was in a different subform (call it subform-A) when it instantiated the public Class-B object variable. So it seems that because subform-A has...
  13. D

    Solved Get A Pointer In SubForm To Already Instantiated Class

    Thanks @MajP, understood. That's worrying, hopefully this will change your opinion. Class-A & Class-B's methods & properties are accessed elsewhere. They decouple the current subforms & allow these methods... to be used for other purposes elsewhere in different instantiations of different...
  14. D

    Solved Get A Pointer In SubForm To Already Instantiated Class

    Class-A instantiates Class-B. I need a subform (outside of Class-A & Class-B) to gain access to the instance of Class-B. How do I get a pointer to the instance of Class-B? I could create an object variable of Class-B inside the subform but this would create a new instance of Class-B (undesired)...
  15. D

    Solved Determine What Code Is Still Running?

    Of course, this is what RAM (Random Access Memory) is, & goes without saying for every application ever written. :ROFLMAO: :ROFLMAO: You're comparing apples with oranges, complete different topic in itself which results would be subject to how they were implemented. This thread's solution was...
  16. D

    Solved Determine What Code Is Still Running?

    In this case it was not about events, or forms. It was that Access protects wiping out user class-instantiation unnecessarily with this prompt; which is the same prompt as provided when code has not fully completed between called procedures. You're getting a little hung-up on standard Access...
  17. D

    Solved Determine What Code Is Still Running?

    Thanks, sorry I did not clarify in the OP I was talking handling user-declared bespoke Events with the Event-Handlers in different classes (not a basic Form Event like current) & we're a bit beyond instructions on how to set a breakpoint. The reference to Access objects was a very basic e.g. to...
  18. D

    Re-design a wellworking data base

    Modern websites (last 20 years or so) use Cascading Stylesheets (CCS), & the media rule to test device size & apply appropriate designs for each/ type of device viewing/ processing the content. Think you can apply different stylesheets entirely.
  19. D

    Solved Determine What Code Is Still Running?

    Thanks, I think I muddied the waters a bit in post-01 with talk of user-declared events. Been using Access' standard events for sometime & fine with them. I am referring to user-declared classes & class-instantiations handling events raised from other classes... In Nr-12 commenting out all code...
  20. D

    Solved Determine What Code Is Still Running?

    Interestingly if I comment out all code in the problematic form I still get the error. Close the form, open another form (various) - no issues! Created a copy of the form. Commented out all code again. Still get the issue as if there is suspended code. But there cannot be. No other processes...
Back
Top Bottom