Insert TableLayout in Forte
How to add TableLayout in forte?
I am assuming you mean ODBC instead of JDBC. If so then look at page 35 in http://docs.iplanet.com/docs/manuals/forte/forte4gl/35/adb.pdf.
ka
Similar Messages
-
RE: (forte-users) SQL Array Insert
Unfortunately that carries a tremendous overhead. Each request is a seperate
message and forte generates alot of behind the scenes prepares for the sql.
---------------------- Forwarded by Amos G. Radford on 10/27/2000 02:34 PM
"Amin, Kamran" <kamran.aminlendware.com> on 10/27/2000 02:33:07 PM
To: Amos G. RadfordBankofAmerica
cc:
Class: Internal Use Only
Subject: RE: (forte-users) SQL Array Insert
User a for loop and call update for each row in the array.
For Loop
Update
set
1=test[1]
end for
ka
-----Original Message-----
From: Amos.G.Radfordbankofamerica.com
[mailto:Amos.G.Radfordbankofamerica.com]
Sent: Friday, October 27, 2000 12:07 PM
To: forte-userslists.xpedior.com
Subject: (forte-users) SQL Array Insert
I have run into a strange problem that I never really run into
before. If I want to save an array of items into a table in TOOL
SQL, how can I do it if the column names in the table are different
than the column names in the class. In the past we always had
the luxury of the column names being the same.
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.comMadhu,
Do the following:
1. create prepare statement
e.g
stmHnd : DBStatementHandle;
inputData : DBDataset = new;
stmType : integer;
stmHnd = DBSesObj.prepare('insert into
table_name myCOl1, myCol2, myCol3
values(:myCol1Value, :myCol2Value, :myCol3Value)',
inputData,stmType);
2. Populate the input DBDataset.
e.g
// assign the maximum value
inputData = myArrObj.items;
// assign the values
for i in 1 to myArrObj.items do
inputdata.currentRow = i;
inputdata.setvalue(':myCol1Value',
myArrObj.attr1);
inputdata.setvalue(':myCol2Value',
myArrObj[i].attr2);
inputdata.setvalue(':myCol3Value',
myArrObj[i].attr3);
end for;
3. execute the statement:
e.g .
DBSesObj.execute(stmHnd, inputData);
4. release the handle
DBSesObj.RemoveStatement(stmHnd);
Hope this helps,
Babu
--- "Epari, Madhusudhan" <meparioxhp.com> wrote:
Babu,
I'm not clear on how dynamic sql statement would
access the database only
one time for inserting an array of records in to the
table. Could you tell
how's it done?
thanks in advance,
Madhu
-----Original Message-----
From: Babu Raj [mailto:ibcsmartboyyahoo.com]
Sent: Friday, October 27, 2000 8:02 PM
To: Amos.G.Radfordbankofamerica.com;
forte-userslists.xpedior.com
Subject: RE: (forte-users) SQL Array Insert
Amos,
Why don't you use, Dyanmic SQL statement,
where
you need to prepare only one SQL Statement, and
populate input place holder, which is much simpler
and
you need to access the database only one time(which
is
efficient operation). This is useful, especially,
when
you want to update. But for your inforamtion, Forte
internally inserts, one by one row, even if u call
Static SQl statement, with array of record. Os its
advisable to use Dyanmic SQL statement.
Hope this helps,
Babu
--- Amos.G.Radfordbankofamerica.com wrote:
Unfortunately that carries a tremendous overhead.
Each request is a seperate
message and forte generates alot of behind the
scenes prepares for the sql.
---------------------- Forwarded by Amos G.Radford
on 10/27/2000 02:34 PM
"Amin, Kamran" <kamran.aminlendware.com> on
10/27/2000 02:33:07 PM
To: Amos G. RadfordBankofAmerica
cc:
Class: Internal Use Only
Subject: RE: (forte-users) SQL Array Insert
User a for loop and call update for each row inthe
array.
For Loop
Update
set
1=test[1]
end for
ka
-----Original Message-----
From: Amos.G.Radfordbankofamerica.com
[mailto:Amos.G.Radfordbankofamerica.com]
Sent: Friday, October 27, 2000 12:07 PM
To: forte-userslists.xpedior.com
Subject: (forte-users) SQL Array Insert
I have run into a strange problem that I never
really run into
before. If I want to save an array of items intoa
table in TOOL
SQL, how can I do it if the column names in the
table are different
than the column names in the class. In the pastwe
always had
the luxury of the column names being the same.
For the archives, go to:
http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To
unsubscribe, send in a new
email the word: 'Unsubscribe' to:
forte-users-requestlists.xpedior.com
For the archives, go to:
http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To
unsubscribe, send in a new
email the word: 'Unsubscribe' to:
forte-users-requestlists.xpedior.com
For the archives, go to:
http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To
unsubscribe, send in a new
email the word: 'Unsubscribe' to:forte-users-requestlists.xpedior.com -
The user doc (Accessing Databases p.67) suggests I should be able to do the
following:
vTableName : TextData = anObject.GetDBTableName();
SQL INSERT INTO :vTableName VALUES ( :aDataArray );
But the compiler complains that the colon before vTableName is a syntax
error. Is there a way to have my table name come from a variable??
TIA,
EricI have already told you what variable is throwing the NPE. Why it is doing it we cannot say from the posted code. There is far too little information.
As I said, however, having a statement as an instance variable is a very bad practice, and is bound to cause problems.
There is very little overhead to creating a statement, so there is absolutely no reason not create one every time you need one, and also no reason to hang onto one in an instance variable, either. -
RE: (forte-users) user name
Troy Burns wrote:
It would definitely be of interest to me, since this is an item on my
"to-do" list. If you can release the code, let me know.Here 'tiz.
The files you're getting are:
SFVosC.pex - "C" wrapper.
Vos.C - The "C" callout.
Vos.H - A header file for Vos.C, used by ...
VosCLI.C - A command-line-driven mainline to test Vos.C
VosObj.CEX - An object that provides a "nice" interface to the "C" wrapper.
We use this in two ways: instantiated as a local object to get the username
under VMS or NT, or as a service object partitioned to an NT server to do
username/password authentication on behalf of clients on other operating
systems.
The following changes have been made throughout the files in an attempt to
keep various people in DuPont happy:
"our_application_root" replaces the actual name of the root directory of
the application.
"our_vms_server" replaces the actual name of the system in question.
"our_nt_server" replaces the actual name of the system in question.
"our_application_name" replaces the actual name of the application.
A copyright notice, the usual disclaimer, and a "fair use" statement (which
is just a reference to the Perl Artistic License) have been inserted.
Except for the "ExternalObjectFiles" declaration in SFVosC.pex, all the
changes appear to have been in comments. But the files come with the usual
freeware warranty (i.e. "use at your own risk".)
Have fun with these!
Tom Wyant
(See attached file: SFvosC.pex)(See attached file: Vos.c)(See attached
file: Vos.h)(See attached file: Voscli.c)(See attached file: VosObj.cex)I would try going to the "lowest common denominator" between WindowsNT and
Windows95 - DOS. Both windowing OS's sort of have their roots in DOS, or at
least both are capable of opening a DOS session.
Therefore, from a DOS prompt type "set" to view the environment variables for
both OS types. Look for a common variable between the two that stores the
userID. If you can find one of these your application will be that much more
portable between these two Windows mutations.
I used "set" on my NT and found my userID assigned to a few variables. I haven't
done this on a Windows95 machine in quite some time, but if the machine is on
the network it should have at least one environment variable with the userID.
I'm just guessing that DOS has a variable to store the userID that will be
common to both machines.
Good luck....
Kelsey PetrychynSaskTel Technical Analyst
ITM - Technology Solutions - Distributed Computing
Tel (306) 777 - 4906, Fax (306) 359 - 0857
Internet:kelsey.petrychynSasktel.sk.ca
Quality is not job 1. It is the only job!
"Olivier Andrieux" <oandrieuxaxialog.fr> on 07/19/2000 09:12:41 AM
To: forte-userslists.xpedior.com
cc: (bcc: Kelsey Petrychyn/SaskTel/CA)
Subject: (forte-users) user name
Hi
I use this command to catch the username:
task.part.operatingsystem.getenv('username')
with NT, there is no problem
but with windows95 or 98 the command doesn't find the username.
Thanks in advance.
Olivier Andrieux
Axialog
Lille
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com -
RE: (forte-users) Named Anchored Obj-EnvironmentFailover
I did some playing around with this stuff as well. I can tell you a few
things.
1) The search path option of connected environments only works for SO's, not
for named anchors.
2) When EnvA creates a directory "/glob", which contains object "obj1", then
EnvA owns directory "/glob". Even after restarting environments. If EnvB
tries to add a subdirectory to "/glob" or inserts its own objects into this
path, then the situation becomes unstable. It doesn't immediately produce an
error, but things go wrong anyway. Is this a bug or expected behaviour? I
don't know. I just learned not to do this. Every environment must place it's
named anchors in it's own tree. Directories can't be shared.
3) I think the relative name "glob/obj1" should work, but only if you set
the ObjectLocationMgr to start looking at the root. Default, it will start
looking in it's own environment basepath. But I don't have any experience
with this.
Pascal Rottier
Atos Origin Nederland (BAS/West End User Computing)
Tel. +31 (0)10-2661223
Fax. +31 (0)10-2661199
E-mail: Pascal.Rottiernl.origin-it.com
++++++++++++++++++++++++++++
Philip Morris (Afd. MIS)
Tel. +31 (0)164-295149
Fax. +31 (0)164-294444
E-mail: Rottier.Pascalpmintl.ch
-----Original Message-----
From: Master Programmer [mailto:masterprghotmail.com]
Sent: Monday, January 08, 2001 11:13 PM
To: forte-userslists.xpedior.com
Subject: (forte-users) Named Anchored Obj-Environment Failover
Hi to all,
We connect from EnvA to EnvB giving the user directory parameter as / and
set the Environment Search Path
as EnvA:EnvB. From both environments we start and register
'/glob/obj1' named anchored objects with the same name.
From a client we connect to EnvA and bind to'/glob/obj1' when we shutdown EnvA partition it fails-over to
EnvB. And then we restart EnvA partition. We restart/rebind the client and
try to use object. We see that it is using the EnvB object.
Although we started the primary environment object again.
It is not using the search path. Once we shutdown secondary environment
it starts using primary environment object.
When we try to use relative path when we are binding the object
First parameter ('glob/obj1') No first slash. Trying 3rd parameter
for bind function or just using environment search path, Is is not able to
find the object. From nsls command I figured out that
under the root directory
/forte/UUID of ENVA/node
/site
/UUID of ENVB
/glob/obj1
names are available. When we use relative path (without slash)
is it trying to find /glob/obj1 under the /forte/UUID of ENVA
but we are registering the name under the root.
What is the reason of this odd behaviour or is this a bug?
Any answer will be appreciated,
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.comI did some playing around with this stuff as well. I can tell you a few
things.
1) The search path option of connected environments only works for SO's, not
for named anchors.
2) When EnvA creates a directory "/glob", which contains object "obj1", then
EnvA owns directory "/glob". Even after restarting environments. If EnvB
tries to add a subdirectory to "/glob" or inserts its own objects into this
path, then the situation becomes unstable. It doesn't immediately produce an
error, but things go wrong anyway. Is this a bug or expected behaviour? I
don't know. I just learned not to do this. Every environment must place it's
named anchors in it's own tree. Directories can't be shared.
3) I think the relative name "glob/obj1" should work, but only if you set
the ObjectLocationMgr to start looking at the root. Default, it will start
looking in it's own environment basepath. But I don't have any experience
with this.
Pascal Rottier
Atos Origin Nederland (BAS/West End User Computing)
Tel. +31 (0)10-2661223
Fax. +31 (0)10-2661199
E-mail: Pascal.Rottiernl.origin-it.com
++++++++++++++++++++++++++++
Philip Morris (Afd. MIS)
Tel. +31 (0)164-295149
Fax. +31 (0)164-294444
E-mail: Rottier.Pascalpmintl.ch
-----Original Message-----
From: Master Programmer [mailto:masterprghotmail.com]
Sent: Monday, January 08, 2001 11:13 PM
To: forte-userslists.xpedior.com
Subject: (forte-users) Named Anchored Obj-Environment Failover
Hi to all,
We connect from EnvA to EnvB giving the user directory parameter as / and
set the Environment Search Path
as EnvA:EnvB. From both environments we start and register
'/glob/obj1' named anchored objects with the same name.
From a client we connect to EnvA and bind to'/glob/obj1' when we shutdown EnvA partition it fails-over to
EnvB. And then we restart EnvA partition. We restart/rebind the client and
try to use object. We see that it is using the EnvB object.
Although we started the primary environment object again.
It is not using the search path. Once we shutdown secondary environment
it starts using primary environment object.
When we try to use relative path when we are binding the object
First parameter ('glob/obj1') No first slash. Trying 3rd parameter
for bind function or just using environment search path, Is is not able to
find the object. From nsls command I figured out that
under the root directory
/forte/UUID of ENVA/node
/site
/UUID of ENVB
/glob/obj1
names are available. When we use relative path (without slash)
is it trying to find /glob/obj1 under the /forte/UUID of ENVA
but we are registering the name under the root.
What is the reason of this odd behaviour or is this a bug?
Any answer will be appreciated,
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com -
Re: How can I handle disconnected user in Forte ?
First of all, I would like to thanks for your time and help.
What I am trying to do is very simple. Our company has MS SQL server as
central database. It stores all data for our agents. Each agents either
connect on-line or off-line. Besides, they are running our forte application
with their database ( may be sysbase, access .. database ).
For those agents that are off-line, we would like to extract the data
periodically and update the database in our company. Sometime, we may need
to send data back to our agents.
I have follow your suggestion to read the persisent Q manager.
But I still don't know how to start. What is the pitfall to implement
persisent Q manager?
By the way, if I want to keep the data in synch. Is it simply to have
persisent Q manager running at background. Everytime database object
insert/modify the database, I make an object serialized and put into the Q
manager waiting for sending serialized object to my company?
Kelvin.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>First of all, I would like to thanks for your time and help.
What I am trying to do is very simple. Our company has MS SQL server as
central database. It stores all data for our agents. Each agents either
connect on-line or off-line. Besides, they are running our forte application
with their database ( may be sysbase, access .. database ).
For those agents that are off-line, we would like to extract the data
periodically and update the database in our company. Sometime, we may need
to send data back to our agents.
I have follow your suggestion to read the persisent Q manager. But I still
don't know how to start. What is the pitfall to implement persisent Q
manager?
By the way, if I want to keep the data in synch. Is it simply to have
persisent Q manager running at background. Everytime database object
insert/modify the database, I make an object serialized and put into the Q
manager waiting for sending serialized object to my company?
Kelvin.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
How can I handle disconnected user in Forte ?
Hi Forte user,
we would like to develop an application in Forte which support
disconnected user ( or site ). That mean every morning the disconnected user
( or site ) will dial up to server and synchronize the data. Have anyone out
there developing the similar application?
Should I synchronize the data with database function ( we have to support
different database such MS SQL ,Oracle ... access database ) or write an
application in Forte that can serialized the object itself ?
Any help welcome !
Kelvin
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>First of all, I would like to thanks for your time and help.
What I am trying to do is very simple. Our company has MS SQL server as
central database. It stores all data for our agents. Each agents either
connect on-line or off-line. Besides, they are running our forte application
with their database ( may be sysbase, access .. database ).
For those agents that are off-line, we would like to extract the data
periodically and update the database in our company. Sometime, we may need
to send data back to our agents.
I have follow your suggestion to read the persisent Q manager. But I still
don't know how to start. What is the pitfall to implement persisent Q
manager?
By the way, if I want to keep the data in synch. Is it simply to have
persisent Q manager running at background. Everytime database object
insert/modify the database, I make an object serialized and put into the Q
manager waiting for sending serialized object to my company?
Kelvin.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
RE: SMTP message transfer with Forte'
Hey,
You would have to use POP or POP3 client (not a lot of work) to retrieve
messages from mail server or write you own mail server (much, much more
work).
See SMTP/POP3 documentation on requirements - implementation, there is
plenty of information on the internet.
Hope this helps.
Dariusz Rakowicz
Consultant
BORN Information Services (http://www.born.com)
8101 E. Prentice Ave, Suite 310
Englewood, CO 80111
303-846-8273
[email protected]
-----Original Message-----
From: Paul Salmon [SMTP:[email protected]]
Sent: Tuesday, September 08, 1998 4:12 PM
To: '[email protected]'
Subject: SMTP message transfer with Forte'
Hi,
We are exploring a number of ways to transfer data from a business partner
through a secure extent circuit. Since I have been reading a few messages
regarding SMTP file transfer (send), I was wondering if anyone has any
experience in writing a Forte' service object to receive an SMTP message
and then parse it and insert the data into a database.
Paul Salmon
[email protected]
(714) 536-9778 voice
(714) 536-9778 fax
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>-
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Hello Sergiy,
Many thanks. I am in touch with our technical colleagues for the same and will revert back with results.
Thanks
Srinivas -
Forte 6U2 - poor performance of std::map::operator[]
I discovered to my horror this morning that Forte 6U2 implementation of std::map (at least at the patch level I'm working with) ALWAYS default constructs a value_type when operator[] is invoked - even if value_type already exists in the map.
Any reasonable STL implementation first uses lower bound to search, and failing to find an appropriate element, uses the resulting iterator as an insertion hint, only then default constructing a value_type (and therefore a mapped_type) element.
The existing implementation in Forte 6U2 imposes an absurd penalty on the use of the subscript operator when mapped_type's default construction semantics are non-trivial. While "correct" in the sense that the contract for std::map::operator[] is met, I cannot imagine that this was an intentional design choice given the performance implications. How can I get this issue addressed?Well, I wasn't making any claim about the efficiency of the underlying tree representation - only the fact that operator[] unconditionally default constructs a mapped_type object, even if there is already an appropriate element in the map, which is no good at all. I'll try your request for enhancement thing though...
While I would very much like to switch to using STLport vs. the RW stl, a compiler upgrade is not the answer here. -
Re: (forte-users) How do you change the font color onwindow.StatusText
Hi Richard,
In the init method insert the line
<_StatusLine>.PenColor = C_BLUE ;
This sets the pen color for the widget.
StatusText is an attribute on the Window class that
holds the value of the text. This value is then
displayed in the specified data field that you assign.
Hope this helps,
Jairaj Rampershad
System Consultant
--- "Robinson, Richard"
<[email protected]> wrote:
I'm using Forte 3.0.G.2 and can't get the font color
to change.
I've followed the instructions in the help
documentation by creating a data
field widget (named it _StatusLine) and mapped it as
a TextData. In my Init
method I then have a chunk of code to set up the
Window.StatusText. It
looks like this:
_StatusLine = new;
Window.StatusText = _StatusLine;
Once that's done the code updates Window.StatusText
as needed. All this
works fine except I can't get the font color
changed. I've used the Window
workshop to specify a color for the data field
widget but it appears that
the underlying Forte libraries has a mind of it's
own. Any clues as what to
do? All I'm trying to do is set the color to the
default "information"
color - which is blue.
Thanks in advance
For the archives, go to:
http://lists.sageit.com/forte-users and use
the login: forte and the password: archive. To
unsubscribe, send in a new
email the word: 'Unsubscribe' to:
[email protected]It's not so simple to find it if you don't know what you're looking for... But it can be found via View - Show/Hide - Toolbar Items - Properties Bar.
-
Accessing AS/400 data from Forte
Dear Forte Users,
How are you accessing data stored on your AS/400 from Forte running on a
Unix node?
Here at CIBA Vision we would like to see the AS/400's physical files
(which I believe are DB2 tables) from Forte on an HP-UX 10.20 node as a
database (i.e. be able to use a DBSession object) and be able to select,
insert, update, and delete from them . Is there a simple solution like
make a DB2 resource manager on the HP-UX node and tell it to connect to
the AS/400 (I wish it were that easy). I've only researched two ways
that it could be done so far and haven't actually proven that either one
of them works (or performs) yet:
1) Use Oracle's "Transparent Gateway" to make the AS/400 look like an
Oracle remote database
2) Use Intersolv's (now Merant's) ODBC to make the AS/400 look like an
ODBC data source
IBM's Client Access 400 comes with a DLL under Windows that uses this to
make the AS/400 look like an ODBC data source. From researching Client
Access I know the AS/400 has a TCP/IP listener running on port 8471 (the
AS/400 calles it port "as-database"). What is this listener -- IBM
makes this sound like an ODBC listener? Is this an ODBC listener and if
so can any ODBC client talk to this server? Unfotunately Client Access
is only available on Windows platforms and using NT as our application
server is out of the question. IBM referred me to StarQuest, a company
who makes Client Access for Unix. However, the salesman there was
unsure if they had replicated all of the PC Client Access (including
the ODBC shared library). However, they did say they were working on
making a Unix ODBC driver that talked to the AS/400 in RDMA (or
something like that -- the DB2 native language).
Any help or insight would be helpful. Thanks in advance.
-J.C.
J.C. Hamlin, Senior Consultant, Forte National Practice
Born Information Services, Inc., Wayzata, MN
Ph1: (612) 404-4000 Ph2: (612) 783-8270 Fax: (612) 404-4441
<[email protected]> <[email protected]>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>hi,
A linked button works the same as an edit text. Just cast the specific object of the cell in an edit text object
In C# code this gives the following
string val = ((SAPbouiCOM.EditText)mtrx.Columns.Item(colID).Cells.Item(row).Specific).Value;
Yannick -
Using Crystal Reports 6.0 ActiveX control on Win 95 clients or Win 95
development machines I cannot insert the object into the ActiveX widget. In
distributed mode the Control cannot be 'Realized' and in development, the
Win 95 machine hangs up.
Complete description of problem or question:
We have been using the Crystal Reports version 6.0 ActiveX control on NT
4.0 machines for about 1 month with no problems.
When we made our latest distribution to our Win 95 client environment, the
window with the ActiveX control started
generating an error that the object could not be 'realized'. We then
proceeded to install Forte and Crystal on a Win 95
Development machine and found that we are not even able to insert the
control in the ActiveX widget. The Win 95 Development
machine hangs with no error message at all and you have to close down your
Forte session.
Any help would be appreciated.
Thanks,
Paul Nash
Sun Life of Canada (US)Just take a look at Tech Note n° 11181 and go to Micro$oft's site :
http://www.microsoft.com/com/dcom95/download-f.htm
You need DCOM for Windows 95 to use OCX's...
(We've had the same problem yesterday and now, it works fine...)
De :
[email protected][SMTP:[email protected]]
Répondre à : [email protected]
Date : jeudi 15 janvier 1998 16:39
A : [email protected]
Objet : Forte and Crystal OCX
Using Crystal Reports 6.0 ActiveX control on Win 95 clients or Win 95
development machines I cannot insert the object into the ActiveX
widget. In distributed mode the Control cannot be 'Realized' and in
development, the Win 95 machine hangs up.
Complete description of problem or question:
We have been using the Crystal Reports version 6.0 ActiveX control on
NT 4.0 machines for about 1 month with no problems.
When we made our latest distribution to our Win 95 client environment,
the window with the ActiveX control started generating an error that
the object could not be 'realized'. We then proceeded to install Forte
and Crystal on a Win 95 Development machine and found that we are not
even able to insert the control in the ActiveX widget. The Win 95
Development machine hangs with no error message at all and you have to
close down your Forte session.
Any help would be appreciated.
Thanks,
Paul Nash
Sun Life of Canada (US) -
Question about Keep Alive feature in Forte 3.
Does anyone use Keep Alive feature under Forte 3.0F.2 environment.
I got trouble and encounters the following problem in the service objects
daily:
INFORMATION: An abnormal disconnect from partition
(CFFE2500-85B0-11D1-B37F-E2F7F3F1AA77:0xec254) was received. Since there
are
no method invocations outstanding to this partition, no notification could
be
given of this disconnect (by indicating a method invocation failed).
Therefore, the information associated with this disconnect is being
reported
to the log.
Class: qqsp_DistAccessException
Error #: [601, 119]
INFORMATION: The connection to the partner was terminated by the
Communication Manager for the reasons below.
Class: qqsp_DistAccessException
Detected at: qqdo_PartitionMgr::StopLocation at 1
Error Time: Fri Nov 26 17:45:39
SYSTEM ERROR: Failed to establish connection: OS Error 61: Connection
refused
Class: qqsp_DistAccessException
Detected at: qqcm_HoseFSM::SetError at 5
Error Time: Fri Nov 26 17:45:39
SYSTEM ERROR: hose 15 STATE_CONNECTING (EXT_RECEIVED) from
qqcm_HoseFSM::IssueConnect (after EstablishConnection)
Class: qqsp_ErrorDescriptor
Detected at: qqcm_HoseFSM::SetError at 1
Error Time: Fri Nov 26 17:45:39
It seems that Keep Alive sometimes disconnects the connection between the
service objects and the environmental manager.
So that any further connection request from the client encounters the
abnormal exception.
Forte seems not to recommend to use this feature in the Forte Relase note
3.0J1.
She states that "Sites that chooses to test KeepAlives should report all
problems to Technical Support ( and let
Technical Support know that you have enabled this capability)"
Should I disable Keep Alive feature under Forte 3.0F2 environment?
Rgds
TomHey Marco,
I can`t find a view that is named like "APEX_APPLICATION_PAGE_IR%". Is it not available on the evaluation instance.
I don`t want to use the build-in CSV download, becaus I want to export thousands of data sets. I got this already to work with APEX 3.0 and I get the sql from the application views. The procedure which creates the file runs a few hours and after that it is inserted into a table from which the user can download the file. In the procedure there happens a few other things, which are very import, so I have to create my custom solution.
And for that I thought it would be very very very cool if I can get the sql behind the interactive report with the filters ant those things.
Don`t you think that would be possible? I guess the APEX create a SQL although, or am I wrong?
Thank you,
Tim -
Re: Forte Express Question
I tend to agree with Chris Kelly's earlier posting that
the problem is not with date, but rather with the other
fields. Forte takes care of date format that Oracle can
understand.
Oracle's will allow year entry of between -4713 and +4713.
Forte chose October 1582 as the zero date because it
represents the beginning of the modern calendar as we
know it, called the Gregorian Calendar.
Some interesting reading follows...
From http://www.sprinc.com/marktime.htm
Imagine that for an entire year you were twelve minutes
early for your appointments. This would be a good thing right?
Aren't we told to be early for our appointments -- that it is
courteous to be early and usually unacceptable to be late?
Well, if we agree on these things, then why on Earth would the
twelve minutes between the old Julian Calendar and the New Style
Gregorian Calendar be such a big deal? The answer lies in time
itself. You see, those twelve minutes accumulated over the years,
decades, and centuries so that by the 1500's the Julian Calendar
had raced ahead of the Sun by ten days!
In October, 1582 Pope Gregory XIII implemented the following
changes to the old Julian Calendar:
- New Year's day changed from March 25 to January 1.
- The calendar advanced by 10 days, making the day after Oct 4,
1582 into Oct 15, 1582.
- Updated and refined Leap Year rules:
1.Years evenly divisible by four are to be
considered Leap Years.
2.Century years (double 00) must be evenly divisible by
400 (2000 is a leap year).
3.The years 4000, 8000, and 12000 are considered to be
"common years" (not leap years).
4.Century years divisible by 900 will be leap years only
if the remainder is 200 or 600 (2000 is a leap year).
The changes above make the calendar accurate to 1 day in 44,000 years.
At 06:21 PM 3/31/97 -0500, you wrote:
Dan Elias wrote:
I am incurring the following error message when I go to insert a
record in a Forte Express application. I think the message relates to a
DATE field? Forte Express apparently reads the Oracle db and creates a
DATE field which include DATE&TIME, and Oracle cannot read this! At any
rate can you please contact me when you get a chance.
******** ERROR MESSAGE ********
=======================================================================
SYSTEM ERROR: Execute failed for dynamic SQL statement 3, error from
database
is:
ORA-01438: value larger than specified precision allows for this
column
Class: qqdb_ValueException with ReasonCode: DB_ER_CONVERSION
Detected at: qqdb_OracleVendorInfo::DoOexn
Last TOOL statement: method BusinessDBMgr.ExecuteSql
Error Time: Tue Mar 25 15:22:53
Oracle error: 1438, Server: devsrv1, Database: oratest, UserName:
prc
Database Statement: insert into MPRC(MPRC_SERVICE_TYPE,
MPRC_EFFECT_DATE_AGREED, MPRC_EFFECT_DATE_NEGOTIATED,
MPRC_EFFECT_DATE_REQUESTED, MPRC_DATE_RECEIVED,
MPRC_RAW_MATERIAL_DOLLARS,
MPRC_RAW_MATERIAL_TYPE, MPRC_RAW_MATERIAL, MPRC_INCREASE_TYPE,
MPRC_PCT_INCREASE_NEGOTIATED, MPRC_PCT_INCREASE_REQUESTED,
MPRC_TIME_RECORD_CHANGED, MPRC_DATE_RECORD_CHANGED,
MPRC_WHO_CHANGED_RECORD, MPRC_DANA_TYPE_SAVINGS,
MPRC_PROB_PROJECT_SUCCESS, MPRC_OTHER_COST, MPRC_TOOLING_COST,
MPRC_PROJECT_STATUS, MPRC_PROJECT_COMPLETED,
MPRC_MATERIAL_PRICE_VAR,
MPRC_ENGINEERING_HOURS, MPRC_PIRO_REJECTED_DATE,
MPRC_PIRO_APPROVED_DATE,
MPRC_PIRO_SUBMITTED_DATE, MPRC_IRR, MPRC_TRUCK_WEIGHT_CHANGE,
MPRC_PLANT_IMPACT_EXPLAIN, MPRC_PLANT_IMPACT,
MPRC_WARRANTY_IMPACT_EXPLAIN, MPRC_WARRANTY_IMPACT,
MPRC_QUALITY_IMPACT_EXPLAIN, MPRC_QUALITY_IMPACT,
MPRC_PIRO_NUMBER,
MPRC_YEAR, MPRC_PROJECT_DESCRIPTION, MPRC_INCREASE_DECREASE,
BUYR_BUYER_ID, CMTM_COMMODITY_TEAM, RESC_REASON_CODE,
SLOC_SUPPLIER_CODE,
MPRC_PROJECT_ID) values
(:p1,:p2,:p3,:p4,:p5,:p6,:p7,:p8,:p9,:p10,:p11,:p12,:p13,:p14,:p15,:p16,:p17
,:p18,:p19,:p20,:p21,:p22,:p23,:p24,:p25,:p26,:p27,:p28,:p29,:p30,:p31,:p32,
:p33,:p34,:p35,:p36,:p37,:p38,:p39,:p40,:p41,:p42)
with input values: , 14-Oct-1582 19:00:00, 14-Oct-1582 19:00:00,
14-Oct-1582 19:00:00, 14-Oct-1582 19:00:00, 0, , , , 0, 0, , , , ,
0, 0,
0, , , , , , , , 2, 1, test P, 0, test W, 0, test Q, 0, 12345,
1997,
Desc., I, A, 20, I, 002100, 12300
Exception occurred (remotely) on partition
"prcMaterialPriceChangeAMWindows_CL0_Part", (partitionId =
C039E19E-6D81-11D0-A5BB-B3F4D289AA77:0x6db:0x1c, taskId =
[C039E19E-6D81-11D0-A5BB-B3F4D289AA77:0x6fb:0x2.12]) in
application "Forte
Runtime", pid 13255 on node devsrv1 in environment CentralEnv.Hi Dan,
You and I spoke briefly about this problem early last week, but now that
I see the actual error message printed out in your posting here, I think
I see where your difficulties are coming from. Take a look at the
actual date values that you are attempting to insert into your Oracle
table (about 10-15 lines up from the bottom of your error message
above). "14-Oct-1582 19:00:00." When you create a DateTimeData object
in Forte and do not assign a value to it, this is the value that it is
given by default. Pretty much all systems have some date that they
consider to be the beginning of time - apparently Forte chose
mid-October, 1582. My suspicion is that 1582 is before the dawn of
Oracle time, and thus Oracle rejects the attempted insert. I didn't
think of it when we last spoke, but I have seen this exact problem
before with Microsoft SQL Server - 1582 is too early a date for it to
recognize. Try going into SQL*Plus and doing an insert with the 14 Oct,
1582 date and see what happens.
Hope this helps!
DaleLee Wei wrote:
>
I tend to agree with Chris Kelly's earlier posting that
the problem is not with date, but rather with the other
fields. Forte takes care of date format that Oracle can
understand.
Oracle's will allow year entry of between -4713 and +4713.After testing a few things out today, I have to say I agree with you.
Oracle was perfectly happy with Oct 14, 1582 as a date, and even when I
got the format wrong, I never saw the "value larger than specified
precision" error that Dan Elias was seeing. Thus, it probably IS one of
the other fields causing the problem. My db experience has primarily
been Microsoft SQL Server, where 1582 is NOT a valid date.
Forte chose October 1582 as the zero date because it
represents the beginning of the modern calendar as we
know it, called the Gregorian Calendar.
Some interesting reading follows...And thanks for the interesting facts! I was vaguely aware of some of
it, but didn't know the exact date, for one thing.
Dale -
SMTP message transfer with Forte'
Hi,
We are exploring a number of ways to transfer data from a business partner
through a secure extent circuit. Since I have been reading a few messages
regarding SMTP file transfer (send), I was wondering if anyone has any
experience in writing a Forte' service object to receive an SMTP message
and then parse it and insert the data into a database.
Paul Salmon
[email protected]
(714) 536-9778 voice
(714) 536-9778 fax
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Hi wermain.
Go to Apple Menu > System Preferences > Network, choose Network Port Configurations from the Show popup menu, and make sure that the configuration used to connect to Internet appears at the top of the list. Try also turning OFF all the network port configurations except the one needed to connect to Internet and see whether that helps — if it doesn’t, turn ON again the ones you want enabled.
Mail keeps information about outgoing (SMTP) servers in a separate list independently of the mail accounts themselves. The account settings just associate one of the available outgoing servers with each account. Orphaned or dangling outgoing server entries (i.e. not associated with any account) sometimes cause weird sending problems. Go to Preferences > Accounts > Account Information > Outgoing Mail Server (SMTP), choose Edit Server List from the popup menu, and delete any servers that shouldn’t be there. The Edit Server List panel shows the account each outgoing server is associated with.
BTW, in case you weren’t aware of it, you can make your life easier in these forums by going to System Preferences > International > Language and moving English to the top of the list. The next time you launch Mail, it'll be all in English. You can then go back to the preferences panel and move your preferred language to the top again so that everything else is in that language.
Maybe you are looking for
-
Security with local html files
Hi, I've a problem, I'm writing a html report with a python app and I'm loading the html into a HTML component. The problem is: I can't make the drag and drop between air and javascript works; I'm getting: TypeError: Undefined value in the dropHandle
-
I'm coding a question-and-answer type of game for a class of mine. Even thought I have CS4, I'm using ActionScript 2.0. The game has five categories. Each category has a button in Scene II that takes the player to another scene (Button A to Scene III
-
How to switch between two query in Web templete.
Hi all, Here i am facing problem to switch between two query in web template by using one 'table' web item. is there any way to use hyperlink 'SAP_BW_URL' and we can switch to query. here i am using these HTML code.. <table><tr><td class="SAPBEXBtn
-
IVE GOT IT!!!!!!!!!!!!!!!! if you plugged you zen into the usb port on the computer and it has frozen un plug it and bag it on the table then plug it back in and it should work!!!!! simple but it works!:smileyvery-happy:
-
I have an input form that the user enters a date range, and the procedure calculates the cost of number of records found by cost per record. I already have a finished product, but I am being asked to make significant changes to the way the data is ga