imix | 1 Feb 2007 01:01
Picon

Re: Keeping a window in front within a process

Hi,

Have you tried the DRAG WINDOW COMMAND?

Find a window type that suits what you want to do ( execptt for the  
moving around issue)

create an invisible button that covers the entire background, place  
this behind all other objects on your form.

add this code..

Case of
	: (Form event=On Clicked )
		DRAG WINDOW
End case

Dave Metus

On 01/02/2007, at 8:28 AM, Chip wrote:

> I have 3 ideas -
>
> 1 - simpler - when the dialog (or other secondary window) for a  
> process
> is opened hide the primary window in this way the secondary window can
> never be pushed behind the primary window inside any given process.
>
> If you dont want to leave the primary window hidden - you could hide
> it, and start a timer to make it visible (but NOT bring it to the
(Continue reading)

Chuck Miller | 1 Feb 2007 02:06

Re: Not using a CASE STATEMENT in an object method?

I did not think that yours would It was a general warning, that the >  
the number of case elements, the longer it takes to validate the last  
one. Once you drop into a case none of the other items is checked.  
But all are checked until you d drop into a case. That is all I meant

Regards

Chuck
On Jan 31, 2007, at 5:02 PM, imix wrote:

> I am not understanding why you believe the CASE Statement would  
> have 1000 items to check? even if I had 1000's of form objects ( I  
> do have many object if you count all the pages)
>

------------------------------------------------------------------------ 
---
Chuck Miller                          Voice: (617) 739-0306
Informed Solutions, Inc.              Fax: (617) 232-1064
------------------------------------------------------------------------ 
----

**********************************************************************
Get under the hood... with 4D 2004's "How Do I?" examples.
http://www.4d.com/products/examples_underhood.html

4th Dimension Internet Users Group (4D iNUG)
FAQ:  <http://www.4d.com/support/faqnug.html>
Archive:  <http://dir.gmane.org/gmane.comp.lang.inug-4d.tech>
Wiki: <http://www.4dwiki.org/> 
(Continue reading)

Jean-Yves | 1 Feb 2007 02:20

RE: Finding Duplicate Records

Assuming that the issue that David raised is now fixed...
Another solution would be to use the quick report editor to track down your
duplicated records.

You can use the quick report dialog or write a method for that (offscreen
area).
Insert the fields that you want to compare as sorted columns.
If you want to see which records are duplicated, you can insert Record
Number([MyTable]) as formula.

You can use the Count feature to count the number of records that share the
same values.
If you do not want to see the record number, you can hide the Detail line in
order to make the report shorter. However, do not forget to display the
values of your breaks in your break levels.

You can save the result into a text file or into a basic xml file.
The quick report allows you to save as an HTML file. You can define a
template that will be like a XML file and generate that file. 

With that text file or xml file, you can easily know what values have been
duplicated and what are their record numbers.

J-Yves.

**********************************************************************
Get under the hood... with 4D 2004's "How Do I?" examples.
http://www.4d.com/products/examples_underhood.html

4th Dimension Internet Users Group (4D iNUG)
(Continue reading)

Christophe | 1 Feb 2007 02:12
Favicon

HTTPS Client?

Hi,

I'm faced with replacing the Deep Sky Technology component HTTP  
Client Deux (and the TCP Deux component its based on), since Deep Sky  
appears to have gone on haitus, or something.  Does anyone have any  
pointers to other HTTPS client implementations for 4D?  Many thanks!

**********************************************************************
Get under the hood... with 4D 2004's "How Do I?" examples.
http://www.4d.com/products/examples_underhood.html

4th Dimension Internet Users Group (4D iNUG)
FAQ:  <http://www.4d.com/support/faqnug.html>
Archive:  <http://dir.gmane.org/gmane.comp.lang.inug-4d.tech>
Wiki: <http://www.4dwiki.org/> 
Unsub:  mailto:  4D_Tech-off@...
**********************************************************************

imix | 1 Feb 2007 02:29
Picon

Re: Not using a CASE STATEMENT in an object method?

Thanks Chuck,

Dave Metus
On 01/02/2007, at 12:06 PM, Chuck Miller wrote:

> I did not think that yours would It was a general warning, that the  
> > the number of case elements, the longer it takes to validate the  
> last one. Once you drop into a case none of the other items is  
> checked. But all are checked until you d drop into a case. That is  
> all I meant
>
> Regards
>
> Chuck
> On Jan 31, 2007, at 5:02 PM, imix wrote:
>
>> I am not understanding why you believe the CASE Statement would  
>> have 1000 items to check? even if I had 1000's of form objects ( I  
>> do have many object if you count all the pages)
>>
>
>
>
> ---------------------------------------------------------------------- 
> -----
> Chuck Miller                          Voice: (617) 739-0306
> Informed Solutions, Inc.              Fax: (617) 232-1064
> ---------------------------------------------------------------------- 
> ------
>
(Continue reading)

Mehboob Alam | 1 Feb 2007 02:47
Picon
Favicon

Re: HTTPS Client?

Christophe,

I'm using cURL and 4D's Launch External Process with
reasonable success. There are other such third-party
options too.

Search for "curl" in the 4D Technotes section. Both
technotes are free to the public.

Just curious, what aspects of the DS component are you
using?

sincerely,
mehboob alam

"There cannot be a crisis next week. My schedule is already full." Henry Kissinger

**********************************************************************
Get under the hood... with 4D 2004's "How Do I?" examples.
http://www.4d.com/products/examples_underhood.html

4th Dimension Internet Users Group (4D iNUG)
FAQ:  <http://www.4d.com/support/faqnug.html>
Archive:  <http://dir.gmane.org/gmane.comp.lang.inug-4d.tech>
Wiki: <http://www.4dwiki.org/> 
Unsub:  mailto:  4D_Tech-off@...
**********************************************************************

Brendan Coveney | 1 Feb 2007 02:50

Re: HTTPS Client?

Christophe,

Another option would be to use 4D Internet Commands.

<http://www.4d.com/knowledgebase?CaseID=23225>

HTH

Brendan

> I'm using cURL and 4D's Launch External Process with
> reasonable success. There are other such third-party
> options too.
>
> Search for "curl" in the 4D Technotes section. Both
> technotes are free to the public.
>
>
>   

**********************************************************************
Get under the hood... with 4D 2004's "How Do I?" examples.
http://www.4d.com/products/examples_underhood.html

4th Dimension Internet Users Group (4D iNUG)
FAQ:  <http://www.4d.com/support/faqnug.html>
Archive:  <http://dir.gmane.org/gmane.comp.lang.inug-4d.tech>
Wiki: <http://www.4dwiki.org/> 
Unsub:  mailto:  4D_Tech-off@...
**********************************************************************
(Continue reading)

Spencer Hinsdale | 1 Feb 2007 03:43
Favicon

Re: Keeping a window in front within a process

On 1/31/2007 3:50 PM, "Bill Hutten" <bhutten@...> wrote:

> On Wed, 31 Jan 2007 11:08:18 -0800 hinsdale@... said:
> 
>> Bill,
>> 
>> I think you want a _floating_ window, which you do by putting a minus sign
>> in front of the window type.
> 
> Nope!  :)   We use floating windows plenty, but they're not what I want
> in this case.  A floating window will appear above the windows of /all/
> processes - I just want to be able to open a window (a dialog, say)
> overtop of another window in the same process, and have that dialog be
> (1) movable and resizable and (2) stay in front of it's parent window.
> And this has to happen while I can switch to windows in other processes...
> 
> I've not tried 2004 yet in this regard - perhaps the use of a sheet-
> style will resolve this...at least on the Mac.
> 
Bill,

Thanks for the explanation.  I was not grasping the idea of maintaining the
frontmost window within a backgrounded process. :)

I think sheet-style windows are modal. :(

So now I'm imagining the user goes from parent window, to child window, to
another process, then clicks back in the original parent window and you want
to bring the child window to the front.

(Continue reading)

Jörg Knebel | 1 Feb 2007 07:27
Picon

Re: Finding Duplicate Records


On 01/02/2007, at 9:24 AMGMT+11:00, Josh Fletcher (4D, Inc.) wrote:

> ALL RECORDS([MyTable])
> DISTINCT VALUES ([MyTable]myfield; myarray)
>
> If(Records in table([MyTable])>Size of array(myarray))
>    ` There are some dupes...now what?
> Else
>    ` You're good to go...
> End If
>
> This is certainly not a solution for Scott's original problem but I  
> thought perhaps this quick test might save some work down the road  
> if the likelihood of dupes is low.

In addition to this quick look up, what about if you set up 'myfield'  
as an Alpha 32 indexed(?) and put the 'MD5-summary' (using Robs(?)  
MD5 Plugin) of that fields.

1. Define the fields you want to be on your watch list e.g.
	[MyTable]Name
	[MyTable]Firstname
	[MyTable]DOB
	[MyTable]whatever ...

2. put all the content of the fields in a text variable after  
converting if necessary

3. during validation
(Continue reading)

Wright, Tony | 1 Feb 2007 08:44
Picon

RE: Finding Duplicate Records

Hi 

We have just had to do this with our system which is getting replaced soon

Let me know your email address and I will send you our method

Regards

Tony

-----Original Message-----
From: 4D_Tech@... [mailto:4D_Tech@...]On
Behalf Of Scott Szretter
Sent: 31 January 2007 19:52
To: 4D iNUG Technical
Subject: Finding Duplicate Records

Hi,

I was wondering if anyone out there might have a recommendation on 
how to find duplicate records in a table based on a chosen field in a 
very fast / efficient way.

For example, if I have an item tale, I want a list of records where 
the item number is the same in 2 or more records.   OR, I might want 
to use a different field (user selected).

I know about writing a method that loops through the records, sorts, 
compares as it goes, and adds the records to a set, but with 200,000 
records, this just is not practical.   Plus it is not generic, it 
(Continue reading)


Gmane