CONNECTION BROKEN

2017-02-05 Thread stardata.info

Hi All,

I have one 4D V13 client-server application on windows.
Sometime i have a CONNECTION BROKEN error on the client.
The statistics of ping give to me a max time=10ms and not packet lost.

Someone have a suggestions?

Thanks
Ferdinando

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Method caller

2017-01-21 Thread stardata.info

hi all

I work with 4D V13.2 on windows.
I use on error call for trap the errors, and i have a question.
Is possible to know the method that have called the method of error 
management?
Into the method, i write the error in one log file, and i have need to 
know the method that have called the error method management.


Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Method caller

2017-01-21 Thread stardata.info


I know that thare are V13.6 that is better, but i have some 
installations and i need to test the conversion in one appropriated moment.

However i think to convert at V 14 or V15 directly

Thanks
/Ferdinando

/

Il 21/01/2017 21:00, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 5
Date: Sat, 21 Jan 2017 10:22:31 -0500
From: Jeffrey Kain<jeffrey.k...@gmail.com>
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: Re: Method caller
Message-ID:<6bdc6e1d-25d6-43f1-b8bf-c69167f1b...@gmail.com>
Content-Type: text/plain;   charset=us-ascii

http://doc.4d.com/4Dv13/4D/13.6/Method-called-on-error.301-2502649.en.html  
<http://doc.4d.com/4Dv13/4D/13.6/Method-called-on-error.301-2502649.en.html>

Why 13.2? Sooo many bugs.  It's a free upgrade to 13.6 which is very stable.



On Jan 21, 2017, at 10:15 AM, stardata.info<stard...@stardata.info>  wrote:

I work with 4D V13.2 on windows.
I use on error call for trap the errors, and i have a question.
Is possible to know the method that have called the method of error management?
Into the method, i write the error in one log file, and i have need to know the 
method that have called the error method management.




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: LOST INDEX

2017-01-18 Thread stardata.info

I dont remember of to have cancelled one indexing


Il 18/01/2017 17:23, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 10
Date: Wed, 18 Jan 2017 16:37:28 +0100
From: Herr Alexander Heintz
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: Re: LOST INDEX
Message-ID:<639c53a8-e8c4-443d-8638-cb57ba691...@heintz.net>
Content-Type: text/plain; charset=utf-8


I have a 4d application in V13.2 on windows.
I notice that in the structure database i have lost all the index settings in 
my tables.
So all the indexed fields now are not indexed.
I haven't change anything, how is possible this?

Have you canceled an indexing run for a datafile?
This will remove all indexes in the structure, at least it used to last I 
checked…


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

LOST INDEX

2017-01-18 Thread stardata.info

Hi all,

I have a 4d application in V13.2 on windows.
I notice that in the structure database i have lost all the index 
settings in my tables.

So all the indexed fields now are not indexed.
I haven't change anything, how is possible this?

Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Application

2016-10-05 Thread stardata.info

Thanks

Il 05/10/2016 11:57, Benedict, Tom ha scritto:


Ferdinando asks:

>

>Exist one command that i can to use for understand if i use a stand alone application or a 
server connection?


>

Check out the  Application type  command.

http://www.4d.com/docs/CMU/CMU00494.HTM

I believe that a standalone application would be 0 (4D local mode)

HTH,

Tom Benedict

Optum


This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Questionary into the mail message

2016-11-08 Thread stardata.info

Hi All,

In one 4d application i need to do these things:

1 - With 4D i send an email with an HTML code included with some questions.
2 - The user open the mail with the his mail manager application, 
compile this questions and send the mail answer that contain the 
questionary
3 - In 4D i need to receve this email and take the answers for save the 
answers into the database.


Is possibile to do this on 4D?


Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Progressive slow

2016-11-07 Thread stardata.info

Hi Chip,

At the end of the process that is slow after some time, i already do the 
your suggestions.


Thanks
/Ferdinando/

Il 07/11/2016 16:02, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 12
Date: Mon, 7 Nov 2016 10:02:35 -0500
From: Chip Scheide<4d_o...@pghrepository.org>
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: RE: Progressive slow
Message-ID:<20161107100235041589.9243f...@pghrepository.org>
Content-Type: text/plain; charset=us-ascii

Hi Ferdindao,

I do not know what your process does. - but -
It does sound like there is an issue with memory.
Others have responded with ideas about changing cache settings, I would
follow there suggestions, too.

As I suggested, below, it is possible to create a memory leak - a
situation where 4D (your application) requests memory form 4D/system,
does stuff, finishes but does NOT return all of the requested memory to
4D/System. This is called a memory leak.

On a Mac, Safari and Firefox (windows too?) both have issues like this.
ex: open one of these programs memory usage is say 100 megs
You open 10, or 30, or 50 tabs
close all the tabs
memory usage might be 250 megs

repeat this enough times and your system slows down, or the application
crashes.

for 4D, as I said below, you need to make sure at the end of each
process (as it quits) the following items are cleared/emptied/removed
from memory; this may not be exhaustive, and if not others i'm sure
will chime in:)
(it is often best to clear these items as you finish using them, rather
then waiting until the end)
- sets
- selections
- arrays (locals are supposed to be cleared for you)
- Lists
- hierarchal lists (be sure to clear lowest level to highest)
- named selections
- and turn off Event, and Err call methods

if you have done the cache changes others suggest, and insure that all
of the above items are cleared, I would expect your slow downs to go
away.


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Progressive slow

2016-11-08 Thread stardata.info

How can do the Info-report?

Thanks

Ferdinando


Il 08/11/2016 13:15, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 1
Date: Tue, 8 Nov 2016 08:11:11 +
From: "Epperlein, Lutz (agendo)"
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: RE: Progressive slow
Message-ID:<26ea80a7397b4535b5611885808e2...@vex1a.init.de>
Content-Type: text/plain; charset="utf-8"

I'm not sure, but did you send us a report produced by the Info-Report 
component?
I would recommend that you show us the report at startup and a second one when 
the application slows down. That means you have to set a rather short interval 
in the component.
Better yet, you contact the 4D support and show them these reports.

Regards
Lutz


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Damaged database

2016-11-10 Thread stardata.info

Hi All,

I have these two error in the log:

 * Problem on the database : Last database flush did not complete. (1;139)
 * Problem on index definition [index #6] : Checksum is invalid (16;66)


Someone have suggestions?

Thanks
/Ferdinando/
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Damaged database

2016-11-10 Thread stardata.info

Hi Neil,

I use the same application on more than 20 pc that are equal of this 
that give the problems.


The application have used for around one year without problems, i have 
this problems only fron two months.



Thanks

Ferdinando


Il 10/11/2016 21:00, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 3
Date: Thu, 10 Nov 2016 15:26:57 +
From: "Dennis, Neil"
To:"4d_tech@lists.4d.com"  <4d_tech@lists.4d.com>
Subject: RE: Damaged database
Message-ID:
<838740227206e84f82973ff5d9ea59b74a761...@wsys6041a.umb.corp.umb.com>
Content-Type: text/plain; charset="utf-8"


>The Windows is 7 and the application is in single mode.

Check this against the certification chart from 4Ds website for the version of 
4D you are using. They are found at the bottom of each tab in the download 
sectionhttp://www.4d.com/downloads/products.html



Neil


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Damaged database

2016-11-10 Thread stardata.info

Tim,

Below the my answers.


Il 10/11/2016 21:00, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 10
Date: Thu, 10 Nov 2016 20:22:22 +0100
From: Timothy Penner
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: RE: Damaged database
Message-ID: <889B5CE1FCB86B4CA53DB7E91109DFCE03FDF9B3211D@4d-xn1-exch>
Content-Type: text/plain; charset="utf-8"

Some comments/suggestions:


>In one my customer that use one application developed in 4D V13.2

You are using a very old release of an unsupported product (v13 is no longer 
supported nor updated); I would suggest that you, at the very least, update to 
the final release of v13.6 so that you can take advantage of the final set of 
bugfixes that were applied to that product line. It is very possible that you 
are hitting a bug that is already solved in the final release, for example if 
the issue is related to unique fields that do not have an index, that would 
have been addressed in the final releases of 13.5 and 13.6.
In the next future yes, but i have around 25 same applications that run 
on the same hardware without problems.



>There are not power failures or strange operation that the user do.
>The user close the application and some times when reopen have this message.

Maybe they leave 4D open when the OS does an automatic reboot, perhaps for 
Windows Update...
Or maybe it crashes on exit, you could check the Event Viewer to see if there 
are any crash events.
No, i have the log in my application, and have read that the customer 
close the application without problems.

When restart sometimes have this message.



>When i do a recover operation, i see that there are a message: "some 
anomalies" , so i must to do the operation one second time.

When the issue happens and it reports Anomalies have been detected, you should 
open the log and look at the errors.
Keep a log of the errors to determine if it is the same errors coming back each 
time or something different.
You may find a clue to the underlying cause by cross checking the anomalies for 
each of the times this issue occurs.

How i can read this?


Kind Regards,

Tim PENNER


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Damaged database

2016-11-10 Thread stardata.info

Hi Tim,

Where i find the Event Viewer?

Thanks
/Ferdinando/

Il 11/11/2016 01:09, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 11
Date: Thu, 10 Nov 2016 23:24:52 +0100
From: Timothy Penner
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: RE: Damaged database
Message-ID: <889B5CE1FCB86B4CA53DB7E91109DFCE03FDF9B32124@4d-xn1-exch>
Content-Type: text/plain; charset="utf-8"


>  * Problem on the database : Last database flush did not complete. (1;139)

This is usually only seen when the application crashed during a flush.
Maybe your code that logged the successful quit had already executed when 4D 
crashed.
You should check the Event Viewer to see if there are any crash events.


>  * Problem on index definition [index #6] : Checksum is invalid (16;66)

Damaged index, could be related to the crash.

You should update from v13.2 to the final version of 4D v13.6 before attempting 
anything else;
at least update the instance that you are having this repeated issue with...

Consider the following pages of bug fixes:
ftp://ftp.4d.com/ACI_PRODUCT_REFERENCE_LIBRARY/Bug_Fix_Lists/Version_13/v13.3/Fixed_Bugs_4D_13.3.pdf  
ftp://ftp.4d.com/ACI_PRODUCT_REFERENCE_LIBRARY/Bug_Fix_Lists/Version_13/v13.4/Fixed_Bugs_4D_13.4.pdf  
ftp://ftp.4d.com/ACI_PRODUCT_REFERENCE_LIBRARY/Bug_Fix_Lists/Version_13/v13.5/Fixed_bugs_4D_v13.5.pdf  
ftp://ftp.4d.com/ACI_PRODUCT_REFERENCE_LIBRARY/Bug_Fix_Lists/Version_13/v13.6/Fixed_Bugs_4D_13.6.pdf

^ quite a few bug fixes were made after 13.2...

Maybe something like ACI0082361 is biting you, which says: " In some case, 4D 
crashes when quiting the application after using listbox with named selection."

-Tim


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Damaged database

2016-11-11 Thread stardata.info

This is the log error in the windows event.

+ System

  - Provider

   [ Name]  Application Error

  - EventID 1000

   [ Qualifiers]  0

   Level 2

   Task 100

   Keywords 0x80

  - TimeCreated

   [ SystemTime]  2016-11-10T13:38:56.0Z

   EventRecordID 11229

   Channel Application

   Computer AIS-PC

   Security


- EventData

   Ais.exe
   13.2.122.395
   50a625d7
   MSVCR90.dll
   9.0.30729.4940
   4ca2ef57
   c417
   0006ccb5
   1818
   01d23b57c1a58aec
   C:\Ais\Applicazione\Ais.exe
C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_50916076bcb9a742\MSVCR90.dll 


   0672223b-a74b-11e6-8194-000854704e09

This crash during the flush of the buffer, after that the application close.

Someone know because?

Thanks
/Ferdinando/


Il 10/11/2016 22:17, stardata.info ha scritto:


Hi All,

I have these two error in the log:

  * Problem on the database : Last database flush did not complete.
(1;139)
  * Problem on index definition [index #6] : Checksum is invalid (16;66)


Someone have suggestions?

Thanks
/Ferdinando/


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Damaged database

2016-11-10 Thread stardata.info

Hi All,

In one my customer that use one application developed in 4D V13.2 from 
two months, i have two or tre time a message for damage database.

" The database is damaged, it will opened in maintenance mode "

I open in MCS, repair and restart, someone know if i must do other 
things for solve this periodical issue?


There are not power failures or strange operation that the user do.
The user close the application and some times when reopen have this message.

I have other installations with the same application but no problems in 
the others.


Someone have a suggestions.

Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Damaged database

2016-11-10 Thread stardata.info

Hi,

When i do a recover operation, i see that there are a message: "some 
anomalies" , so i must to do the operation one second time.


Thanks

Ferdinando

Il 10/11/2016 16:11, stardata.info ha scritto:

Hi All,

In one my customer that use one application developed in 4D V13.2 from 
two months, i have two or tre time a message for damage database.

" The database is damaged, it will opened in maintenance mode "

I open in MCS, repair and restart, someone know if i must do other 
things for solve this periodical issue?


There are not power failures or strange operation that the user do.
The user close the application and some times when reopen have this 
message.


I have other installations with the same application but no problems 
in the others.


Someone have a suggestions.

Thanks
Ferdinando


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Damaged database

2016-11-10 Thread stardata.info

Hi Neil,

The Windows is 7 and the application is in single mode.

Thanks
/Ferdinando/

Il 10/11/2016 16:18, 4d_tech-requ...@lists.4d.com ha scritto:

essage: 13
Date: Thu, 10 Nov 2016 15:14:22 +
From: "Dennis, Neil"
To:"4d_tech@lists.4d.com"  <4d_tech@lists.4d.com>
Subject: RE: Damaged database
Message-ID:
<838740227206e84f82973ff5d9ea59b74a761...@wsys6041a.umb.corp.umb.com>
Content-Type: text/plain; charset="utf-8"


>I open in MCS, repair and restart, someone know if i must do other things for 
solve this periodical issue?

Examine the network, and computer memory and drive, and routers, look for any 
errors or failures.
Make sure the OS is compatible with the version of 4D both on server and client

Neil


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Progressive slow

2016-11-07 Thread stardata.info

Chip,

The process do always the same operations.
The user open the process, do a series of query and close the process.
There is a counter that show the progression of the work, and after some 
times the count down is slow.


The application run with 4D V13.3 is on client server mode, and is compiled.

Thanks

Ferdinando

Il 07/11/2016 21:00, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 4
Date: Mon, 7 Nov 2016 11:20:54 -0500
From: Chip Scheide<4d_o...@pghrepository.org>
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: RE: Progressive slow
Message-ID:<20161107112054884968.76335...@pghrepository.org>
Content-Type: text/plain; charset=us-ascii

It is likely then that one or more cache settings need to be changed.

although there is one more thing that could be a cause of a memory leak
- Objects (not sure which version of 4D you are using). I have not
worked with these yet, but I can see where they could be a possible
memory leak.

Other than that - cache settings and/or cache flushing.

if the flush rate (time between flushes is too long) when the disk cash
*is*  flushed it could take some time, and as I remember this is a
locking action (i.e. it stops other activities until it completes).

---
Are you*sure*  that it is the query that is slow?
could it be that you are loading progressively more data, and so the
process looks like it is slowing down.

i.e.
- you do a query
- get some result records
- do something with them, BUT forget to set a flag that the action has
already occurred.
Later
- you do the same query
- get the original result records + new records
- do something with them, and still forget to set a flag that the
action has already occurred.

repeat, again and again with the results getting larger each time. Then
the action which might have acted on 10 records to start, is now acting
on thousands - appearing - to slow down.


On Mon, 7 Nov 2016 16:28:51 +0100, stardata.info wrote:

>Hi Chip,
>
>At the end of the process that is slow after some time, i already do
>the your suggestions.
>
>Thanks
>/Ferdinando/


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: encapsulate HTML

2016-11-16 Thread stardata.info

David,

I have received the email.
Tomorrow i do some tests.

I suppose that you use the web server part of 4D for do this, one 
possible problem is that in the my application is one server that are 
not opened on Internet.


Thanks
/Ferdinando/

Il 16/11/2016 21:09, davidi...@gmail.com ha scritto:


Ferdinando,

Please let me know when you have received the email with the link, and 
tested it.


Thanks!

David Ringsmuth

*From: *stardata.info <mailto:stard...@stardata.info>
*Sent: *Wednesday, November 16, 2016 1:35 PM
*To: *davidi...@gmail.com <mailto:davidi...@gmail.com>; 
4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>

*Subject: *Re: encapsulate HTML

Many thanks David

Il 16/11/2016 20:16, davidi...@gmail.com <mailto:davidi...@gmail.com> 
ha scritto:


Ferdinando,

I’m going to set you up an Account record in my customer’s system
and send you the link.

I can also send you the Active4D web scripts that display and read
the posted result.

Is that OK?

David

Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986>
    for Windows 10

*From: *stardata.info <mailto:stard...@stardata.info>
*Sent: *Wednesday, November 16, 2016 11:54 AM
*To: *davidi...@gmail.com <mailto:davidi...@gmail.com>;
4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>
*Subject: *Re: encapsulate HTML

David,

Thanks for suggestion.

You know a demo that i can see?

Thanks

Ferdinando

Il 16/11/2016 18:35, davidi...@gmail.com
<mailto:davidi...@gmail.com> ha scritto:

Ferdinando,

To receive the answers you’ll need 4D to access the submitted
form variables. 4D will receive the posted form using a web
server (4D native, Active4D, NTK). You’ll include a hidden
input value in the form with a UUID as Lee Hinde said. This is
your key to match to a record to store the form input values.

Your “submit” button will post the form to your 4D web server.

You’ll have to learn a little HTML, and you’ll learn how to
read the results of the “post”ed form.

This kind of thing is very easy for 4D types that have been
working with web for a while.

Another way:

I just wrote an email html formed in 4D Write, with a link and
a UUID that when the user clicks on the email link, they go to
a form published by 4D, which they complete and save. The UUID
makes it possible to match the email recipient to record in
the database. The embedded URL in the 4D Write document,
converted to HTML, has “#” in it that I replace string to
the UUID value.

David Ringsmuth

Sent from Mail
<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

*From: *stardata.info <mailto:stard...@stardata.info>
*Sent: *Wednesday, November 16, 2016 8:32 AM
*To: *davidi...@gmail.com <mailto:davidi...@gmail.com>;
4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>
*Subject: *Re: encapsulate HTML

Davi,

The issue is know how to do for receive the answers included
into the mail that return back

Thanks

Ferdinando

Il 16/11/2016 15:27, davidi...@gmail.com
<mailto:davidi...@gmail.com> ha scritto:

Ferdinando,

I have not done this in an email, but you can try putting
an iFrame in your html email that references a form
delivered by your 4D system.

Hope that helps!

David Ringsmuth

Sent from Mail
<https://go.microsoft.com/fwlink/?LinkId=550986> for
Windows 10

*From: *stardata.info <mailto:stard...@stardata.info>
*Sent: *Wednesday, November 16, 2016 8:24 AM
*To: *4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>
*Subject: *encapsulate HTML

Hi All,

Someone know how is possible to encapsulate one
questionary in HTML in email

body, and to receive the answer's and take the answers in 4D?

Thanks

Ferdinando


**

4D Internet Users Group (4D iNUG)

FAQ: http://lists.4d.com/faqnug.html

Archive: http://lists.4d.com/archives.html

Options: http://lists.4d.com/mailman/options/4d_tech

Unsub: mailto:4d_tech-unsubscr...@lists.4d.com


**



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: encapsulate HTML

2016-11-16 Thread stardata.info

Many thanks David


Il 16/11/2016 20:16, davidi...@gmail.com ha scritto:


Ferdinando,

I’m going to set you up an Account record in my customer’s system and 
send you the link.


I can also send you the Active4D web scripts that display and read the 
posted result.


Is that OK?

David

Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for 
Windows 10


*From: *stardata.info <mailto:stard...@stardata.info>
*Sent: *Wednesday, November 16, 2016 11:54 AM
*To: *davidi...@gmail.com <mailto:davidi...@gmail.com>; 
4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>

*Subject: *Re: encapsulate HTML

David,

Thanks for suggestion.

You know a demo that i can see?

Thanks

Ferdinando

Il 16/11/2016 18:35, davidi...@gmail.com <mailto:davidi...@gmail.com> 
ha scritto:


Ferdinando,

To receive the answers you’ll need 4D to access the submitted form
variables. 4D will receive the posted form using a web server (4D
native, Active4D, NTK). You’ll include a hidden input value in the
form with a UUID as Lee Hinde said. This is your key to match to a
record to store the form input values.

Your “submit” button will post the form to your 4D web server.

You’ll have to learn a little HTML, and you’ll learn how to read
the results of the “post”ed form.

This kind of thing is very easy for 4D types that have been
working with web for a while.

Another way:

I just wrote an email html formed in 4D Write, with a link and a
UUID that when the user clicks on the email link, they go to a
form published by 4D, which they complete and save. The UUID makes
it possible to match the email recipient to record in the
database. The embedded URL in the 4D Write document, converted to
HTML, has “#” in it that I replace string to the UUID value.

David Ringsmuth

Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986>
for Windows 10

*From: *stardata.info <mailto:stard...@stardata.info>
*Sent: *Wednesday, November 16, 2016 8:32 AM
*To: *davidi...@gmail.com <mailto:davidi...@gmail.com>;
4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>
*Subject: *Re: encapsulate HTML

Davi,

The issue is know how to do for receive the answers included into
the mail that return back

Thanks

Ferdinando

Il 16/11/2016 15:27, davidi...@gmail.com
<mailto:davidi...@gmail.com> ha scritto:

Ferdinando,

I have not done this in an email, but you can try putting an
iFrame in your html email that references a form delivered by
your 4D system.

Hope that helps!

David Ringsmuth

Sent from Mail
<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

*From: *stardata.info <mailto:stard...@stardata.info>
*Sent: *Wednesday, November 16, 2016 8:24 AM
*To: *4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>
*Subject: *encapsulate HTML

Hi All,

Someone know how is possible to encapsulate one questionary in
HTML in email

body, and to receive the answer's and take the answers in 4D?

Thanks

Ferdinando

**

4D Internet Users Group (4D iNUG)

FAQ: http://lists.4d.com/faqnug.html

Archive: http://lists.4d.com/archives.html

Options: http://lists.4d.com/mailman/options/4d_tech

Unsub: mailto:4d_tech-unsubscr...@lists.4d.com

**



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: encapsulate HTML

2016-11-17 Thread stardata.info

Hi,

Using the link, i need to 4D WEB APPLICATION SERVER.

Thanks
Ferdinando

Il 17/11/2016 10:05, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 6
Date: Thu, 17 Nov 2016 09:51:03 +1100
From: Sujit Shah
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: Re: encapsulate HTML
Message-ID:

encapsulate HTML

2016-11-16 Thread stardata.info


Hi All,

Someone know how is possible to encapsulate one questionary in HTML in email
body, and to receive the answer's and take the answers in 4D?

Thanks
Ferdinando

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: encapsulate HTML

2016-11-16 Thread stardata.info

David,

Thanks for suggestion.

You know a demo that i can see?

Thanks

Ferdinando


Il 16/11/2016 18:35, davidi...@gmail.com ha scritto:


Ferdinando,

To receive the answers you’ll need 4D to access the submitted form 
variables. 4D will receive the posted form using a web server (4D 
native, Active4D, NTK). You’ll include a hidden input value in the 
form with a UUID as Lee Hinde said. This is your key to match to a 
record to store the form input values.


Your “submit” button will post the form to your 4D web server.

You’ll have to learn a little HTML, and you’ll learn how to read the 
results of the “post”ed form.


This kind of thing is very easy for 4D types that have been working 
with web for a while.


Another way:

I just wrote an email html formed in 4D Write, with a link and a UUID 
that when the user clicks on the email link, they go to a form 
published by 4D, which they complete and save. The UUID makes it 
possible to match the email recipient to record in the database. The 
embedded URL in the 4D Write document, converted to HTML, has “#” 
in it that I replace string to the UUID value.


David Ringsmuth

Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for 
Windows 10


*From: *stardata.info <mailto:stard...@stardata.info>
*Sent: *Wednesday, November 16, 2016 8:32 AM
*To: *davidi...@gmail.com <mailto:davidi...@gmail.com>; 
4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>

*Subject: *Re: encapsulate HTML

Davi,

The issue is know how to do for receive the answers included into the 
mail that return back


Thanks

Ferdinando

Il 16/11/2016 15:27, davidi...@gmail.com <mailto:davidi...@gmail.com> 
ha scritto:


Ferdinando,

I have not done this in an email, but you can try putting an
iFrame in your html email that references a form delivered by your
4D system.

Hope that helps!

David Ringsmuth

Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986>
for Windows 10

*From: *stardata.info <mailto:stard...@stardata.info>
*Sent: *Wednesday, November 16, 2016 8:24 AM
*To: *4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>
*Subject: *encapsulate HTML

Hi All,

Someone know how is possible to encapsulate one questionary in
HTML in email

body, and to receive the answer's and take the answers in 4D?

Thanks

Ferdinando

**

4D Internet Users Group (4D iNUG)

FAQ: http://lists.4d.com/faqnug.html

Archive: http://lists.4d.com/archives.html

Options: http://lists.4d.com/mailman/options/4d_tech

Unsub: mailto:4d_tech-unsubscr...@lists.4d.com

**



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D Web Application

2016-11-18 Thread stardata.info

Hi,

I can use 4D Web Application Expansion even with a stand alone compiled 
4d application?


Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Progressive slow

2016-11-01 Thread stardata.info

Hi Lutz,

I understand your suggestion, but in task manager the ram used is only 
1,06 Gb.


Thanks
/Ferdinando/

Il 01/11/2016 15:43, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 9
Date: Tue, 1 Nov 2016 08:07:20 +
From: "Epperlein, Lutz (agendo)"
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: RE: Progressive slow
Message-ID:<3854989ef57545d1addb31656f14c...@vex1a.init.de>
Content-Type: text/plain; charset="utf-8"

  

>Db is  4.716.737 Kb
>
>Ram 4GB

This explains all. What see is typical behavior of an app running on a machine 
with low memory. In the beginning all is well, but after a time the physical 
RAM is full and swapping begins.


>" How much assigned to 4D?"  Where i can see this?

Don't worry about that. Give your machine more RAM, at least 8GB.

Regards
Lutz



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Progressive slow

2016-10-28 Thread stardata.info

Hi All,

In one 4D V13.3 application in client server on windows, from some time, 
i notice that some query after some hours of use become slow, if i close 
and reopen the application are new fast.


The database is great

Someone have a suggestion for solve?

Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Progressive slow

2016-10-28 Thread stardata.info

Hi All,

In one 4D V13.3 application in client server on windows, from some time, 
i notice that some query after some hours of use become slow, if i close 
and reopen the application are new fast.


The database is great

Someone have a suggestion for solve?

Thanks
Ferdinando

Il 28/10/2016 21:00, 4d_tech-requ...@lists.4d.com ha scritto:

Send 4D_Tech mailing list submissions to
4d_tech@lists.4d.com

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.4d.com/mailman/listinfo/4d_tech
or, via email, send a message with subject or body 'help' to
4d_tech-requ...@lists.4d.com

You can reach the person managing the list at
4d_tech-ow...@lists.4d.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of 4D_Tech digest..."


Today's Topics:

1. Re: Apple Agrees with 4D (Douglas Cryer)
2. Re: Apple Agrees with 4D (Peter Jakobsson)
3. Re: How do you zip a directory using 4D? (Kirk Brooks)


--

Message: 1
Date: Fri, 28 Oct 2016 13:50:09 +0100
From: Douglas Cryer 
To: "4d_tech@lists.4d.com" <4d_tech@lists.4d.com>
Subject: Re: Apple Agrees with 4D
Message-ID: 
Content-Type: text/plain;   charset="UTF-8"

Peter,

So are 4D going to provide us with the tools to populate this new window or is 
some clever developer going to provide us with a plug-in?

I may have miss-understood the whole thing but it seems that unless we have 
some access to the touch bar then in actual fact 4D will not agree with Apple ☺

Regards,  Dougie


telekinetix Limited- J. Douglas Cryer
Phone : 01234 761759  Mobile : 07973 675 218
2nd Floor Broadway House, 4-6 The Broadway, Bedford MK40 2TE
Email : jdcr...@telekinetix.com  Web : http://www.telekinetix.com







--

Message: 2
Date: Fri, 28 Oct 2016 15:38:01 +0200
From: Peter Jakobsson 
To: 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: Apple Agrees with 4D
Message-ID: <7ee2ad5e-8583-4a1d-92d0-23fb8ee3a...@netkelvin.com>
Content-Type: text/plain;   charset=utf-8



I may have miss-understood the whole thing but it seems that unless we have 
some access to the touch bar then in actual fact 4D will not agree with Apple ☺

Good point Dougie.

But I see that strip thing as just being an enhancement of the keyboard and 
mouse inputs. So, it follows that 4D will give us access to the scope of  the 
“strip”’s feature set as is warranted by its high level environment. Look at 
the trackpad for precedents - we don’t have access to all sorts of multi-touch 
input modes and fancy swiping tricks, but we can associate a click or a drag 
with an active form object such as a button.

Similarly, with the “strip” I imagine we’ll get minimal support simply by 
associating a function key with an object in the “Shortcut” property of a 
button. The paradigm could be extended (again, using the “Shortcut” property) 
to thermometers and dials which could be hidden and used to drive some other 
dynamic aspect of the form.

So I can see ways that 4D could support this without too much platform-specific 
malarkey (which is something they hate, isn’t it). For example, we never got 
those nice Mac-specific toolbar windows which to me would have been utopian. 
However, I see the “strip” as being possibly easier to accommodate being that 
it has existing hardware analogues (like the FN keys).

Peter



--

Message: 3
Date: Fri, 28 Oct 2016 08:09:34 -0700
From: Kirk Brooks 
To: 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: How do you zip a directory using 4D?
Message-ID:

RE: Progressive slow

2016-11-01 Thread stardata.info


After the restart of the 4D Application all work normally, after some 
time expecially the query operations are more slow of when the 4D 
application are restarted.


Thanks
Ferdinando

Il 01/11/2016 22:17, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 4
Date: Tue, 1 Nov 2016 21:06:29 +
From: "Dennis, Neil"
To:"4d_tech@lists.4d.com"  <4d_tech@lists.4d.com>
Subject: RE: Progressive slow
Message-ID:
<838740227206e84f82973ff5d9ea59b74a75f...@wsys6041a.umb.corp.umb.com>
Content-Type: text/plain; charset="utf-8"

With a 4GB machine you shouldn't use more than 2GB cache memory for 4D server.

You can consider a bigger/faster computer to help processing speed... often 
this is the easiest to increase performance.

If you watch the server processes when there is a slowdown or when it starts to 
get slower, is the CPU, network, or disk higher than normal?

A lot of 4D server performance can be controlled in the way that 4D code is 
written. Try to figure out what the client is doing with the server is slow. 
The watch pane can tell you a lot about the code that is executing when you are 
seeing slowness.

There are a lot of things that can cause slow performance... Once you figure 
out what code is causing the slowness see if you can optimize it for server.

Neil




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Progressive slow

2016-11-01 Thread stardata.info

4 GB


Il 01/11/2016 20:00, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 9
Date: Tue, 1 Nov 2016 12:45:38 -0400
From: Charles Miller
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: Re: Progressive slow
Message-ID:

Re: Progressive slow

2016-10-31 Thread stardata.info

Hi Chuck,

Db is  4.716.737 Kb

Ram 4GB

" How much assigned to 4D?"  Where i can see this?

On server run: Team Viewer and normal system software
Operating system Windows 2088 R2 Standard.

Thanks
Ferdinando


Il 31/10/2016 20:00, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 2
Date: Mon, 31 Oct 2016 13:52:07 -0400
From: Chuck Miller<cjmil...@informed-solutions.com>
To: 4DTechList Tech<4d_tech@lists.4d.com>
Subject: Re: Progressive slow
Message-ID:
<ed9923f8-d82a-49be-85e7-a761f30c2...@informed-solutions.com>
Content-Type: text/plain; charset=us-ascii

How big is data file? How much memory on the machine? How much assigned to 4D? 
Is there anything else on the server? You should be running 13.6 not 13.3.
Is there something else happening within 4D that might be causing this?

Regards

Chuck

  Chuck Miller Voice: (617) 739-0306
  Informed Solutions, Inc. Fax: (617) 232-1064
mailto:cjmillerinformed-solutions.com
  Brookline, MA 02446 USA Registered 4D Developer
Providers of 4D and Sybase connectivity
   http://www.informed-solutions.com   





>On Oct 28, 2016, at 6:20 PM, stardata.info<stard...@stardata.info>  wrote:
>
>Hi All,
>
>In one 4D V13.3 application in client server on windows, from some time, i 
notice that some query after some hours of use become slow, if i close and reopen 
the application are new fast.
>
>The database is great
>
>Someone have a suggestion for solve?
>
>Thanks
>Ferdinando
>**
>4D Internet Users Group (4D iNUG)
>FAQ:http://lists.4d.com/faqnug.html
>Archive:http://lists.4d.com/archives.html
>Options:http://lists.4d.com/mailman/options/4d_tech
>Unsub:mailto:4d_tech-unsubscr...@lists.4d.com
>**


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Windows users

2017-01-10 Thread stardata.info

I'll try.


Many thanks

Ferdinando

Il 09/01/2017 21:00, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 6
Date: Mon, 9 Jan 2017 19:46:31 +0100
From: Tai Bui
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: RE: Windows users
Message-ID: 
Content-Type: text/plain; charset="utf-8"

Hi,

Sorry I think I misunderstood the original question. Did you mean that you want 
to detect the IP address or user name of the client environment connected to 
the Terminal environment over a remote desktop connection through 4D ran on the 
Terminal environment and not on the client environment?

You can do this using LEP:

C_TEXT($in;$out)
$in:=""
LAUNCH EXTERNAL PROCESS("cmd.exe /C netstat -n | find \":3389\" | find 
\"ESTABLISHED\"";$in;$out)


netstat -n | find ":3389" | find "ESTABLISHED"
Will generate a list of remote ip addresses connected through remote desktop, 
which, by default, uses port 3389.

The results, $out, will look something like
TCP{HostIP}:3389{ClientIP:port}   ESTABLISHED\r\n

You can then create a method to parse the text for the Client IP.

Best Regards,
-Tai B.

--

Subject: Digest Footer


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Memory settings

2016-12-05 Thread stardata.info

Hi,

Below the answers.

Thanks
/Ferdinando/

Il 05/12/2016 21:00, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 5
Date: Mon, 5 Dec 2016 19:31:02 +0100
From: Timothy Penner
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: RE: Memory settings
Message-ID: <889B5CE1FCB86B4CA53DB7E91109DFCE041BCAD12D39@4d-xn1-exch>
Content-Type: text/plain; charset="utf-8"

As Arnaud mentioned:

There is no "best settings" but "settings for each situation" and it's not easy 
to evaluate.

This is very true.

For a proper recommendation we would need to know more details, such as:

* How big is the data file?

1.662.000 but can be even more less

* How big are the indexes?

Where i can see?

* 64 bit 4D Server or 32 bit?

Both. The application work in sigle, or in client server mode


You already said that your machine is limited to 4GB of installed RAM, which 
means you are severely limited by hardware...

I can put adjuntive ram

However, if (for example) your data file is less than 1GB and your indexes even 
smaller than you have plenty of physical RAM. It all comes down to the details.




As a blanket recommendation, do not exceed 50% of installed RAM when setting 
your maximum cache value.

Kind Regards,

Tim PENNER


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Memory settings

2016-12-05 Thread stardata.info

Hi,

But in pratical these are the options to set, how should be set for your 
opinion?


Adaptive cache

Percentage of available memory for cache

Minimum size

Maximum size


Thanks
/Ferdinando/

Il 05/12/2016 04:38, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 7
Date: Sun, 04 Dec 2016 18:46:16 -0600
From: Tim Nevels
To:4d_tech@lists.4d.com
Subject: Re: Memory settings
Message-ID:<9a7b3a51-fa2f-4ce5-bf88-121d3a8c7...@mac.com>
Content-Type: text/plain; charset=windows-1252

On Dec 4, 2016, at 12:36 PM, Arnaud de Montard wrote:


You said the machine had 4Gb of ram.

4D server 32 can use maximum 2Gb (~2000Mb) in these 4. You have to balance that between cache 
and "the rest of 4D" (executing methods, creating processes, etc.). I usually give 
1500 (1,5Gb) to cache, the remaining 0,5 seems to be enough for "the rest”.

I believe the max RAM that 4D can access is 4GB — the max byte value of an 
UNSIGNED longint. The max you can set the cache to is 2,384MB on macOS with 
32bit 4D Server. (I think it is the same on Windows but I’m not sure.) 4D 
Server will not let you go any higher. It does this so that it will have 
1,616MB for “the rest”. It will dynamically use that for what it needs.

Next you have to consider how much memory the operating system needs. If all 
that the machine is doing is running 4D Server and not doing any file sharing, 
I would think a bare minimum would be 1GB. 2GB just for the OS should be more 
than enough.

If I have a machine with 4GB+ of memory and I’m running 32bit 4D Server I’d set 
the 4D data cache to 2,300MB if there are less than 20 users and an average of 
5 processes per user. The remaining 1,700MB will be used up by 4D Server for 
“the rest” and by the operating system.

Run the system configured like this for some time and monitor memory allocation 
on the machine with Activity Monitor on macOS or Task Manager on Windows. If 
you see there is a lot of “Swap used” on macOS then you are maxing out on RAM. 
(I can’t remember the name of the option on Windows to indicate you are paging 
out memory.) Better to reduce the 4D data cache by 250MB or so and then see how 
that works. It is called fine tuning of memory usage.


4d server 64 can use much more ram (2^64), but still you are limited to 4Gb on that 
machine. I suppose that 2500-3000 reserved for cache will be enough for "the 
rest" and the system to breathe. Note: I have a very little experience of 64bit 
servers still, so please someone correct me if I'm wrong…

On a 64bit machine with 4GB of memory I’d use the same settings. I’d probably 
not even use 64bit 4D Server on a machine with 4GB of memory. Don’t see much 
point to it. Max cache is still going to be around 2,300MB because you’ll still 
need the remaining 1,700MB for 4D Server “the rest” and the operating system to 
share.

In my opinion you don’t need 64bit 4D Server unless you have at least 8GB on 
the machine. With an 8GB machine you can easily set the 4D data cache to 
5,000MB.

Tim


Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Client upgrade

2017-01-06 Thread stardata.info

Hi All,

I have a client server compiled application in 4D V13.2 on windows.
When i do an upgrade, i copy into the folder: server database these two
file: .4dc and .4dindy, and copy the folder Upgrade4Dclient.

For do an client's upgrade i must to delete even some settings, options or
folders?

Thanks
Ferdinando

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Windows users

2017-01-09 Thread stardata.info

Hi,

IT_MyTCPAddr command, return the ip number of the local pc, but i need to know 
the ip number or the username of the pc that enter with remote desktop.
When the 4D client run in the user created on the windows server, this command 
give the ip of the server machine, not the ip of the pc that enter using remote 
desktop

Thanks
Ferdinando


Il 09/01/2017 17:26, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 6
Date: Mon, 9 Jan 2017 16:29:50 +0100
From: Tai Bui
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: RE: Windows users
Message-ID: 
Content-Type: text/plain; charset="utf-8"

Hi,

There a number of ways to do this. One way is to try using the Internet 
Commands' IT_MyTCPAddr command:
http://doc.4d.com/4Dv16/4D-Internet-Commands/16/IT-MyTCPAddr.301-3069779.en.html

Best Regards,
-Tai B.


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Log errors

2017-01-09 Thread stardata.info

Hi All,

I have one 4D compiled application on windows client-server.
Some time i have in the client a message of type " connection broken ".
Exist one log into 4d server or 4d client that maintain trace of these 
errors?


Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: CROP PDF DOCUMENT

2016-12-29 Thread stardata.info

Hi Koen,

I can open a pdf document with the command OPEN DOCUMENT?

Thanks

/Ferdinando/


Il 29/12/2016 15:26, 4d_tech-requ...@lists.4d.com ha scritto:
Message: 13 Date: Thu, 29 Dec 2016 13:17:04 +0100 From: Compass - Koen 
Van Hooreweghe <bvbacomp...@telenet.be> To: 4D iNug Technical 
<4d_tech@lists.4d.com> Subject: Re: CROP PDF DOCUMENT Message-ID: 
<032e58c2-48cd-4b3b-8a61-be6364693...@telenet.be> Content-Type: 
text/plain; charset=us-ascii Hi Ferdinando, If it is a one page pdf, 
you could read it in a picture variable and use the 4D commandos to 
crop. Groeten, Koen Verstuurd vanaf mijn iPhone 6

Op 29 dec. 2016 om 12:21 heeft stardata.info<stard...@stardata.info>  het 
volgende geschreven:

Hi All,

I have one pdf documents and i want to crop a part of document, and save the 
image cropped.
Is possible using the 4D commands?

Thanks
/Ferdinando/


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Client on two lan card

2017-02-27 Thread stardata.info via 4D_Tech

Hi All,
I have a 4D application that i use in client server mode.
The server machine have two network cards with two differents ip, how i 
can do side client connection to set the lan to use?


Now in settings of the first connection i insert the database name, ip 
number and port number.

This settings will be maintained?

Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Going in designer environment 4D crash

2017-04-12 Thread stardata.info via 4D_Tech

Hi All,

I use 4D V15.4 with Windows 8.1 Pro, and sometime when i want to go in 
designer environment of my application, 4D crash.
This is not always, i delete the settings of 4D in AppData\Roaming\4D 
but the issue remain.


Someone have the same problem?

Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Primary key in a existant database

2017-03-01 Thread stardata.info via 4D_Tech

Hi All,

I have done a conversion from V13 to V15 but for one table the field 
that was indicated like a primary key contain a duplicate values, so i 
must create another
field unique, indexed, give a different values at this field and put 
this field like a primary key.
This for several installations, so i ask if someone have done a 
procedure for do this.


Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

UUID vs Longint primary key

2017-08-04 Thread stardata.info via 4D_Tech

Hi All,

Someone can explain when is better use UUID and when Longint field in 
primary key?


Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Backup failure

2017-08-14 Thread stardata.info via 4D_Tech

I all,

 I'm looking for a way to get a notification when a backup error is
triggered. Is there a way that i can follow to make a custom code
that advertise me when this event comes up?

Thanks
Ferdinando

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Quick report strange behavior

2017-07-11 Thread stardata.info via 4D_Tech

Hi,

Quick report when work on windows 7 work fine, when run on windows 8 
give this problems.


All report are very small this not depend of the font used

Thanks
/Ferdinando/

Il 11/07/2017 18:12, Chip Scheide ha scritto:

No I do not.
I have seen posts regarding font size issues and windows 7?, 8?, 10?

Since I do not use 4D on these systems I do  not pay a lot of attention.
search the archives on the 4D KB, or gmane, or Nabble

sorry, best I can offer
Chip


On Tue, 11 Jul 2017 17:50:45 +0200, stardata.info via 4D_Tech wrote:

Hi all,

No one use 4D V13 on windows 8?

Thanks

Ferdinando


Il 11/07/2017 01:02, stardata.info ha scritto:

Hi all,

Quick report on 4D V13.3 on windows, work fine until windows 7.

 From Windows 8 quick report not work properly, like explained below.

Someone have a solution?

Thanks
Ferdinando

Il 10/07/2017 16:18, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 11
Date: Mon, 10 Jul 2017 14:14:15 +0200
From: "stardata.info"<stard...@stardata.info>
To:4d_tech@lists.4d.com
Subject: Quick report strange behavior
Message-ID:<259a189d-28ac-3559-e814-54525f6e3...@stardata.info>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi all,

in one pc i use 4d v13 on windows and wheni create a report with Quick
Report editor  i see the print in very little characters.
On others pc is ok. If i use other softwares all is ok, and even if i
create a report into the 4d application all is ok.
The issue in only if i use 4D Quick Report.

Someone have a solution?

Thanks
Ferdinando

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Quick report strange behavior

2017-07-11 Thread stardata.info via 4D_Tech

Hi all,

No one use 4D V13 on windows 8?

Thanks

Ferdinando


Il 11/07/2017 01:02, stardata.info ha scritto:


Hi all,

Quick report on 4D V13.3 on windows, work fine until windows 7.

From Windows 8 quick report not work properly, like explained below.

Someone have a solution?

Thanks
Ferdinando

Il 10/07/2017 16:18, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 11
Date: Mon, 10 Jul 2017 14:14:15 +0200
From: "stardata.info"<stard...@stardata.info>
To:4d_tech@lists.4d.com
Subject: Quick report strange behavior
Message-ID:<259a189d-28ac-3559-e814-54525f6e3...@stardata.info>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi all,

in one pc i use 4d v13 on windows and wheni create a report with Quick
Report editor  i see the print in very little characters.
On others pc is ok. If i use other softwares all is ok, and even if i
create a report into the 4d application all is ok.
The issue in only if i use 4D Quick Report.

Someone have a solution?

Thanks
Ferdinando




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Quick report strange behavior

2017-07-11 Thread stardata.info via 4D_Tech

Hi Chip,

Can you give me the link to use for search?

Many thanks

Ferdinando


Il 11/07/2017 20:17, Chip Scheide ha scritto:

Yes, Ferdinando
that is the issue
- everything is small.

search the archives, others have reported (and I think) resolved the
issue.

On Tue, 11 Jul 2017 19:29:15 +0200, stardata.info wrote:

Hi,

Quick report when work on windows 7 work fine, when run on windows 8
give this problems.

All report are very small this not depend of the font used

Thanks
/Ferdinando/

Il 11/07/2017 18:12, Chip Scheide ha scritto:

No I do not.
I have seen posts regarding font size issues and windows 7?, 8?, 10?

Since I do not use 4D on these systems I do  not pay a lot of attention.
search the archives on the 4D KB, or gmane, or Nabble

sorry, best I can offer
Chip


On Tue, 11 Jul 2017 17:50:45 +0200, stardata.info via 4D_Tech wrote:

Hi all,

No one use 4D V13 on windows 8?

Thanks

Ferdinando


Il 11/07/2017 01:02, stardata.info ha scritto:

Hi all,

Quick report on 4D V13.3 on windows, work fine until windows 7.

  From Windows 8 quick report not work properly, like explained below.

Someone have a solution?

Thanks
Ferdinando

Il 10/07/2017 16:18, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 11
Date: Mon, 10 Jul 2017 14:14:15 +0200
From: "stardata.info"<stard...@stardata.info>
To:4d_tech@lists.4d.com
Subject: Quick report strange behavior
Message-ID:<259a189d-28ac-3559-e814-54525f6e3...@stardata.info>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi all,

in one pc i use 4d v13 on windows and wheni create a report with Quick
Report editor  i see the print in very little characters.
On others pc is ok. If i use other softwares all is ok, and even if i
create a report into the 4d application all is ok.
The issue in only if i use 4D Quick Report.

Someone have a solution?

Thanks
Ferdinando

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing



---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Quick report strange behavior

2017-07-10 Thread stardata.info via 4D_Tech

Hi all,

Quick report on 4D V13.3 on windows, work fine until windows 7.

From Windows 8 quick report not work properly, like explained below.

Someone have a solution?

Thanks
Ferdinando


Il 10/07/2017 16:18, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 11
Date: Mon, 10 Jul 2017 14:14:15 +0200
From: "stardata.info"<stard...@stardata.info>
To:4d_tech@lists.4d.com
Subject: Quick report strange behavior
Message-ID:<259a189d-28ac-3559-e814-54525f6e3...@stardata.info>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi all,

in one pc i use 4d v13 on windows and wheni create a report with Quick
Report editor  i see the print in very little characters.
On others pc is ok. If i use other softwares all is ok, and even if i
create a report into the 4d application all is ok.
The issue in only if i use 4D Quick Report.

Someone have a solution?

Thanks
Ferdinando


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

CROP A PDF DOCUMENT

2017-07-14 Thread stardata.info via 4D_Tech

Hi all,

I need to take a part of a pdf document and save this as a jpeg or png 
in one folder.

Is possible to do this using a 4D commands on windows?

Thanks
/Ferdinando/
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: CROP A PDF DOCUMENT

2017-07-15 Thread stardata.info via 4D_Tech

Many thanks!


/Ferdinando/


Il 15/07/2017 02:02, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 10
Date: Fri, 14 Jul 2017 22:25:51 +
From: Keisuke Miyako<keisuke.miy...@4d.com>
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: Re: CROP A PDF DOCUMENT
Message-ID:<bd58b2b8-c7f7-4e2f-aaea-1eaec9e24...@4d.com>
Content-Type: text/plain; charset="utf-8"

this might work

https://github.com/miyako/4d-plugin-imagemagick

documented here

https://github.com/miyako/4d-plugin-imagemagick/blob/master/ImageMagick/06-32%20ImageMagick.pdf

2017/07/15 6:40、stardata.info<http://stardata.info>  via 4D_Tech 
<4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.com>> のメール:
I need to take a part of a pdf document and save this as a jpeg or png in one 
folder.
Is possible to do this using a 4D commands on windows?




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Quick report strange behavior

2017-07-10 Thread stardata.info via 4D_Tech

Hi all,

in one pc i use 4d v13 on windows and wheni create a report with Quick 
Report editor  i see the print in very little characters.
On others pc is ok. If i use other softwares all is ok, and even if i 
create a report into the 4d application all is ok.

The issue in only if i use 4D Quick Report.

Someone have a solution?

Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: CROP A PDF DOCUMENT

2017-07-15 Thread stardata.info via 4D_Tech

Thanks

/Ferdinando/


Il 15/07/2017 21:00, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 9
Date: Sat, 15 Jul 2017 11:24:30 -0500
From: Keith Culotta<k...@compdim.com>
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: Re: CROP A PDF DOCUMENT
Message-ID:<9b170348-074b-468d-b42b-eae22f5d5...@compdim.com>
Content-Type: text/plain; charset=us-ascii

I think this only reads page 1 of any pdf.

READ PICTURE FILE("";$pic)  // or get from clipboard or variable
If (OK=1)
CONVERT PICTURE($pic;".jpg")
TRANSFORM PICTURE($pic;Crop;10;10;100;100)
SET PICTURE TO PASTEBOARD($pic)
End if


Keith - CDI


On Jul 14, 2017, at 4:40 PM, stardata.info via 4D_Tech<4d_tech@lists.4d.com>  
wrote:

Hi all,

I need to take a part of a pdf document and save this as a jpeg or png in one 
folder.
Is possible to do this using a 4D commands on windows?

Thanks
/Ferdinando/
**
4D Internet Users Group (4D iNUG)
FAQ:http://lists.4d.com/faqnug.html
Archive:http://lists.4d.com/archives.html
Options:http://lists.4d.com/mailman/options/4d_tech
Unsub:mailto:4d_tech-unsubscr...@lists.4d.com
**


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

User activity

2017-07-26 Thread stardata.info via 4D_Tech

User activity.

I have a 4D application on windows and some users that work with client 
using remote desktop.

I need to know when the user close remote desktop.
Is possible to check the list of users connected with remote desktop and 
actives?
So i can close a 4d application for the users that are not active on 
remote desktop.


Thanks
/Ferdinando/

Il 26/07/2017 01:07, 4d_tech-requ...@lists.4d.com ha scritto:

Send 4D_Tech mailing list submissions to
4d_tech@lists.4d.com

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.4d.com/mailman/listinfo/4d_tech
or, via email, send a message with subject or body 'help' to
4d_tech-requ...@lists.4d.com

You can reach the person managing the list at
4d_tech-ow...@lists.4d.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of 4D_Tech digest..."


Today's Topics:

1. Re: nested components (Chip Scheide)
2. LOG File TO JSON - How does it name the files (Jody Bevan)
3. Listbox entry gotcha (Kirk Brooks)
4. Re: C-objects and memory use (Tom DeMeo)
5. Bug with Open Document on macOS Sierra (Jeffrey Kain)
6. Re: Bug with Open Document on macOS Sierra (Chuck Miller)
7. Re: C-objects and memory use (David Adams)
8. Re: Bug with Open Document on macOS Sierra (Jeffrey Kain)
9. Re: Bug with Open Document on macOS Sierra (David Adams)
   10. Re: C-objects and memory use (Jeffrey Kain)
   11. Re: Bug with Open Document on macOS Sierra (Jeffrey Kain)
   12. Re: C-objects and memory use (David Adams)


--

Message: 1
Date: Tue, 25 Jul 2017 18:03:06 -0400
From: Chip Scheide <4d_o...@pghrepository.org>
To: 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: nested components
Message-ID: <20170725180306939597.d3722...@pghrepository.org>
Content-Type: text/plain; charset=us-ascii

THANKS!

That should work too.. I'll have to try and play with this a bit.

On Tue, 25 Jul 2017 16:56:22 -0500, Keith Culotta via 4D_Tech wrote:

I have one component that is used by the Host and by other
components.  These other components are also used by the Host.
4D puts all the components at the same level in the Components folder
at compile time and it works.
The Component can also call a Host method if the method in the Host
is shared.

---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing


--

Message: 2
Date: Tue, 25 Jul 2017 16:09:48 -0600
From: Jody Bevan 
To: 4D iNug Technical <4d_tech@lists.4d.com>
Subject: LOG File TO JSON - How does it name the files
Message-ID: 
Content-Type: text/plain;   charset=utf-8

I am continuing to create a full featured Audit trail system using 4D Backup 
Journal file. It is coming along nicely with a viewer telling me it’s progress, 
and running in a Preemptive Process.

Without having to create huge amounts of data to import I am not going to get 
the JSON file that is generated to be so large that it needs to close one off 
and start another. I have looked in the manual and all it says is:

By default, the maximum size of the exported JSON file is 10 MB. When this size 
is reached, the file is closed and a new file is created.

Does anyone know how it names the extra files that it creates?

eg:
JournalExport.json
JournalExport_1.json
JournalExport_2.json


Jody Bevan
ARGUS Productions Inc.
Developer
Argus Productions Inc. 






--

Message: 3
Date: Tue, 25 Jul 2017 15:11:58 -0700
From: Kirk Brooks 
To: 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Listbox entry gotcha
Message-ID:

Re: User activity

2017-07-26 Thread stardata.info via 4D_Tech

Hi,

The my users, at the end of work, not close 4D application, but close 
remote desktop connection.


So i have some users that occupies a 4D serve connection but not work.

I need to understand the real users that work, and close others.

Thanks
Ferdinando

Il 26/07/2017 19:15, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 8
Date: Wed, 26 Jul 2017 07:38:17 -0600
From: Jody Bevan<jody.be...@gmail.com>
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: Re: User activity
Message-ID:<feef5281-e75c-40a9-b623-33df8f053...@gmail.com>
Content-Type: text/plain;   charset=utf-8

Ferdinand:

In another ‘life’ we had several thousand users on Remote Desktop to 4D client. 
The problem usually was that their connection to the client server was broken 
(internet problems). They really liked that they could reconnect and their was 
their work. Therefore we didn’t worry about this, it was a good feature.

Of course there is the issue of them disconnected with no intention of coming 
back on any time soon. For this we had code that was in the code of our 
application. It watched constantly for inactivity. For each workstation there 
could be a different setting. After ‘x’ time it would hide all windows, and 
bring up the login screen. We then also had code that at a certain time of the 
night we would provide a count down to all signed in users (including those 
mentioned above) that would tell them the server was closing connection. We 
would then use the Quit 4D command to shut the client connection down.

Not sure if this helps you - it is just what we did.


Jody Bevan
ARGUS Productions Inc.
Developer

Argus Productions Inc.<https://www.facebook.com/ArgusProductions/>





On Jul 26, 2017, at 3:21 AM, stardata.info via 4D_Tech<4d_tech@lists.4d.com>  
wrote:

User activity.

I have a 4D application on windows and some users that work with client using 
remote desktop.
I need to know when the user close remote desktop.
Is possible to check the list of users connected with remote desktop and 
actives?
So i can close a 4d application for the users that are not active on remote 
desktop.

Thanks
/Ferdinand


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D_Tech Digest, Vol 123, Issue 35

2017-08-22 Thread stardata.info via 4D_Tech

Hi Jody,

Please send again.

Thanks
/Ferdinando/

Il 21/08/2017 17:48, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 12
Date: Mon, 21 Aug 2017 07:08:13 -0600
From: Jody Bevan<jody.be...@gmail.com>
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: Re: Backup failure
Message-ID:<29c5e098-6783-4c29-a433-fd8087fb9...@gmail.com>
Content-Type: text/plain;   charset=us-ascii

Ferdinando:

I sent you code that will do what you are looking for I believe. Did you not 
get it?

Jody Bevan
ARGUS Productions Inc.
Developer

Argus Productions Inc.<https://www.facebook.com/ArgusProductions/>





On Aug 21, 2017, at 12:15 AM, stardata.info via 4D_Tech<4d_tech@lists.4d.com>  
wrote:

I all,

I'm looking for a way to get a notification when a backup error is
triggered. Is there a way that i can follow to make a custom code
that advertise me when this event comes up?

Thanks
Ferdinando


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Backup failure

2017-08-21 Thread stardata.info via 4D_Tech

I all,

I'm looking for a way to get a notification when a backup error is
triggered. Is there a way that i can follow to make a custom code
that advertise me when this event comes up?

Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Zint Bar code

2017-05-10 Thread stardata.info via 4D_Tech

Hi All,

I use ZINT plug in for make a bar code in code 128.
Work well, but i need to reduce the bar dimension of bar code, because 
the label support i very short. Someone know how i can do?


Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: POINTER TO ARRAY

2017-05-11 Thread stardata.info via 4D_Tech

Hi,

Solved using a NON local array.

This " $vPoint-> " is a my transcrition error > c_pointer($vPoint->)

Thanks
/Ferdinando/


Il 11/05/2017 02:01, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 5
Date: Wed, 10 May 2017 16:53:26 -0500
From: Keith Culotta<k...@compdim.com>
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: Re: POINTER TO ARRAY
Message-ID:<2aa79c30-b059-45d2-bedd-50dba5fbe...@compdim.com>
Content-Type: text/plain;   charset=us-ascii

Try changing the line "c_pointer($vPoint->)" to "c_pointer($vPoint)", and make sure $X is set to 
"1" or "2".

Keith - CDI


On May 10, 2017, at 4:39 PM, stardata.info via 4D_Tech<4d_tech@lists.4d.com>  
wrote:

Hi All,

I use 4D V13 on windows.
This code in interpreted work, but in compiled application give an error:

c_pointer($vPoint->)

ARRAY STRING(12;$aCodMat_1;0)
ARRAY STRING(12;$aCodMat_2;0)
DISTINCT VALUES([TABLE]Cod;$aCodMat_1)
DISTINCT VALUES([TABLE]Cod_1;$aCodMat_2)


$vPoint:=Get pointer("$aCodMat_"+String($X))
>   error on this command$R:=Size of array($vPoint->)

Someone know because?

Thanks
Ferdinando


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

POINTER TO ARRAY

2017-05-10 Thread stardata.info via 4D_Tech

Hi All,

I use 4D V13 on windows.
This code in interpreted work, but in compiled application give an error:

c_pointer($vPoint->)

ARRAY STRING(12;$aCodMat_1;0)
ARRAY STRING(12;$aCodMat_2;0)
DISTINCT VALUES([TABLE]Cod;$aCodMat_1)
DISTINCT VALUES([TABLE]Cod_1;$aCodMat_2)


$vPoint:=Get pointer("$aCodMat_"+String($X))
>   error on this command$R:=Size of array($vPoint->)

Someone know because?

Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Windows frames

2017-05-29 Thread stardata.info via 4D_Tech

Hi All,

I have done a conversion for an application from V13 to V15 on windows.
Using the aplication in V15, the frames of the windows in V15 are meno 
subtile than in V13.

The command for open the windows is:
$Win:=Open form window("Check_In";Palette form window;Horizontally 
Centered;Vertically Centered;*)


Someone know because?

Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

SQL table

2017-06-10 Thread stardata.info via 4D_Tech

Hi All,

I use 4D V12 on windows, and i need to read and write some SQL server 
tables.

How i can do it?

Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Bar code

2017-05-08 Thread stardata.info via 4D_Tech

I try this:
$0:=ZINT 
($1;ZINT_Format_PNG;BARCODE_CODE128;$optionNames;$optionValues;$textData)


But i not have any image

Thanks
Ferdinando

Il 08/05/2017 11:16, Spencer Hinsdale ha scritto:

Try PNG. I think scaling does not work with SVG because of crisp edges.

-Spencer


On May 8, 2017, at 1:57 AM, stardata.info via 4D_Tech <4d_tech@lists.4d.com> 
wrote:

Hello,

I try to use Picture:=Picture*,09 but not work because some part of bar code 
are differents

Thanks
Ferdinando





**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Bar code

2017-05-07 Thread stardata.info via 4D_Tech

Hi All,

I'm using ZINT plug in created from Miyaco.

Work well but i need to reduce the dimension of bar code that i obtain, 
because i have few space in my label.


Someone use this plug in, and know how i must do?

Thanks
/Ferdinando/

Il 04/05/2017 19:13, stardata.info ha scritto:


Hi Tim,

Thanks for your reply.

I have seen these plug-in i have seen the 128 but not the interleaved 
2 of 5.


/Ferdinando/


Il 04/05/2017 13:45, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 5
Date: Wed, 3 May 2017 22:13:14 +
From: Timothy Penner<tpen...@4d.com>
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: RE: Bar code
Message-ID:<d4921d7855b448399a658ca4e386a...@4d.com>
Content-Type: text/plain; charset="utf-8"

Code 128 is here:
https://github.com/miyako/4d-plugin-zbar

A few others that may be useful are:
https://github.com/miyako/4d-plugin-zint
https://github.com/miyako/4d-plugin-qrencode
https://github.com/miyako/4d-plugin-data-matrix

-Tim









**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Bar code

2017-05-08 Thread stardata.info via 4D_Tech

Hello,

I try to use Picture:=Picture*,09 but not work because some part of bar 
code are differents


Thanks
Ferdinando

Il 08/05/2017 09:24, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 5
Date: Mon, 8 May 2017 01:57:35 +
From: Keisuke Miyako<keisuke.miy...@4d.com>
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: Re: Bar code
Message-ID:<f5432c57-715c-4197-ae72-cb3336deb...@4d.com>
Content-Type: text/plain; charset="utf-8"

Hello,

the plugin returns a regular picture (you have the choice between PNG and SVG) 
so you should be able to use regular picture commands,
such as PICTURE PROPERTIES, TRANSFORM PICTURE, or even picture operators.

http://doc.4d.com/4Dv16R2/4D/16-R2.1620/PICTURE-PROPERTIES.301-3111814.en.html
http://doc.4d.com/4Dv16R2/4D/16-R2.1620/TRANSFORM-PICTURE.301-3111801.en.html
http://doc.4d.com/4Dv16R2/4D/16-R2.1620/Picture-Operators.300-3111968.en.html


2017/05/08 2:53、stardata.info via 4D_Tech<4d_tech@lists.4d.com>  のメール:
Work well but i need to reduce the dimension of bar code that i obtain, because 
i have few space in my label


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

GOTO OBJECT

2017-05-02 Thread stardata.info via 4D_Tech
/Thanks for your suggestion, but i need to use alert because the form 
window is already great and full, and i need to display some informations.


I have even need to open the window for show other informations, and 
when i close the windows have always the issue, lost focus


I have this issue even if i use one pop_up. in this case the input 
variable remain focused but is not possible enter a values until i not 
click on.


Not exist any other solution?

Thanks

Ferdinando


/

Il 02/05/2017 09:52, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 12
Date: Tue, 2 May 2017 09:50:35 +0200
From: "Flury Olivier"<o...@vtxnet.ch>
To: "'4D iNug Technical'"<4d_tech@lists.4d.com>
Subject: AW: GOTO OBJECT
Message-ID:<000701d2c318$c8873020$59959060$@vtxnet.ch>
Content-Type: text/plain;   charset="utf-8"

Hi Ferdinando,

Instead of an Alert create a text area on your form, make it big and red and 
use OBJECT SET TITLE and OBJECT SET VISIBLE in case of an alert.

Best,

Olivier

-Ursprüngliche Nachricht-
Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von stardata.info 
via 4D_Tech
Gesendet: Dienstag, 2. Mai 2017 09:11
An:4d_tech@lists.4d.com
Cc: stardata.info<stard...@stardata.info>
Betreff: GOTO OBJECT

Hi All,

I use 4D V13 on windows.
I have one layout where i manage one serial readings of bar codes.

In the layout there is unic input variable, after every reading i force to 
remain into this field, using the command GOTO OBJECT.
Work well until i must open a ALERT command for one segnalation. After the 
command ALERT the focus is not on the input variable.
Someone have idea for to solve?

Thanks
Ferdinando




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Bar code

2017-05-04 Thread stardata.info via 4D_Tech

Hi Tim,

Thanks for your reply.

I have seen these plug-in i have seen the 128 but not the interleaved 2 
of 5.


/Ferdinando/


Il 04/05/2017 13:45, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 5
Date: Wed, 3 May 2017 22:13:14 +
From: Timothy Penner
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: RE: Bar code
Message-ID:
Content-Type: text/plain; charset="utf-8"

Code 128 is here:
https://github.com/miyako/4d-plugin-zbar

A few others that may be useful are:
https://github.com/miyako/4d-plugin-zint
https://github.com/miyako/4d-plugin-qrencode
https://github.com/miyako/4d-plugin-data-matrix

-Tim







**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: GOTO OBJECT

2017-05-02 Thread stardata.info via 4D_Tech

I try but not work.

Now i try to insert one button and use PST CLICK command


Thanks

Ferdinando

Il 02/05/2017 16:35, Chip Scheide ha scritto:

how about:
- call process(-1)
- form method
  :(from event = on outside call)
   goto aboject(entry area)


On Tue, 2 May 2017 10:18:03 +0200, stardata.info via 4D_Tech wrote:

/Thanks for your suggestion, but i need to use alert because the form
window is already great and full, and i need to display some
informations.

I have even need to open the window for show other informations, and
when i close the windows have always the issue, lost focus

I have this issue even if i use one pop_up. in this case the input
variable remain focused but is not possible enter a values until i
not click on.

Not exist any other solution?

Thanks

Ferdinando


/

Il 02/05/2017 09:52, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 12
Date: Tue, 2 May 2017 09:50:35 +0200
From: "Flury Olivier"<o...@vtxnet.ch>
To: "'4D iNug Technical'"<4d_tech@lists.4d.com>
Subject: AW: GOTO OBJECT
Message-ID:<000701d2c318$c8873020$59959060$@vtxnet.ch>
Content-Type: text/plain;   charset="utf-8"

Hi Ferdinando,

Instead of an Alert create a text area on your form, make it big
and red and use OBJECT SET TITLE and OBJECT SET VISIBLE in case of
an alert.

Best,

Olivier

-Ursprüngliche Nachricht-
Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von
stardata.info via 4D_Tech
Gesendet: Dienstag, 2. Mai 2017 09:11
An:4d_tech@lists.4d.com
Cc: stardata.info<stard...@stardata.info>
Betreff: GOTO OBJECT

Hi All,

I use 4D V13 on windows.
I have one layout where i manage one serial readings of bar codes.

In the layout there is unic input variable, after every reading i
force to remain into this field, using the command GOTO OBJECT.
Work well until i must open a ALERT command for one segnalation.
After the command ALERT the focus is not on the input variable.
Someone have idea for to solve?

Thanks
Ferdinando

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: GOTO OBJECT

2017-05-02 Thread stardata.info via 4D_Tech

Until now the unique solution that work is:

Create one button with GOTO OBJECT and the command POST CLICK

Thanks

Ferdinando

Il 02/05/2017 16:35, Chip Scheide ha scritto:

how about:
- call process(-1)
- form method
  :(from event = on outside call)
   goto aboject(entry area)


On Tue, 2 May 2017 10:18:03 +0200, stardata.info via 4D_Tech wrote:

/Thanks for your suggestion, but i need to use alert because the form
window is already great and full, and i need to display some
informations.

I have even need to open the window for show other informations, and
when i close the windows have always the issue, lost focus

I have this issue even if i use one pop_up. in this case the input
variable remain focused but is not possible enter a values until i
not click on.

Not exist any other solution?

Thanks

Ferdinando


/

Il 02/05/2017 09:52, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 12
Date: Tue, 2 May 2017 09:50:35 +0200
From: "Flury Olivier"<o...@vtxnet.ch>
To: "'4D iNug Technical'"<4d_tech@lists.4d.com>
Subject: AW: GOTO OBJECT
Message-ID:<000701d2c318$c8873020$59959060$@vtxnet.ch>
Content-Type: text/plain;   charset="utf-8"

Hi Ferdinando,

Instead of an Alert create a text area on your form, make it big
and red and use OBJECT SET TITLE and OBJECT SET VISIBLE in case of
an alert.

Best,

Olivier

-Ursprüngliche Nachricht-
Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von
stardata.info via 4D_Tech
Gesendet: Dienstag, 2. Mai 2017 09:11
An:4d_tech@lists.4d.com
Cc: stardata.info<stard...@stardata.info>
Betreff: GOTO OBJECT

Hi All,

I use 4D V13 on windows.
I have one layout where i manage one serial readings of bar codes.

In the layout there is unic input variable, after every reading i
force to remain into this field, using the command GOTO OBJECT.
Work well until i must open a ALERT command for one segnalation.
After the command ALERT the focus is not on the input variable.
Someone have idea for to solve?

Thanks
Ferdinando

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

CONVERT PDF TO PICTURE

2017-09-16 Thread stardata.info via 4D_Tech

Hi All,

Using 4D i need to convert one PDF documento to jpeg document.
Someone know how i can do?

Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: CONVERT PDF TO PICTURE

2017-09-16 Thread stardata.info via 4D_Tech

Hi,

What use on windows?

Thanks

/Ferdinando/


Il 16/09/2017 19:43, Christian Sakowski ha scritto:

Using 4D i need to convert one PDF documento to jpeg document.

CONVERT PICTURE on Mac only, and first page only. Other pages with hmFree.
--

Grüße/Regards,
[heubach-media] | Christian Sakowski
christian.sakow...@heubach-media.de
iChat/AIM: SakowskiF
Tel: +49/(0)40/52 10 59-23




Am 16.09.2017 um 12:14 schrieb stardata.info via 4D_Tech <4d_tech@lists.4d.com>:

Hi All,

Using 4D i need to convert one PDF documento to jpeg document.
Someone know how i can do?

Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**


--
heubach media
Osterfeldstr. 12-14 | Haus 1 | Eingang Nord
22529 Hamburg
tel: 040 / 52 10 59 - 10 | fax: -99
mail: i...@heubach-media.de
home: www.heubach-media.de
Geschäftsführer|CEO: Matthias Heubach

Mieten Sie Ihre Computer, iPads & Drucker für Ihre Events bei:
http://www.milo-rental.com

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht 
gestattet.
  
This e-mail may contain confidential and/or privileged information.

If you are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the
material in this e-mail is strictly forbidden.



**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: CONVERT PDF TO PICTURE

2017-09-18 Thread stardata.info via 4D_Tech

Thanks Randy

Ferdinando
Il 18/09/2017 15:21, Randy Jaynes ha scritto:

I use ImageMagick with Ghostscript.

I have utility method that I do this, and actually run it on the 
server so I only have to install it there rather than on every single 
client machine:


--- 


$srcPict:=$1
$width:=$2
$height:=$3
$fileExtension:=$4

  //- save the picture to a temporary file 
-

$srcFile:=Temporary folder+"tempPictFile."+$fileExtension
$dstFile:=Temporary folder+"tempPictFile_thumb.png"
WRITE PICTURE FILE($srcFile;$srcPict)

  //- convert it using ImageMagick 
-
$convertPath:=System folder(Applications or Program 
Files)+"ImageMagick\\"  //user must install 32bit static version of IM 
and be sure to change the path at installation time (default path 
includes the version number)


If (Test path name($convertpath)=Is a folder)  //make sure user has it 
installed
   $srcFileCmd:=$srcFile+"[0]"  //add [0] because we only want page 1 
of the document
   $cmd:="convert -thumbnail 
"+String($width)+"x"+String($height)+Char(Space)+Char(Double 
quote)+$srcFileCmd+Char(Double quote)+Char(Space)+Char(Double 
quote)+$dstFile+Char(Double quote)+Char(Carriage return)+Char(Line feed)


   SET ENVIRONMENT VARIABLE("_4D_OPTION_HIDE_CONSOLE";"true")
   SET ENVIRONMENT VARIABLE("_4D_OPTION_CURRENT_DIRECTORY";$convertPath)
   LAUNCH EXTERNAL PROCESS("cmd.exe";$cmd;$output;$errorTxt)
End if

$0:=$dstPict

---
 I make sure that ImageMagick is installed into a folder in Program 
Files called ‘ImageMagick’ so that I can hard code the path to the 
‘convert' function above.


HTH,
Randy

--
Randy Jaynes
Senior Programmer and Customer Support

http://printpoint.com • 845.687.3741 • PrintPoint, Inc • 57 Ludlow 
Lane • Palisades, NY 10964






On Sep 16, 2017, at 2:18 PM, stardata.info <http://stardata.info> via 
4D_Tech <4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>> wrote:


Hi,

What use on windows?

Thanks

/Ferdinando/


Il 16/09/2017 19:43, Christian Sakowski ha scritto:

Using 4D i need to convert one PDF documento to jpeg document.
CONVERT PICTURE on Mac only, and first page only. Other pages with 
hmFree.

--

Grüße/Regards,
[heubach-media] | Christian Sakowski
christian.sakow...@heubach-media.de 
<mailto:christian.sakow...@heubach-media.de>

iChat/AIM: SakowskiF
Tel: +49/(0)40/52 10 59-23



Am 16.09.2017 um 12:14 schrieb stardata.info <http://stardata.info> 
via 4D_Tech <4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>>:


Hi All,

Using 4D i need to convert one PDF documento to jpeg document.
Someone know how i can do?

Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:4d_tech-unsubscr...@lists.4d.com
**


--
heubach media
Osterfeldstr. 12-14 | Haus 1 | Eingang Nord
22529 Hamburg
tel: 040 / 52 10 59 - 10 | fax: -99
mail: i...@heubach-media.de <mailto:i...@heubach-media.de>
home: www.heubach-media.de <http://www.heubach-media.de>
Geschäftsführer|CEO: Matthias Heubach

Mieten Sie Ihre Computer, iPads & Drucker für Ihre Events bei:
http://www.milo-rental.com

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
irrtümlich erhalten haben,

informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail 
ist nicht gestattet.

 This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail 
in error)

please notify the sender immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the
material in this e-mail is strictly forbidden.



**
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:4d_tech-unsubscr...@lists.4d.com
**




***

Re: Create multi array

2017-10-06 Thread stardata.info via 4D_Tech

Thank to all


/Ferdinando/


Il 06/10/2017 17:48, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 1
Date: Fri, 06 Oct 2017 10:16:04 +0100
From: Jeremy Roussak
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: Re: Create multi array
Message-ID:<90d57a97-1192-4856-821f-7685fe7da...@mac.com>
Content-Type: text/plain;   charset=us-ascii

EXECUTE FORMULA should do the trick.

For ($i;1;17)
$s:="ARRAY REAL(aANA_"+String($i)+";0)"
EXECUTE FORMULA($s)
End for

Jeremy

Jeremy Roussak
j...@mac.com


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Number format

2017-10-04 Thread stardata.info via 4D_Tech

Hi Jeremy,

I know this and i try, but not work.
This format not display the value: 0,85

Thanks
/Ferdinando/

Message: 5
Date: Tue, 03 Oct 2017 18:28:36 -0400
From: Jeremy French<jeremyfre...@mac.com>
To: 4D iNUG Technical<4d_tech@lists.4d.com>
Subject: Re: Number format
Message-ID:<0840df29-2c31-48e3-8be5-400c3a5fd...@mac.com>
Content-Type: text/plain;   charset=utf-8

The pattern to control the display of a zero value has 3-parts, separated by a 
semicolon. Note the 2-semicolons:

positive_format;negative_format;zero_format

To display nothing for a zero value, put nothing after the second semi-colon.

So this display filter will show positive and negative numbers, but display 
nothing for a zero value when the object doesn’t have focus:

###,##0;-###,##0;




On Oct 3, 2017, at 5:59 PM, stardata.info via 4D_Tech<4d_tech@lists.4d.com>  
wrote:

In one listbox, i need to display a number format so if the value is zero not 
display anything.
I try to insert the format ###.##0,##0 but not work properly.

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Number format

2017-10-04 Thread stardata.info via 4D_Tech

Using this format ###,##0;###,##0-; the number 0,85 is not displayed.



Il 04/10/2017 16:53, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 5
Date: Tue, 03 Oct 2017 18:28:36 -0400
From: Jeremy French<jeremyfre...@mac.com>
To: 4D iNUG Technical<4d_tech@lists.4d.com>
Subject: Re: Number format
Message-ID:<0840df29-2c31-48e3-8be5-400c3a5fd...@mac.com>
Content-Type: text/plain;   charset=utf-8

The pattern to control the display of a zero value has 3-parts, separated by a 
semicolon. Note the 2-semicolons:

positive_format;negative_format;zero_format

To display nothing for a zero value, put nothing after the second semi-colon.

So this display filter will show positive and negative numbers, but display 
nothing for a zero value when the object doesn’t have focus:

###,##0;-###,##0;




On Oct 3, 2017, at 5:59 PM, stardata.info via 4D_Tech<4d_tech@lists.4d.com>   
wrote:

In one listbox, i need to display a number format so if the value is zero not 
display anything.
I try to insert the format ###.##0,##0 but not work properly.




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Number format

2017-10-03 Thread stardata.info via 4D_Tech

Hi All,

I'm using 4D v15 on windows.
In one listbox, i need to display a number format so if the value is 
zero not display anything.

I try to insert the format ###.##0,##0 but not work properly.

Someone know how i can do.

Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Import from RTF

2017-10-09 Thread stardata.info via 4D_Tech

Hi All,

I use 4D V15 on windows and i need to import from an RTF file.

Is possible to do using 4D?

Thanks
/Ferdinando/

Il 06/10/2017 17:48, 4d_tech-requ...@lists.4d.com ha scritto:

Send 4D_Tech mailing list submissions to
4d_tech@lists.4d.com

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.4d.com/mailman/listinfo/4d_tech
or, via email, send a message with subject or body 'help' to
4d_tech-requ...@lists.4d.com

You can reach the person managing the list at
4d_tech-ow...@lists.4d.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of 4D_Tech digest..."


Today's Topics:

1. Re: Create multi array (Jeremy Roussak)
2. AW: Create multi array (Flury Olivier)
3. Re: Create multi array (Spencer Hinsdale)
4. Re: Create multi array (Arnaud de Montard)
5. Re: [offish]Volume of mail (Arnaud de Montard)
6. Re: [offish]Volume of mail (Peter Jakobsson)
7. Re: [offish]Volume of mail (Jim Medlen)
8. Re: How do workers die? (Julio Carneiro)
9. What happened to 4D documentation in R releases? (Richard Wright)
   10. RE: What happened to 4D documentation in R releases?
   (Michael McCall)


--

Message: 1
Date: Fri, 06 Oct 2017 10:16:04 +0100
From: Jeremy Roussak <j...@mac.com>
To: 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: Create multi array
Message-ID: <90d57a97-1192-4856-821f-7685fe7da...@mac.com>
Content-Type: text/plain;   charset=us-ascii

EXECUTE FORMULA should do the trick.

For ($i;1;17)
$s:="ARRAY REAL(aANA_"+String($i)+";0)"
EXECUTE FORMULA($s)
End for

Jeremy

Jeremy Roussak
j...@mac.com




On 6 Oct 2017, at 09:57, stardata.info via 4D_Tech <4d_tech@lists.4d.com> wrote:

Hi All,

I need to create 20 arrays that have a similar name.
I can do this using the pointers?
I try with this code, but in compiled mode not work.

For ($I;1;17)
$vPoint:=Get pointer("aAna_"+String($I))
ARRAY REAL("aAna_"+String($I);0)
End for

Have suggestions?

Thanks
Ferdinando


--

Message: 2
Date: Fri, 6 Oct 2017 12:21:55 +0200
From: "Flury Olivier" <o...@vtxnet.ch>
To: "'4D iNug Technical'" <4d_tech@lists.4d.com>
Subject: AW: Create multi array
Message-ID: <008401d33e8c$ef59f530$ce0ddf90$@vtxnet.ch>
Content-Type: text/plain;   charset="utf-8"

I would not do this unless there is no other solution for the problem I want to 
solve.

Better solutions:

- Pre-declare a number of arrays (Array text(MyArray_001 etc.) and use them by get 
pointer (Get pointer ("MyArray_"+string($lCounter))
- On interface level you can address most elements without declaring a process 
variable, e.g. Listbox columns.

If you do an EXECUTE FORMULA check this:

http://doc.4d.com/4Dv16/4D/16.2/Using-tokens-in-formulas.300-3432926.en.html

-Ursprüngliche Nachricht-
Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von Jeremy 
Roussak via 4D_Tech
Gesendet: Freitag, 6. Oktober 2017 11:16
An: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Jeremy Roussak <j...@mac.com>
Betreff: Re: Create multi array

EXECUTE FORMULA should do the trick.

For ($i;1;17)
    $s:="ARRAY REAL(aANA_"+String($i)+";0)"
EXECUTE FORMULA($s)
End for

Jeremy

Jeremy Roussak
j...@mac.com




On 6 Oct 2017, at 09:57, stardata.info via 4D_Tech <4d_tech@lists.4d.com> wrote:

Hi All,

I need to create 20 arrays that have a similar name.
I can do this using the pointers?
I try with this code, but in compiled mode not work.

For ($I;1;17)
$vPoint:=Get pointer("aAna_"+String($I)) ARRAY
REAL("aAna_"+String($I);0) End for

Have suggestions?

Thanks
Ferdinando



--

Message: 3
Date: Fri, 6 Oct 2017 03:43:56 -0700
From: Spencer Hinsdale <spen...@bigsoftware.com>
To: 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: Create multi array
Message-ID: <22d55f41-1f21-48a3-86f5-980de5ea9...@bigsoftware.com>
Content-Type: text/plain;   charset=us-ascii


1) Use a Two Dimensional Array:
http://doc.4d.com/4Dv16/4D/16.2/Two-dimensional-Arrays.300-3433911.en.html

2) Decide if your arrays are Rows or Columns.  The Docs call them Rows.  If you decide 
your arrays are Columns, then you must REMEMBER the Docs need "translation" 
anytime you refer to them.

3) Decide if you will use array zero.  If you decide to use array zero, then 
you must REMEMBER to Clear it yourself.


That's it.


You will want to fill your arrays, so you may want to pass them to another 
method, or perhaps another process, or even another computer (method with 
execute-on-server attribute).  You will want to declare them.  You can declare 
20 arrays in 20 lines.  Or, see #1.

You may want to display yo

Import from RTF

2017-10-09 Thread stardata.info via 4D_Tech

Hi All,

I use 4D V15 on windows and i need to import from an RTF file.

Is possible to do using 4D?

Thanks
/Ferdinando/
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

read from a MS SQL server with 4D

2017-09-13 Thread stardata.info via 4D_Tech

I all,

I need to read from a MS SQL server with 4D.
Someone can give a link with examples.

Thanks
/Ferdinando/
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D crash

2017-09-29 Thread stardata.info via 4D_Tech

Hi All,

I use 4D V13 an V15 on windows 8.1 pro with Kaspersky or Avira .

More times when i go in designer mode 4D crash.
I try more times and finally i go in designer mode.
Sometimes i go in roaming folder and delete the preference and the 
application folder, but for me there are another reason for thi issue.

Someone have the same problem?

Thanks
/Ferdinando/
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D Backup failure alert

2017-09-02 Thread stardata.info via 4D_Tech

I all,

I'm looking for a way to get a notification when a backup error is
triggered. Is there a way that i can follow to make a custom code
that advertise me when this event comes up?

Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Backup failure alert

2017-09-02 Thread stardata.info via 4D_Tech

Thanks


Il 02/09/2017 21:00, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 7
Date: Sat, 2 Sep 2017 15:33:45 +
From: Olivier Deschanels<olivier.deschan...@4d.com>
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: Re: 4D Backup failure alert
Message-ID:<9e5a71ea-01c6-4d46-885c-e7050cc7d...@4d.com>
Content-Type: text/plain; charset="utf-8"

Hello,

At the end of the backup the database method ‘On backup Shutdown’ is fired.
This method receive a error code as first parameter.
You may have more detail thanks to GET BACKUP INFORMATION command.

—>http://doc.4d.com/4Dv16/4D/16.2/On-Backup-Shutdown-database-method.301-3434276.en.html

Regards,

Olivier


Le 2 sept. 2017 à 15:28, stardata.info<http://stardata.info>  via 4D_Tech 
<4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.com>> a écrit :

I all,

I'm looking for a way to get a notification when a backup error is
triggered. Is there a way that i can follow to make a custom code
that advertise me when this event comes up?

Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:http://lists.4d.com/faqnug.html
Archive:http://lists.4d.com/archives.html
Options:http://lists.4d.com/mailman/options/4d_tech
Unsub:mailto:4d_tech-unsubscr...@lists.4d.com
**


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Create multi array

2017-10-06 Thread stardata.info via 4D_Tech

Hi All,

I need to create 20 arrays that have a similar name.
I can do this using the pointers?
I try with this code, but in compiled mode not work.

For ($I;1;17)
 $vPoint:=Get pointer("aAna_"+String($I))
 ARRAY REAL("aAna_"+String($I);0)
End for

Have suggestions?

Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Listbox question

2017-10-18 Thread stardata.info via 4D_Tech

Hi All,

I use 4D V15.4 on windows.
In one layout i use the listbox object, and in settings area i have 
setting the scrol bar like automatic.

I have only one row in this list box, but 4D show the same the scroll bar.

Someone know the reason?

Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Slow characters visualization

2017-11-22 Thread stardata.info via 4D_Tech

Someone have solved this issue?

Otherwise is better to work with 4D V15.4 is really slownes to write 
code with this delay.


Thanks
Ferdinando

Il 21/11/2017 18:35, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 3
Date: Mon, 20 Nov 2017 20:00:36 -0600
From: John DeSoi
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: Re: Slow characters visualization
Message-ID:<1f8db4c5-837d-48e3-b00f-acc6457db...@pgedit.com>
Content-Type: text/plain;   charset=us-ascii

Previously, I only had problems on the Mac with version 15.4 if I had many 
large methods open. Closing everything would solve the problem.

Then I upgraded the Mac from 10.11 to 10.13 High Sierra. Now a single large 
method open is enough to make typing code very frustrating. No problems with 
16.2 on the same computer.

Just wanted to mention it for those that might be considering using 10.13 with 
4D 15. Method editing is not only slow, but startup time and any database 
operation seems perceptively slower. Probably no surprise since 4D 15 is not 
certified to work with 10.13.

John DeSoi, Ph.D.




On Nov 20, 2017, at 3:37 PM, Keith Culotta via 4D_Tech<4d_tech@lists.4d.com>  
wrote:

Just to confirm, I have also seen the issue on my MacBook Pro since v15 was 
introduced.  It was intermittent, and I have not experienced it for a while. 
Sometimes quitting 4D and restarting would help.  Other times it would restart 
with the problem still present.  I never saw a clear pattern for what would 
trigger the slowness.


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Query from two 4D application

2017-12-01 Thread stardata.info via 4D_Tech

Hi All,

I use 4D V15 on windows, and i need to do a query from one 4D 
application to another 4D application.

How i can do this?

Thanks
/Ferdinando/
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Assign multidimensional array

2017-12-04 Thread stardata.info via 4D_Tech

Hi,

I need to append one array into another array with the same coloumns.

Copy not think that work.

I need to use 4D V12...

Thanks

/Ferdinando/


Il 04/12/2017 18:13, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 10
Date: Mon, 4 Dec 2017 17:29:29 +0100
From: Arnaud de Montard
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: Re: Assign multidimensional array
Message-ID:
Content-Type: text/plain; charset=utf-8



Le 4 déc. 2017 à 15:59, Chip Scheide via 4D_Tech<4d_tech@lists.4d.com>  a écrit 
:

Ferdinando,
not sure if Copy Array will copy multi-dimensional arrays - you could
try.

ARRAY TEXT($zz;2;3)
$zz{0}{0}:="test"
ARRAY TEXT($zzz;0;0)
COPY ARRAY($zz;$zzz)
ASSERT($zzz{0}{0}="test")  //0 index value
ASSERT(Size of array($zzz{2})=3)  //lines
ASSERT(Size of array($zzz)=2)  //columns

it works:-)  


-- Arnaud de Montard


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Slow characters visualization

2017-11-10 Thread stardata.info via 4D_Tech

Hi,

If i open only one method 50 rows... i have the same slow.
With 4D V15.4 not have this issue...

Thanks
/Ferdinando/

Il 10/11/2017 21:00, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 9
Date: Fri, 10 Nov 2017 08:01:29 -0800
From: Kirk Brooks
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: Re: Slow characters visualization
Message-ID:

Re: Slow characters visualization

2017-11-21 Thread stardata.info via 4D_Tech

I have this issue from 4D V15.5 with 4D V15.4 no problems...

I use Windows 8 and 4D V15 is certifyed for this operating system.

/Ferdinando/

Il 21/11/2017 18:35, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 3
Date: Mon, 20 Nov 2017 20:00:36 -0600
From: John DeSoi
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: Re: Slow characters visualization
Message-ID:<1f8db4c5-837d-48e3-b00f-acc6457db...@pgedit.com>
Content-Type: text/plain;   charset=us-ascii

Previously, I only had problems on the Mac with version 15.4 if I had many 
large methods open. Closing everything would solve the problem.

Then I upgraded the Mac from 10.11 to 10.13 High Sierra. Now a single large 
method open is enough to make typing code very frustrating. No problems with 
16.2 on the same computer.

Just wanted to mention it for those that might be considering using 10.13 with 
4D 15. Method editing is not only slow, but startup time and any database 
operation seems perceptively slower. Probably no surprise since 4D 15 is not 
certified to work with 10.13.

John DeSoi, Ph.D.

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Slow characters visualization

2017-11-21 Thread stardata.info via 4D_Tech

Yes! i have this issue...

Thanks
/Ferdinando/


Il 21/11/2017 18:35, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 4
Date: Tue, 21 Nov 2017 06:49:58 +
From: lists
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: RE: Slow characters visualization
Message-ID:



Content-Type: text/plain; charset="utf-8"

Ferdinando,

There was an issue with memory leak in some versions that exhibit similar 
behaviour.  I know the issue existed in v16 (fixed in one of the NB), returned 
in 16r3 and 16r4, and it's been since fixed in 16r4 build 215501, but I don't 
know if it effected any v15 releases too.

To verify if this is your issue, open a method with about 100 lines of code or 
more, scroll down to the bottom of the method (this is important to trigger the 
leak), open your task manager and look at the amount of memory 4D is taking.  
If you notice the memory grow every second, you have a version with this leak.

Regards,

Lahav




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Slow characters visualization

2017-11-06 Thread stardata.info via 4D_Tech

Hi all,

I use 4D V15.5 on windows.
Sometimes when i write a method the editor is not fast responsive, in 
fact i can see the character digited only after one second.


Someone know the reason, and how i can solve?

Thanks
Ferdinando

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Slow characters visualization

2017-11-06 Thread stardata.info via 4D_Tech
Is not a tables's problems in my opinion, because the same database in 
V13 not give this type of problems.


I have 12 tables.

Thanks

Ferdinando


Il 06/11/2017 23:10, Guy Algot ha scritto:

How many tables in your database?

On Nov 6, 2017, at 2:49 PM, stardata.info <http://stardata.info> via 
4D_Tech <4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>> wrote:


I have this issue even with only one method opened.

The same thing is not present in 4D V13

Thanks

Ferdinando


Il 06/11/2017 22:13, John DeSoi ha scritto:
On the Mac I notice a significant slowdown if I have more than a few 
methods open that have a lot of code. Closing the big methods seems 
to fix the problem.


John DeSoi, Ph.D.


On Nov 6, 2017, at 3:03 PM, stardata.info <http://stardata.info> 
via 4D_Tech <4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>> wrote:


I use 4D V15.5 on windows.
Sometimes when i write a method the editor is not fast responsive, 
in fact i can see the character digited only after one second.


Someone know the reason, and how i can solve?




**
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:4d_tech-unsubscr...@lists.4d.com
**



Later,

Guy


--

Guy Algot, Solutions Specialist

Edmonton, Alberta

(780) 974-8538


hardware, installation, training, support, programming, internet

specializing in 4th Dimension

=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

"Microsoft is a cross between the Borg and the Ferengi. Unfortunately,

they use Borg to do their marketing and Ferengi to do their programming."

-- Simon Slavin






**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Slow characters visualization

2017-11-09 Thread stardata.info via 4D_Tech

I All,

I notice that the slow in characters visualization, is always, even if the 
method have 10 rows.
When i write into one method the cpu consuming of 4D V15.5 is around 12/15%, 
like if 4D do a big work in interpretation of a code that i write into a method.
This only on 4D V15.5 in other version of 4D all is normal.

Only i have this issue?

Thanks
Ferdinando

Message: 1
Date: Mon, 6 Nov 2017 22:03:19 +0100
From: "stardata.info"<stard...@stardata.info>
To:4d_tech@lists.4d.com
Subject: Slow characters visualization
Message-ID:<042ac318-dd04-b313-c069-4312c66f9...@stardata.info>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hi all,

I use 4D V15.5 on windows.
Sometimes when i write a method the editor is not fast responsive, in
fact i can see the character digited only after one second.

Someone know the reason, and how i can solve?

Thanks
Ferdinando

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Slow characters visualization

2017-11-06 Thread stardata.info via 4D_Tech

In fact i have noticed that in V13 the same database have not a problems.
I have this problems even with only one method opened in editor


Il 06/11/2017 23:33, Guy Algot ha scritto:
You need to throw away everything you think you know when switching to 
a new version. There are many things v15 does that v13 does not. And 
vis versa.


However, I was asking because there’s a bug in the method editor that 
causes slowdowns in 4D due to the # of tables. This bug was not in v13.


On Nov 6, 2017, at 3:14 PM, stardata.info <http://stardata.info> 
<stard...@stardata.info <mailto:stard...@stardata.info>> wrote:


Is not a tables's problems in my opinion, because the same database 
in V13 not give this type of problems.


I have 12 tables.

Thanks

Ferdinando


Il 06/11/2017 23:10, Guy Algot ha scritto:

How many tables in your database?

On Nov 6, 2017, at 2:49 PM, stardata.info <http://stardata.info/> 
via 4D_Tech <4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>> wrote:


I have this issue even with only one method opened.

The same thing is not present in 4D V13

Thanks

Ferdinando


Il 06/11/2017 22:13, John DeSoi ha scritto:
On the Mac I notice a significant slowdown if I have more than a 
few methods open that have a lot of code. Closing the big methods 
seems to fix the problem.


John DeSoi, Ph.D.


On Nov 6, 2017, at 3:03 PM, stardata.info <http://stardata.info/> 
via 4D_Tech <4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>> 
wrote:


I use 4D V15.5 on windows.
Sometimes when i write a method the editor is not fast 
responsive, in fact i can see the character digited only after 
one second.


Someone know the reason, and how i can solve?





Later,

Guy


--

Guy Algot, Solutions Specialist

Edmonton, Alberta

(780) 974-8538


hardware, installation, training, support, programming, internet

specializing in 4th Dimension

=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

"Microsoft is a cross between the Borg and the Ferengi. Unfortunately,

they use Borg to do their marketing and Ferengi to do their programming."

-- Simon Slavin






**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Assign multidimensional array

2017-12-04 Thread stardata.info via 4D_Tech

Hi All,

I need to copy a multidimensional array ($A) into another of the same 
dimension ($B).
Is necessary do a cicle and assign every single position or is possible 
to do other?


ARRAY TEXT($A;1;2)
ARRAY TEXT($B;0;2)
$A{1}{1}:="1"
$A{1}{2}:="2"
$P:=Size of array($B)+1
INSERT IN ARRAY($B;$P;1)
$B{$P}{1}:=$A{$P}{1}
$B{$P}{2}:=$A{$P}{2}


Thanks
Ferdinando

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Query from two 4D application

2017-12-02 Thread stardata.info via 4D_Tech

Two applications are on the same pc, or in the same network

Ferdinando

Il 02/12/2017 21:00, 4d_tech-requ...@lists.4d.com ha scritto:

Message: 4
Date: Fri, 1 Dec 2017 22:13:49 -1000
From: John Baughman
To: 4D iNug Technical<4d_tech@lists.4d.com>
Subject: Re: Query from two 4D application
Message-ID:
Content-Type: text/plain;   charset=us-ascii

Where are the 2 applications located? On the same computer, same LAN, or WAN?

Which application consumes the results of the query?

I am fairly certain, regardless of the answers to the above, http requests 
between the two would work. Web Service might work.

Not sure, but SQL might work as well.

John


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Double 4D istances

2017-10-21 Thread stardata.info via 4D_Tech

Hi All,

I'm using two instances of 4D V15.4 on Windows 8.1.
Things used to be like this because i need to work simultaneously with 
two clients.
I used 4D copies many times but suddenly without changing anything going 
to DESIGN ENVIRONMENT makes 4D crash.

It gives back two windows errors wich names are: "APPCRASH" (for the first
dialog widow) and "BEX" (for the second dialog window). I used this two 
instances even with v13 but i didn't get errors like this it just works 
fine.
Can anyone tell me how to solve this. I think is an exceed of stack 
memory but how can i manage to solve it?

Thanks for the attention.
/
//Stardata/
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Double 4D istances

2017-10-21 Thread stardata.info via 4D_Tech

Hi again,

The issue occours when 4D go in the design environment, and there are a 
lot of methods opened.

Sometimes i have a Stack error window, when 4D goes in design environment.
If the methods are closed i don't have errors when i go in design 
envirnoment.


Someone know a solution?

Thanks
/Ferdinando

/
Il 21/10/2017 15:22, stardata.info ha scritto:

Hi All,

I'm using two instances of 4D V15.4 on Windows 8.1.
Things used to be like this because i need to work simultaneously with 
two clients.
I used 4D copies many times but suddenly without changing anything 
going to DESIGN ENVIRONMENT makes 4D crash.

It gives back two windows errors wich names are: "APPCRASH" (for the first
dialog widow) and "BEX" (for the second dialog window). I used this 
two instances even with v13 but i didn't get errors like this it just 
works fine.
Can anyone tell me how to solve this. I think is an exceed of stack 
memory but how can i manage to solve it?

Thanks for the attention.
/
//Stardata/


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Slow characters visualization

2017-10-31 Thread stardata.info via 4D_Tech

Hi all,

I use 4D V15.5 on windows.
Sometimes when i write a method the editor is not fast responsive, i 
fact i can see the character digited only after one second.


Someone know th reason, and how i can solve?

Thanks
Ferdinando


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: OPEN FORM WINDOWS

2018-05-10 Thread stardata.info via 4D_Tech

Hi Kristopher,

"Movable form dialog box" option work fine.

Thanks

Ferdinando


Il 08/05/2018 22:12, Kristopher Merolla ha scritto:


Hi Ferdinando,

This looks like a bug to me, I will get a bug report raised for the issue.

To get around it, you can add the REDRAW WINDOW command at the end, 
that should refresh the window after your query.


$Win:=*Open form window*("form";_Palette form window_;_Horizontally 
centered_;_Vertically centered_;*)


*DIALOG*("form")

*CLOSE WINDOW*

*REDRAW WINDOW*

Best Regards,

Kristopher


Kristopher Merolla
Technical Support Engineer

Telephone : 
Email : kmero...@4d.com
Web :   



4D inc
95 S. Market Street, Suite #240
CA 95113San Jose- United States

Standard :  
Fax :   

Banner <http://bit.ly/2HcYn0f>

*From:*stardata.info [mailto:stard...@stardata.info]
*Sent:* Tuesday, May 8, 2018 10:46 AM
*To:* Kristopher Merolla <kmero...@4d.com>; 4D iNug Technical 
<4d_tech@lists.4d.com>

*Subject:* Re: OPEN FORM WINDOWS

Hi Kristopher,

This is the window opened for do a query:

This after the query done and window closed, like you can see the 
title of the windows is upgraded with 6 record, but the selection of 
records is not correct displayed.


If i click on a row of output for, 4D upgrade the row clicked, if i 
click on one button up of form, the selection of record is finaly 
upgraded.


Using the option Plain form window this not happen, after closed the 
window the records selection is upgraded.


Thanks

/Ferdinando/

Il 08/05/2018 18:33, Kristopher Merolla ha scritto:

Hi Ferdinando,

So you are doing something like this?

On my output form I have two buttons, one opens a palette form
window and the other a plain form window.

The “form” opened by these buttons has some fields and a button on
it that will query the table for the ID matching the row clicked.

The window shows selection 1 of 10 but displays all the records:

After clicking something else, like a button on the output form or
something like that, the form then updates displaying the
selection (or if you click off the 4D window):

Did this work any differently for you in an older version of 4D?

The selection is actually changed, which can be seen at the top of
the form, it just does not update the display on the form.  It
seems like the display on the form is waiting on another event,
like another click, to actually display the updated records.



*Kristopher Merolla*

Technical Support Engineer

Telephone :



Email :



kmero...@4d.com <mailto:kmero...@4d.com>

Web :






*4D inc*

95 S. Market Street, Suite #240

CA 95113 San Jose - United States

Standard :



Fax :




Banner <http://bit.ly/2HcYn0f>

-Original Message-
From: stardata.info [mailto:stard...@stardata.info]
Sent: Tuesday, May 8, 2018 9:19 AM
To: Kristopher Merolla <kmero...@4d.com> <mailto:kmero...@4d.com>;
4D iNug Technical <4d_tech@lists.4d.com> <mailto:4d_tech@lists.4d.com>
Subject: Re: OPEN FORM WINDOWS

Hi Kristopher,

Below my answers.

Thanks

Ferdinando

Il 08/05/2018 17:46, Kristopher Merolla ha scritto:

> Hi Ferdinando,

>

> In 16.3 HF2 I put together a simple case, making a custom output
form for a table with two buttons.  One button runs your first
block of code to open a Palette window and the other a Plain
window.  The "form" opened by the buttons on the output form has
field variables, and I am able to modify them and when closing the
window, the records are modified.

>

> Is this what you are trying to accomplish?

The issue is that using the option Palette form window, the list
of records in the output form is not displayed correctly.

>

> If not, what is in your "form" (are there any other buttons,
bits of code, etc) and what exactly do you mean by the "selection
of the records are not upgraded in the output form"?  Are you
trying to change the selection like a query or modify the records?
Do you have any other code executing here?

I open the window for do a queries, when I close the window, the
list of records are the same and are not upgraded. If i click on
another button upper the form windows, i can see the new selection
of records.

>

> Regards,

> Kristopher

>

>

>

> Kristopher Merolla

> Technical Support Engineer

>

> 4D Inc

> 95 S. Market Street, Suite #240

> CA 95113 San Jose

> United States

>

> Telephone :

> Standard :

> Fax :

    > Email : kmero...@4d.com <mailto:kmero...@4d.com>

Re: OPEN FORM WINDOWS

2018-05-10 Thread stardata.info via 4D_Tech

Hi Kristopher,

This is the window opened for do a query:

This after the query done and window closed, like you can see the title 
of the windows is upgraded with 6 record, but the selection of records 
is not correct displayed.


If i click on a row of output for, 4D upgrade the row clicked, if i 
click on one button up of form, the selection of record is finaly upgraded.


Using the option Plain form window this not happen, after closed the 
window the records selection is upgraded.


Thanks

/Ferdinando/


Il 08/05/2018 18:33, Kristopher Merolla ha scritto:


Hi Ferdinando,

So you are doing something like this?

On my output form I have two buttons, one opens a palette form window 
and the other a plain form window.


The “form” opened by these buttons has some fields and a button on it 
that will query the table for the ID matching the row clicked.


The window shows selection 1 of 10 but displays all the records:

After clicking something else, like a button on the output form or 
something like that, the form then updates displaying the selection 
(or if you click off the 4D window):


Did this work any differently for you in an older version of 4D?

The selection is actually changed, which can be seen at the top of the 
form, it just does not update the display on the form.  It seems like 
the display on the form is waiting on another event, like another 
click, to actually display the updated records.



Kristopher Merolla
Technical Support Engineer

Telephone : 
Email : kmero...@4d.com
Web :   



4D inc
95 S. Market Street, Suite #240
CA 95113San Jose- United States

Standard :  
Fax :   

Banner <http://bit.ly/2HcYn0f>

-Original Message-
From: stardata.info [mailto:stard...@stardata.info]
Sent: Tuesday, May 8, 2018 9:19 AM
To: Kristopher Merolla <kmero...@4d.com>; 4D iNug Technical 
<4d_tech@lists.4d.com>

Subject: Re: OPEN FORM WINDOWS

Hi Kristopher,

Below my answers.

Thanks

Ferdinando

Il 08/05/2018 17:46, Kristopher Merolla ha scritto:

> Hi Ferdinando,

>

> In 16.3 HF2 I put together a simple case, making a custom output 
form for a table with two buttons.  One button runs your first block 
of code to open a Palette window and the other a Plain window.  The 
"form" opened by the buttons on the output form has field variables, 
and I am able to modify them and when closing the window, the records 
are modified.


>

> Is this what you are trying to accomplish?

The issue is that using the option Palette form window, the list of 
records in the output form is not displayed correctly.


>

> If not, what is in your "form" (are there any other buttons, bits of 
code, etc) and what exactly do you mean by the "selection of the 
records are not upgraded in the output form"?  Are you trying to 
change the selection like a query or modify the records? Do you have 
any other code executing here?


I open the window for do a queries, when I close the window, the list 
of records are the same and are not upgraded. If i click on another 
button upper the form windows, i can see the new selection of records.


>

> Regards,

> Kristopher

>

>

>

> Kristopher Merolla

> Technical Support Engineer

>

> 4D Inc

> 95 S. Market Street, Suite #240

> CA 95113 San Jose

> United States

>

> Telephone :

> Standard :

> Fax :

> Email : kmero...@4d.com <mailto:kmero...@4d.com>

> Web :

>

> -Original Message-

> From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of

> stardata.info via 4D_Tech

> Sent: Tuesday, May 8, 2018 6:55 AM

> To: 4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>

> Cc: stardata.info <stard...@stardata.info 
<mailto:stard...@stardata.info>>


> Subject: OPEN FORM WINDOWS

>

> Hi All,

>

> I work 4D V16 on windows.

> Using this code in one button of output form for doing a queries:

> $Win:=Open form window("form";Palette form window;Horizontally

> centered;Vertically centered;*)

> DIALOG("form")

> CLOSE WINDOW

> i notice that the selection of the records are not upgraded in the 
output form.


>

> If use the option Plain form window i not have the same issue.

> $Win:=Open form window("form";Plain form window;Horizontally

> centered;Vertically centered;*)

> DIALOG("form")

> CLOSE WINDOW

>

> Someone know the reason?

>

> Thanks

> Ferdinando

> **

> 4D Internet Users Group (4D iNUG)

> FAQ: http://lists.4d.com/faqnug.html

> Archive: http://lists.4d.com/archives.html

> Options: https://lists.4d.com/mailman/options/4d_tech

> Unsub: mailto:4d_tech-unsubscr...@lists.4d.com

> 

Re: OPEN FORM WINDOWS

2018-05-10 Thread stardata.info via 4D_Tech

Hi Kristopher,

I already try with REDRAW WINDOW but noto work the same.

Using Plain form window the records selection is upgraded, but i must to 
use MAXIMIZE WINDOW command, because the option Plain form window cause 
a movement of the principal windows that is behind like you can see.





Thanks
Ferdinando

Il 08/05/2018 22:12, Kristopher Merolla ha scritto:


Hi Ferdinando,

This looks like a bug to me, I will get a bug report raised for the issue.

To get around it, you can add the REDRAW WINDOW command at the end, 
that should refresh the window after your query.


$Win:=*Open form window*("form";_Palette form window_;_Horizontally 
centered_;_Vertically centered_;*)


*DIALOG*("form")

*CLOSE WINDOW*

*REDRAW WINDOW*

Best Regards,

Kristopher


Kristopher Merolla
Technical Support Engineer

Telephone : 
Email : kmero...@4d.com
Web :   



4D inc
95 S. Market Street, Suite #240
CA 95113San Jose- United States

Standard :  
Fax :   

Banner <http://bit.ly/2HcYn0f>

*From:*stardata.info [mailto:stard...@stardata.info]
*Sent:* Tuesday, May 8, 2018 10:46 AM
*To:* Kristopher Merolla <kmero...@4d.com>; 4D iNug Technical 
<4d_tech@lists.4d.com>

*Subject:* Re: OPEN FORM WINDOWS

Hi Kristopher,

This is the window opened for do a query:

This after the query done and window closed, like you can see the 
title of the windows is upgraded with 6 record, but the selection of 
records is not correct displayed.


If i click on a row of output for, 4D upgrade the row clicked, if i 
click on one button up of form, the selection of record is finaly 
upgraded.


Using the option Plain form window this not happen, after closed the 
window the records selection is upgraded.


Thanks

/Ferdinando/

Il 08/05/2018 18:33, Kristopher Merolla ha scritto:

Hi Ferdinando,

So you are doing something like this?

On my output form I have two buttons, one opens a palette form
window and the other a plain form window.

The “form” opened by these buttons has some fields and a button on
it that will query the table for the ID matching the row clicked.

The window shows selection 1 of 10 but displays all the records:

After clicking something else, like a button on the output form or
something like that, the form then updates displaying the
selection (or if you click off the 4D window):

Did this work any differently for you in an older version of 4D?

The selection is actually changed, which can be seen at the top of
the form, it just does not update the display on the form.  It
seems like the display on the form is waiting on another event,
like another click, to actually display the updated records.



*Kristopher Merolla*

Technical Support Engineer

Telephone :



Email :



kmero...@4d.com <mailto:kmero...@4d.com>

Web :






*4D inc*

95 S. Market Street, Suite #240

CA 95113 San Jose - United States

Standard :



Fax :




Banner <http://bit.ly/2HcYn0f>

-Original Message-
From: stardata.info [mailto:stard...@stardata.info]
Sent: Tuesday, May 8, 2018 9:19 AM
To: Kristopher Merolla <kmero...@4d.com> <mailto:kmero...@4d.com>;
4D iNug Technical <4d_tech@lists.4d.com> <mailto:4d_tech@lists.4d.com>
Subject: Re: OPEN FORM WINDOWS

Hi Kristopher,

Below my answers.

Thanks

Ferdinando

Il 08/05/2018 17:46, Kristopher Merolla ha scritto:

> Hi Ferdinando,

>

> In 16.3 HF2 I put together a simple case, making a custom output
form for a table with two buttons.  One button runs your first
block of code to open a Palette window and the other a Plain
window.  The "form" opened by the buttons on the output form has
field variables, and I am able to modify them and when closing the
window, the records are modified.

>

> Is this what you are trying to accomplish?

The issue is that using the option Palette form window, the list
of records in the output form is not displayed correctly.

>

> If not, what is in your "form" (are there any other buttons,
bits of code, etc) and what exactly do you mean by the "selection
of the records are not upgraded in the output form"?  Are you
trying to change the selection like a query or modify the records?
Do you have any other code executing here?

I open the window for do a queries, when I close the window, the
list of records are the same and are not upgraded. If i click on
another button upper the form windows, i can see the new selection
of records.

>

> Regards,

> Kristopher

>

>

>

> Kristopher Merolla

> Technical Support Engineer

>

> 4D Inc

OPEN FORM WINDOWS

2018-05-08 Thread stardata.info via 4D_Tech

Hi All,

I work 4D V16 on windows.
Using this code in one button of output form for doing a queries:
$Win:=Open form window("form";Palette form window;Horizontally 
centered;Vertically centered;*)

DIALOG("form")
CLOSE WINDOW
i notice that the selection of the records are not upgraded in the 
output form.


If use the option Plain form window i not have the same issue.
$Win:=Open form window("form";Plain form window;Horizontally 
centered;Vertically centered;*)

DIALOG("form")
CLOSE WINDOW

Someone know the reason?

Thanks
Ferdinando
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

  1   2   3   >