@WxDeveloper, I did something similar, but that didn't work. When I'm working on that part of the application again I'll try that. @Allard, @Peter Holemans: why would an account inherit from a person? They're not similar at all, so no shared members. With inheritance I can address the ancestor from inside the class, but not from an instance of the class itself...by vincent_stoop - WinDev Forum
Hi Bart, Thanks for your answer, but as I see it, it still doesn't let me address the parent's properties. In other languages, i.e. Ruby, if you say in the Person class 'has_many accounts' and in the Account class 'belongs_to person', you can then later say person.accounts (which of course is similar in WLanguage) but you can also say account.person.lastname and gby vincent_stoop - WinDev Forum
Hello all, I'm hoping someone can tell me the solution to the following... I have 2 classes (Person, Account) There is an object of type Account, which is a member of Person. When in the code of Account, I want/need to be able to access properties of Person, but from an instance of Account directly. I would like to be able to do something like this: Person is Class LastName isby vincent_stoop - WinDev Forum
ArieM Wrote: ------------------------------------------------------- > > HExecuteSQLQuery does return True? > Maybe dsStanden is also used somewhere else in > your project and conflicts with this local one, > while it is 'visible' at this point? HExecuteSQLQuery did return True, and dsStanden is inside an object, so it shouldn't be conflicting. What Iby vincent_stoop - WinDev Forum
Hi all, I'm working on a project in Webdev. When I try to gather information from 2 databases into 1 Data Source, I keep getting the error "70019: SEARCH NOT STARTED FOR THIS KEY". The connections to both databases are opened when loading the page, and closed when closing the page. The method of the class I'm using for this is: PROCEDURE PRIVATE HaalStandenOpby vincent_stoop - WinDev Forum