G
goo
Guest
I have a class consent.cls that has some Methods that I use for checking data. If the consent is of one kind, I need to prefill a temp-table (ttConsent) With data from an SQL Connection. Stuff regarding the Connection and how to retrieve data from the SQL I have put in a class consentSQL.cls. consent.cls inherits consentSQL. When I Call fillConsent() that is a Method in consentSQL.cls, it fills the ttConsent. And here comes my question: if I want to use the temp-table as a static temp-table in consent.cls, I believe I need to have a static copy of the temp-table in each class? and I need to do a copy-temp-table from consentSQL.cls to consent.cls? Or would it be better to use a handle from consentSQL.cls (tthConsent) and just use dynamically? Or is there a better way doing it?
Continue reading...
Continue reading...