BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

WebApplication.Data = nil

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (IntraWeb)
View previous topic :: View next topic  
Author Message
Michael Fullerton
Guest





PostPosted: Thu Apr 05, 2007 5:27 pm    Post subject: WebApplication.Data = nil Reply with 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
Joel
Guest





PostPosted: Thu Apr 05, 2007 9:06 pm    Post subject: Re: WebApplication.Data = nil Reply with quote



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





PostPosted: Thu Apr 05, 2007 9:44 pm    Post subject: Re: WebApplication.Data = nil Reply with quote



"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





PostPosted: Thu Apr 05, 2007 10:23 pm    Post subject: Re: WebApplication.Data = nil Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (IntraWeb) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.