| View previous topic :: View next topic |
| Author |
Message |
Michael Fullerton Guest
|
Posted: Thu Apr 05, 2007 5:27 pm Post subject: WebApplication.Data = nil |
|
|
I tried posting this at news.atozedsoftware.com but it appears to be
dead.
D5
IW 8.022
I am trying to build a database app using IW. It was connecting to the
database and I could access data. But I tried to put in code to
upgrade the tables if needed. The upgrade functions are in another
unit and I call them from IWUserSessionBaseCreate. In the upgrade
functions the table references are prefixed with
TIWUserSession(WebApplication.Data). The problem is when the update
functions are called WebApplication.Data = nil so I get an AV. Why
would WebApplication.Data = nil? |
|
| Back to top |
|
 |
Joel Guest
|
Posted: Thu Apr 05, 2007 9:06 pm Post subject: Re: WebApplication.Data = nil |
|
|
use news.atozed.com
"Michael Fullerton" <fullerm@spamkiller-remove.cybermatrix.com> wrote in
message news:5gq913t7clgog95k2rcecn91gl5f82tap9 (AT) 4ax (DOT) com...
| Quote: | I tried posting this at news.atozedsoftware.com but it appears to be
dead.
D5
IW 8.022
I am trying to build a database app using IW. It was connecting to the
database and I could access data. But I tried to put in code to
upgrade the tables if needed. The upgrade functions are in another
unit and I call them from IWUserSessionBaseCreate. In the upgrade
functions the table references are prefixed with
TIWUserSession(WebApplication.Data). The problem is when the update
functions are called WebApplication.Data = nil so I get an AV. Why
would WebApplication.Data = nil?
|
|
|
| Back to top |
|
 |
Michael Fullerton Guest
|
Posted: Thu Apr 05, 2007 9:44 pm Post subject: Re: WebApplication.Data = nil |
|
|
"Joel" <nowhere (AT) nowhere (DOT) com> wrote:
| Quote: | use news.atozed.com
|
That's what I used before I checked the web site which said to use
news.atozedsoftware.com. news.atozed.com still times out every time on
trying to retreive new posts from atozedsoftware.intraweb. Other
groups do seem to work fine though.
| Quote: | "Michael Fullerton" <fullerm@spamkiller-remove.cybermatrix.com> wrote in
message news:5gq913t7clgog95k2rcecn91gl5f82tap9 (AT) 4ax (DOT) com...
I tried posting this at news.atozedsoftware.com but it appears to be
dead.
D5
IW 8.022
I am trying to build a database app using IW. It was connecting to the
database and I could access data. But I tried to put in code to
upgrade the tables if needed. The upgrade functions are in another
unit and I call them from IWUserSessionBaseCreate. In the upgrade
functions the table references are prefixed with
TIWUserSession(WebApplication.Data). The problem is when the update
functions are called WebApplication.Data = nil so I get an AV. Why
would WebApplication.Data = nil?
|
|
|
| Back to top |
|
 |
Jason Southwell Guest
|
Posted: Thu Apr 05, 2007 10:23 pm Post subject: Re: WebApplication.Data = nil |
|
|
| Quote: | I am trying to build a database app using IW. It was connecting to the
database and I could access data. But I tried to put in code to
upgrade the tables if needed. The upgrade functions are in another
unit and I call them from IWUserSessionBaseCreate. In the upgrade
functions the table references are prefixed with
TIWUserSession(WebApplication.Data). The problem is when the update
functions are called WebApplication.Data = nil so I get an AV. Why
would WebApplication.Data = nil?
|
Because it hasn't yet been assigned. But, if I understand your layout,
webApplication.Data would be the same as Self in the IWUserSession's
create handler, you can just pass Self to the functions. |
|
| Back to top |
|
 |
|