Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Data between forms
Thu, May 24 2012 10:29 PMPermanent Link

John Postnikoff

I am wondering if EWB can pass data between different forms that would be unique to each session.  Such data as captions from labels,  contents of vars, or EDB table results as an example just as you would do in native Delphi. If so, is there a specific place for session vars or limitations? I don't have any version yet and am waiting for the trial, or may consider the beta option if still available.


John Postnikoff
Fri, May 25 2012 4:17 PMPermanent Link

Mark Brooks

Slikware

Avatar

>>I am wondering if EWB can pass data between different forms that would be unique to each session.  Such data >>as captions from labels,  contents of vars, or EDB table results as an example just as you would do in native >>Delphi. If so, is there a specific place for session vars or limitations? I don't have any version yet and am waiting >>for the trial, or may consider the beta option if still available.

John,

I don't know if this helps, or even if I've understood you correctly, however my EWB apps all share data between forms via a number of techniques including global classes (defined in unit initialisation sections) and public form level properties. This is achieved precisely as you would in Delphi. From a session perspective, all of this data is client-side and is therefore unique. If you can give a little more information then I might be able to see how closely your requirement resembles my apps.

Regards
Mark
Tue, May 29 2012 12:22 AMPermanent Link

John Postnikoff

Hi Mark,

For most parts,  I am wanting to query client information such as user name and password used for log in purposes and report queries, retrieve bits of information from a customer file that may be specific for clients such as discount levels or other pricing information, depending on location, as well be able to look-up data from a grid for other route processing and reporting, which would have to go to my Fast Reports to generate PDFs.  

John


Mark Brooks wrote:

>>I am wondering if EWB can pass data between different forms that would be unique to each session.  Such data >>as captions from labels,  contents of vars, or EDB table results as an example just as you would do in native >>Delphi. If so, is there a specific place for session vars or limitations? I don't have any version yet and am waiting >>for the trial, or may consider the beta option if still available.

John,

I don't know if this helps, or even if I've understood you correctly, however my EWB apps all share data between forms via a number of techniques including global classes (defined in unit initialisation sections) and public form level properties. This is achieved precisely as you would in Delphi. From a session perspective, all of this data is client-side and is therefore unique. If you can give a little more information then I might be able to see how closely your requirement resembles my apps.

Regards
Mark
Wed, May 30 2012 4:42 AMPermanent Link

Mark Brooks

Slikware

Avatar

John Postnikoff wrote:

Hi Mark,

For most parts,  I am wanting to query client information such as user name and password used for log in purposes and report queries, retrieve bits of information from a customer file that may be specific for clients such as discount levels or other pricing information, depending on location, as well be able to look-up data from a grid for other route processing and reporting, which would have to go to my Fast Reports to generate PDFs.  

John


John,
I think that you will have no issues with this whatsoever.
It's kinda what I do. Very Delphi-like.
Mark
Image