Yves Sabourin | 1 Jul 2005 01:10
Picon

Re: Sequence of actions in a button

The automatic action is always the last thing 4D will execute.

Yves Sabourin

Le Jeudi 30 juin 2005, à 03:56 , Nicolas JORE a écrit :

>> I cannot find the answer to the following question in the
>> documentation: If
>> a button is not only assigned a specific action, such as Accept, for
>> example, but also has an object method that specifies code to be 
>> executed
>> when form event = On clicked, which happens first, the Accept and its
>> consequences or the code in the object method? Can I assume that
>> the object
>> method code is executed before the Accept?
>
> I cannot give a hint on that subject but, to be on the safe side, every 
> time
> I come across that problem I use a button with no action and put the 
> ACCEPT
> command at the end of my code.
>
> That way I ensure that I control the saving/rejection of the record if
> something is wrong in my code.
>
> Regards,
>
> Nicolas JORE
>
>
(Continue reading)

Jack Harvey | 1 Jul 2005 01:18
Favicon

Re: Number formating problem when connecting via Citrix

Hi Dave,

I have seen similar problems on Windows machines.  Check the regional 
settings to make sure the Date, Time and Number formatting is setup as 
you would like for use with your database.  The Windows settings 
over-ride what you have setup in the forms.  On Macs, you should also 
check the Date and Time preferences -- as these can cause problems with 
date and time formatting.  I'm not sure about currency formatting on 
the Mac.

HTH,
Jack Harvey

On Jun 30, 2005, at 06:06 PM, David Nasralla wrote:

> Hello all,
>
> I have a database that has been running fine for some time. Recently
> we set up our Citrix server to help outside offices use the 4D server.
>
> The application runs fine, except when displaying numbers.
>
> If I have a value of 100 in a field and the formatting is $###,#00.00 
> (currency)
> I get $1.00.
>
> It happens all over the application, and only with the citrix 
> connections.
>
> The server is 4D 2004.1 on Mac OSX 10.3.9
(Continue reading)

Myles Wakeham | 1 Jul 2005 01:42

Re: Newbie Webservices Question

> On 30-Jun-2005 16:18:43, David wrote:
> I'm not sure if this is what you want, but this is from my webservice:
> 
> SOAP DECLARATION(atAssetsws;String array ;SOAP Output ;"InvArray")
> 
> It works fine for me - 4D 2004.1 - Mac Server 10.3.9

Thanks Dave.  I think you may have answered my question here.  I'm getting
confused between the return value of a method and the returned value of a
SOAP declaration.  I was thinking that the returning value has to be set as
a $0 argument, and that the SOAP DECLARATION statement was simply changing
the WSDL so that an external application could understand the name and type
of the $0 variable.

However if I am getting this right, the SOAP method returns its value into
whatever is declared as the SOAP Output value, right?  Therefore the 4D Text
Array type is 'legal tender' here.  And the $0 value is irrelevant.

Can you confirm I'm understanding this correctly?  

Thanks,
Myles

===============================
Myles Wakeham
Director of Engineering
Tech Solutions US, Inc.
(480) 451-7440
www.techsol.org 

(Continue reading)

David Adams | 1 Jul 2005 02:23
Picon

Re: Newbie Webservices Question

> Thanks Dave.  I think you may have answered my question here.  I'm getting
> confused between the return value of a method and the returned value of a
> SOAP declaration.  I was thinking that the returning value has to be set as
> a $0 argument, and that the SOAP DECLARATION statement was simply changing
> the WSDL so that an external application could understand the name and type
> of the $0 variable.
> 
> However if I am getting this right, the SOAP method returns its value into
> whatever is declared as the SOAP Output value, right?  Therefore the 4D Text
> Array type is 'legal tender' here.  And the $0 value is irrelevant.

A SOAP method may return one or more outputs and is not just limited
to a value that can fit in $0. You may return:

-- a normal $0 result.
-- a process variable
-- a process array

Pretty much all of the data types are supported, including BLOBs. You
can return three arrays as easily as one, you just need to make three
calls to SOAP DECLARATION.

It might be more helpful if the SOAP DECLARATION command were named
BIND 4D VALUE TO SOAP VALUE. Something like that... All SOAP
DECLARATION does in this case is::
-- help 4D figure out how to configure the automatic WSDL file
-- tells 4D which of the available values to include in a response

So, returning multiple arrays is really a snap. Just be sure to:
-- populate the arrays normally
(Continue reading)

Tim Nevels | 1 Jul 2005 03:12
Picon

Re: Number formating problem when connecting via Citrix


On Jun 30, 2005, at 6:18 PM, David Nasralla wrote:

> I have a database that has been running fine for some time. Recently
> we set up our Citrix server to help outside offices use the 4D server.
>
> The application runs fine, except when displaying numbers.
>
> If I have a value of 100 in a field and the formatting is $###,#00.00 
> (currency)
> I get $1.00.
>
> It happens all over the application, and only with the citrix 
> connections.
>
> The server is 4D 2004.1 on Mac OSX 10.3.9
> The citrix machine is (if I understand it correctly) is Metaframe 1.8
> for Windows 2004 service pack 4
> This happens with Macs running citrix client and PCs as well.  My Mac
> Citrix client application is vs 6.30.314
>
> Any direction would be appreciated.

Check the Windows system settings for number and date formatting on the 
Citrix machine.  That's the machine that is running 4D Client, so maybe 
the system formatting is set to something weird and 4D Client is 
picking it up -- like it does for date formatting.

It's a long shot, but it's the first thing that came to mind.

(Continue reading)

Tim Nevels | 1 Jul 2005 03:59
Picon

Re: Platform Compatibility settings


On Jun 30, 2005, at 6:18 PM, Joe Pieper wrote:

> Using 4D 2004.1 (& 2004.2) on Windows XP
>
> When I go to the Edit menu and choose Preferences then select 
> Application :
> Compatibility in one of my projects the Platform Compatibility section 
> is
> missing.  I've compared to another structure file for another project 
> and
> it's there.  Is there a setting somewhere to make this 
> appear/disappear?

This is the new behavior of the 4D Preferences window.  If a preference 
is not "appropriate" for the structure file, it is invisible in the 
Preferences window.  This relates to 4D structure files that were 
upgraded to 4D 2004 or created new in 4D 2004.  Some preferences set 4D 
to be compatible with older versions of 4D.  What this basically means 
is that when you create a new structure with 4D 2004.2, some 
preferences are not needed.  So 4D doesn't display them and let you 
access the compatibility feature.

In your example, you can no longer set the platform for a database.  4D 
always uses the default platform -- Windows 2000/XP or Mac OS X.  So 
newly created structure files with 4D 2004.2 don't have this 
preference.  If you open a structure file created with an earlier 
version of 4D, the preference is available.

Tim
(Continue reading)

Julio Carneiro | 1 Jul 2005 03:07

Re: Newbie Webservices Questio

Myles,

In 4D, simply declare your arrays as usual and indicate the proper  
type in the SOAP DECLARATION (text array, longint array, ...).
I have it working with Excel and VB .NET.
If you are sending arrays in your soap call (receiving arrays in 4D),  
they must be declared in the Compiler_WEB method or 4D will not  
populate them.

cheers,
--
*
* Julio Carneiro

On 30/06/2005, at 20:18, Myles Wakeham wrote:

> I am developing an application in Delphi that communicates to a 4D Web
> application via SOAP.  The 4D application is the 'server' in this  
> case, and
> Delphi is the client.
>
> I have it working perfectly with a simple 2 arguments IN, 1 result  
> OUT.
>
> However I now want to get it to return a number of arrays of  
> arguments.
> According to the SOAP standard, from what I have read, I should be  
> able to
> support the ARRAY data type, but I am unsure of how you set 4D up  
> to return
(Continue reading)

David Nasralla | 1 Jul 2005 06:17
Picon

Re: Number formating problem when connecting via Citrix

On 6/30/05, Jack Harvey <lists@...> wrote:
> I have seen similar problems on Windows machines. Check the regional
> settings to make sure the Date, Time and Number formatting is setup as
> you would like for use with your database. The Windows settings
> over-ride what you have setup in the forms. 

Thanks Tim and Jack. I am having the problem even with a new database. (I 
created a new database and used the built in template called invoicing). 
This makes me think there is not much I can do on the 4D side. 

I find citrix a little confusing at times. Correct me if I'm wrong, but 
every Citrix connection is new instance of Windows 2000 on the Citrix 
server. When I connect to the Citrix server I can go to the control panel 
called Regional settings. I don't see anything strange there. Is there 
anywhere else I should check?

(BTW - 4D Windows 2000 clients connecting without Citrix do not have this 
problem.) I am wondering if I should reinstall 4D Client on the Citrix 
machine.

Any other suggestions would be appreciated.

dave
--------
Dave Nasralla
Clean Air Engineering
**********************************************************************
4th Dimension Internet Users Group (4D iNUG)
FAQ:        http://www.pdm-inc.com/iNUG/faq.htm
Admin:      mailto:iNUG@...
(Continue reading)

Koen Van Hooreweghe | 1 Jul 2005 09:24
Picon
Favicon

Re: 4DIC TCP_ReceiveBlob in 6.5.8?


Op 30-jun-05 om 22:53 heeft Dan Babcock het volgende geschreven:

> I just discovered that TCP_ReceiveBlob isn't in 4DIC in version 6.5.x. 
>  Is it possible to use a version of 4DIC from 6.8 with 4D 6.5?
>
> Anyone have a home grown equivalent for 6.5.8?

Dan,

I have been faced with the same problem.
I am successfully using 4D internet commands version 6.7.1 with 4D 
version 6.5.9r2 on MacOS (9 and Classic), in development as well as 
compiled+merged and server.

I've seen some crashing problems when trying different combinations of 
4DIC and 4D 6.5.x, but the above mentioned works fine.

HTH

Koen
--------------------
Compass bvba
Koen Van Hooreweghe
Kloosterstraat 65
9910 Knesselare
Belgium
bvbaCompass@...

**********************************************************************
(Continue reading)

kwhite | 1 Jul 2005 11:00
Picon
Favicon

Re: SRP - Print to disk


Doug

SRP does this when it reaches a page break.

It's a bug, unless it's been fixed in a later release (Mike?).

We don't bother with SRP's Print to Disk feature, if someone wants a custom
export, we code it and deploy it with FootRunner.

If it's not fixed in a later release, then I wouldn't mind seeing this fixed.

Best Regards

Keith White
Synergist Express Ltd.

**********************************************************************
4th Dimension Internet Users Group (4D iNUG)
FAQ:        http://www.pdm-inc.com/iNUG/faq.htm
Admin:      mailto:iNUG@...
Unsub:      mailto:4D_Tech-off@...
**********************************************************************


Gmane