Multiple Forte environments on a server -Reply

6234 byte By at 2007-11-25 5:20:48
Peggy,We have tried to do something similar to some of the questions you haveasked. We had version 2.0.D.2 on our server, and wanted to start usingversion 2.0.E.2. We also wanted to have multiple repositories when weswitched to 2.0.E.2, while some people would still be pointing to a ...

Installation question

699 byte By at 2007-11-25 5:20:49
HiBecause Forte does not come with a runtime kit, we are working on ourown installation. What we have is done is install Forte, rip out any files that we know are not requiredin a deployed application, tar up the remaining files and copy these over to the new client. We also add forte.ini files ...

DBSessionAgent from DBSession

1247 byte By at 2007-11-25 5:20:50
Hi everyone,Does anyone know a way to obtain a DBSessionAgent that correspondsto a particular DBSession? Or a way to identify the PID of the serverpartition that is the "back-end" of a DBSession. The situation is that while test-running an application, it appears that some process has an ...

How can we generate a Traceback?

2500 byte By at 2007-11-25 5:20:51
When raising an exception, it is often useful to know which line of codeexecuted before the exception was raised. i.e., the message-send stack,the Forte equivalent to a Smalltalk "walkback" window. We know such athing is possible because Forte generates one when you send a message tothe NIL ...

return event on load balanced SO method

888 byte By at 2007-11-25 5:20:52
Hi folks, I'd like to call a method on a load balanced SO method asynchronouslyand get a return event. Such as: LBSOMethodA return event methoda_return caller...1event loop2start task LBSO.MethodA where completion = event;3... do other stuff45when LBSO.methoda_return do6...handle done ...

Print and distribute reports in FORTE

1302 byte By at 2007-11-25 5:20:53
Forte users,I think that everyone has faced at least one time the question of how to print and distribute documents generated by FORTE. The basic printing capability in FORTE allows to print screens or fancy documents, but it does not seem to support the possibility either to write on a file or ...

Dynamic SQL

3174 byte By at 2007-11-25 5:20:54
"C. M. Motta" <motta@dcc.unicamp.br> wrote ->I would like to know if its possible to build an SQL select at run>time. That is, to concat to a textdata and run as SQL that textdata.>If its not possible, is there any other ideia of how we could do>it?You are looking for dynamic ...

Screen Resolutions and Forte

818 byte By at 2007-11-25 5:20:55
The infamous Screen resolution problems, should we cater for a minimum of 800x600 or 640x480 or make it 'elastic' so that it will fit any size screen ? Also what happens if the user selects 640x480 or 800x600 and large fonts/small fonts what happens to the application ?This question has ...

Replication count for a load balanced partition.

1470 byte By at 2007-11-25 5:20:56
Hi,We are experiencing a peculier problem in our production environment. We have an NT server with two pentium processors and 512 MB RAM and about 40 windows clients. The environment also has a seperate db server.One of the service partitions has a service for handling transactions and a ...

DateTimeData problem?

1704 byte By at 2007-11-25 5:20:57
Greetings,We've developed an Express application using an Informixdatabase. If I set the year in a DateField to the year 3000, I get thefollowing after I save the window and re-fetch the data back: USER ERROR: Source out of range for specified resolution.Class: qqsp_UsageException with ...

Forte FAQ

4064 byte By at 2007-11-25 5:20:58
I think a Forte FAQ is a good idea in general. Wonder if you'd considerreposting periodically, with updates?I do also have a couple of quibbles with your answers, though in general they look quite good to me, and I learned a couple things from them.> S: Windows> Q: When you execute your ...

Minimal vs. Maximal approach

3458 byte By at 2007-11-25 5:20:59
I guess that everyone has faced the problem of dividing a project development between a set of projects.Using Forte you will also set the chain of supplier projects. A common approach is certainly to separate the classes dealing with databases/external access (end server) to that dealing with ...

Reading a Flat file

460 byte By at 2007-11-25 5:21:00
Hi,I am developing an application to read a flat file into an outlinefield. The file I am trying to read is coming from Open VMS fileand our client is on NT.I tried using the FileSystem class(SetLocarDir & SetRemoteDir) but itlooks like that both are pointing to my client side(NT) ...

Express Validation

1160 byte By at 2007-11-25 5:21:01
Hi,When I use the application we've built and partially datafilla Date field and then try to exit the field or save, I get a dialogshowing the following:'The input you have supplied for the current field is only partially complete; before you can leave the field it must contain a valid value ...

N/A showing up in datafields

1097 byte By at 2007-11-25 5:21:02
Hi,We are building an application using Express. Ourdevelopment is on Unix but we also deploy the application to PC's.On Unix, when the text or number in a datafield is erased, thedatafield looks empty or defaults to 0. When you do the same thing on aPC, N/A pops up. Why is this? Should the ...

Segmentation - Access Violation

364 byte By at 2007-11-25 5:21:03
Hi Ravi,Looks like you have a memory constraint problem there. Why don't you usethe fm flag to increase the memory that FORTE uses.It goes like this :-fm (n:16000,x:32000)This should solve your problem.Bala CuddaloreSage Soultions Inc353 Sacramento Suite 1360SFOBala@SageSoln.com ...

Loss of DB in 3-Tier Application.

1540 byte By at 2007-11-25 5:21:04
What is a good way to handle the loss of a database connection in a 3-Tier application?That is, if a DBSession looses connection ( could be the network went away or the database crashed ), what is a reasonable course of action?The DBSession may or may not be in a load balanced partition. In the ...

Inofrmix Stored Procedures

1922 byte By at 2007-11-25 5:21:05
Forte Users;Thanks in advance,I am trying to execute the following forte call to Informix. The storedprocedure is executing correctly and returning the next primary key.However, when the return value gets back into the forte environment thereturn value is NULL. Also, how do you handle multiple ...

ODBC drivers

1413 byte By at 2007-11-25 5:21:06
We are currently in the process of determining our partitioning schemafor the application we are developing and are happy with all areasexcept for our use of ODBC drivers.The application requires several ODBC drivers:- One for an MS Access database for importing information- One for a Clipper ...

How to validate window widgets ?

1519 byte By at 2007-11-25 5:21:07
Hi,Take the following example:On a window there are two text widgets <txt1> and <txt2> and two buttons <btOK> and <btCancel>.I want to perform input validation on <txt1>, therefore, according to the TOOL reference, the code is as follows:when ...

Vertical text alignment.

178 byte By at 2007-11-25 5:21:08
Hi Folks,Can someone tell me whether Forte supports aligning text vertically on a window? Thanks in advance!Regards,Alaiah Chandrashekar

segmentation or access violation

1323 byte By at 2007-11-25 5:21:09
Hi Folks:Could anyone please tell me why I get the following error when I try torun my application in a Deployed mode. When I run the same applicationfrom the Workspace I don't get the error:Begin Stack Backtrace==========================================================Trace caused by a ...

Dynamically created widgets Vs. Static widgets.

1099 byte By at 2007-11-25 5:21:10
I have a panel which contains a dynamically created rectangle widget and a static push button widget, and in my event loop I am registering for the click event on all the children of the panel. Could someone explain why the click event on the dynamically created rectangle widget is not ...

GIF v89 support

396 byte By at 2007-11-25 5:21:11
Hi forte folks,Do you know whether Forte supports images type GIF v89 ( animated ) ?If not, have you got any suggestion for using them in a Forte Window ? ThanksFab-- Barbero FabrizioCSI-PIEMONTE Cso Unione Sovietica 21610134 Torino ITALYtel: +39 11 4618515fax: +39 11 4618212e-mail: ...

Reading Text from DataFields

1241 byte By at 2007-11-25 5:21:12
I have been experiencing intermittent problems reading text fromDataFields.For example, we might have a DataField widget called <CodeEntry>.My understanding is that the window attribute, CodeEntry, associatedwith this widget can be used to set and retrieve the text displayed inthis ...

Application Startup

414 byte By kamran.amin at 2007-11-25 5:21:13
Does anybody have an example to startup a deployed application automatically? For example when your backup is completed at night and want the application to be ready for use. I know that it starts up automatically when the first user tries to use the applications but it can take up to 5 minutes ...

Virtual Attribute Bug

1179 byte By at 2007-11-25 5:21:14
I recently discovered that raised exceptions areignored in the getter and setter methods of virtualattributes when the virtual attributes are mapped towidgets. However, the same does not occur whendirectly accessing the same virtual atributes usingTOOL code, the raised exception is received by ...

daylight time savings

373 byte By at 2007-11-25 5:21:15
Hi All,is there any possibility to find day lightsavings time change, when the system is set for daylight savings in forte? The isDST attribute in datetimedata, its alwaystrue, if the system is set for day light savings. Thanks,babu<a ...

How to set configuration flag

134 byte By 709334 at 2007-11-25 5:21:16
Could someone help me ?How do you set the cfg flags with Forte ?Is it a command line option ?Thanks

Short jump from Ford to Forte

788 byte By at 2007-11-25 5:21:17
I have gleamed the sentiment below from the User group "Accessing Technote 10398" correspondences:" Sometimes, the technotes are marked unviewableto customers because they might need furtherexplanation. Let me know if you need to log a case."Is it just me or does this seem alot like Ford's ...

Forte Frameworks

715 byte By at 2007-11-25 5:21:18
I would be interested in hearing from any company that is marketingForte framework(s). You must be able to provide customer references. I would also be interested to hear from anyone who has bought/used aForte framework and would be willing to share their experiences, good orbad. Your feedback ...

Some Forte Questions

2885 byte By at 2007-11-25 5:21:19
Hi,1. Why IntegerData, TextData, etc cannot be inherited ? Is it because they are not 'real' object classes ? Or Forte has done some 'twiching' so that they are more efficient ?2. Consider this:class PersonId inherits IntegerNullableclass Person inherits Objecthas private attributeid: ...

N/A in null fields

950 byte By at 2007-11-25 5:21:20
Forgive me if this newbie question has already been covered, but...Is it common for programmers to try to defeat Forte's desire to displaythe string "N/A" in a character field when the value is null? I find thisbehavior annoying, and it distresses me that users may confuse "N/A" as beingthe ...

Preventing "FTEXEC" window from appearing

840 byte By at 2007-11-25 5:21:21
In running the client partition of our application we don't want the"FTEXEC" (trace) window to appear. One would assume that it should berelatively simple to do but we cannot find how to do this in any of theForte manuals.We have tried using logger setups (redirecting to a file rather ...

hidden windows with aggregation

1312 byte By at 2007-11-25 5:21:22
In Express how do you hide a nested window so that it has fullfunctionality except that it is not displayed?The particular situation is as follows. In one Expressapplication we are editing data in a master table (Table 1) and adetail table (Table 2). Both of those tables have additionaldetail ...

Calling DCE RPCs from Forte

950 byte By at 2007-11-25 5:21:23
Hi all,We are considering the use of DCE RPC with Forte.I know that it is possible to both call-in and call-out to DCE fromForte, and we are primarily interested in calling out, i.e.presenting an existing set of DCE RPCs as methods in a virtual Forteservice object to be invoked by Forte ...

FrameColor for Rectangles

836 byte By at 2007-11-25 5:21:24
Hi all,I am very new to Forte and to this user-group. So I hope that nobody has already answered my question for a few months.I want to draw a rectangle dynamically. But as default, the framecolor is black. I don't manage to erase the frame or change the framecolor (and set it to the ...

DateTimeData

753 byte By at 2007-11-25 5:21:25
Forte Users,I'm using the FormatDate method to manipulate the value of a DateTimeData object. Here's a code snippet (taken pretty much verbatum from an example in the help):schdt : DateTimeData = new;dtfmt : DateFormat = new();dateastext : TextData;schdt.SetValue('29-Jan-1997 ...

Code Table Maintenance

2748 byte By at 2007-11-25 5:21:26
We were also looking into a way to generically handle Code Table Maintenance but what we found was that too many of our"CodeTypes" (ie: codes that resided in different tables) needed special handling performed. For example you may need to make surethat a code the user enters is a value that ...

Development tools

452 byte By kamran.amin at 2007-11-25 5:21:27
Hi all,We are about to embark on a sizable Forte development and are interestedin hearing from anybody who has successfully used automated test toolswith Forte. Also, does anybody know of a problem tracking tool that canbe linked to the Forte source repository for the purpose of tracking ...

Interface to "callback" API

1088 byte By at 2007-11-25 5:21:28
We have to design a client application to a computer trading system/network; access to the network is by way of 3GL APIs, written in C, and working on a callback basis: that is trades relative to the orders transmitted are received asynchronously from the network by "subscribing" the address of ...

Displaying two Languages on the same screen

589 byte By at 2007-11-25 5:21:29
Does anyone have some helpful information in how I can go aboutdisplaying two languages on the same screen in Forte. I am looking fora way to set up some sort of language configuration page where a usercan put in the translation of given words in the application. Such aswhat a user would want ...

Source browsing via PEX files, PEX to BSC/TAGconversion

434 byte By at 2007-11-25 5:21:30
Has anyone created a filter program to transform Project Export filesto a standardized format, allowing the result to be loaded into a 3rd partySource code browser? Obviously, this would be troublesome to loadback into Forte, but it would be a great gain in project management.I would also be ...

writing to a file

390 byte By at 2007-11-25 5:21:31
I have an application that is trying to write in a file.Is there a method that can force to go to the next lineif I wishes to do so?The problem that I am having is that everytime I try to writeinto the file, it writes continously.I tried WriteText & WriteLine method.Thanks,Herman ...

Calling COBOL from Forte

854 byte By at 2007-11-25 5:21:32
To:forte-users@Sagesoln.comcc:Subject: Calling COBOL from Forte We have a large complex COBOL program that we've purchased that wecurrently run on our mainframe system. We are in the process of re-writingour system into FORTE but we want to keep this COBOL program. This COBOLprogram would need ...

Documenting Events and Threads

2957 byte By at 2007-11-25 5:21:33
Earlier on this week I posted a question about documenting events andthreads in Forte'. I received several responses that reflected a range ofopinions and various ways of solving the problem. Thanks to all whoresponded. All the responses had good ideas, but no one response felt satisfying, ...

Year 2000 problem

965 byte By at 2007-11-25 5:21:34
I wonder if anyone has any suggestions for a solution to the following problem;We have lots of YY template year datafields to which we have added validation (which executes on focus loss of the field) to check whether or not the date should be converted to a 20XX or a 19XX.However, the ...

Method entry/exit

243 byte By at 2007-11-25 5:21:35
Hi all: I am trying to find out the best way to trace method entry and exitinformation for debugging. I am trying the debugger but I have not found howto capture and print this info.Any ideas?Thanks...

Alternative OO/Case combo from Forte/Express?

387 byte By at 2007-11-25 5:21:36
Forte is a great solution for the corporation able (and willing) to payForte for the technology. However, smaller companies, smaller products,and consultants can't always easily fund the sophistication of Forte.Is anyone aware of a lower-end OO/Case environement similar toForte/Express that ...

Executing independent Forte processes

1329 byte By at 2007-11-25 5:21:37
We're attempting to set up a scheduler(external of the Forte environment) for executing discrete Forte processes in a batch mode.My questions are:1.Is there a method for creating a distribution that does not have a client partition? Basically, we want to define aprocess to run on a server ...