Re: [repost] v13+ Object (not C_Object) references from a Component

2019-03-25 Thread Add Komoncharoensiri via 4D_Tech
Hi Chip,

>>When the Object GET/SET commands are called from a Component method, do they 
>>recognize that an object referenced by name is on a Host form?
I don't think they behave differently from between v13 and v17. So a quick 
answer is yes.

Suppose your component method is

 // Method: obSetTitle
   C_TEXT($1;$2)
   OBJECT SET TITLE(*;$1;$2)

If you host form has a button with object method that executes:

   obSetTitle (OBJECT Get name(Object current);"Hello")

The button title will change accordingly.

HTH,

Add




On 3/25/19, 2:10 PM, "4D_Tech on behalf of Chip Scheide via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

I am unclear in what you are saying (sorry).

Are you saying:
... there exists, at least some, Form object commands which *will*
work, from inside a component method, on Host form objects?

I know that in the Host, Object Get commands will retrieve (or set for
Object Set) a variety of Object properties; and I believe if the Form
(and its objects) are part of a component that the same commands will
do the same thing for the component form.

What I am asking about - to be more clear (I hope) -
preferably for v13 (or v15)
When the Object GET/SET commands are called from a Component method, do
they recognize that an object referenced by name is on a Host form?


Thanks
**

**
4D Internet Users Group (4D iNUG)
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: 4D World Tour 2019 - Cool new stuff are coming your way

2019-03-22 Thread Add Komoncharoensiri via 4D_Tech
Hi Paul,

I am sorry to hear about your registration experience. I have forwarded this 
issue to our team. Hope it will be resolved soon. In the meantime, I recommend 
that you contact your 4D Sales Representative directly to get you registered.

Regards,
Add




On 3/22/19, 5:35 AM, "4D_Tech on behalf of Paul Dennis via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

It sounds very good and I just try to sign up for the two day event in
London. Your shopping cart experience leaves something to be desired. After
the registration form you get a button to pay for day 2. Which then takes
you to the 4D store page which is completely useless. Firstly you have to
select your country even though you have already selected the location of
the event, there is no product selected, no shopping cart. I gave up.

Paul



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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

4D World Tour 2019 - Cool new stuff are coming your way

2019-03-21 Thread Add Komoncharoensiri via 4D_Tech
Hi everyone,

As of now, most of you should already know about the upcoming 2019 4D World 
Tour. As one of the 4D World Tour presenters, I’m looking forward to see many 
of you and share with you some of the cool stuff we have been working on in the 
last several months. Our focus is not just to talk about the new and exciting 
features. We have want to inspire you and bring to you demonstration that is 
practical and applicable to the real world usage. Also, all attendees will take 
home a USB thumb-drive that includes all presentation, source demo 
applications, components, and documentation.

For those of you who are still deciding whether this event is worth going, the 
answer is YES, YES, and YES. The 4D World Tour comes only once every 2 years. 
The take away contents are available to the on-site attendees only, they will 
not be available anywhere else.

The US World Tour will be held in Chicago, Boston, Atlanta, Seattle, Austin and 
San Jose. To register for the US World Tour, please visit 
http://go.4d.com/4DWT2019-USACanada. For the Worldwide World Tour location, 
please visit http://go.4d.com/WT2019.html.

Hope to see you there.

Add Komoncharoensiri
4D, Inc.


**
4D Internet Users Group (4D iNUG)
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: WritePro expression undefined

2018-12-27 Thread Add Komoncharoensiri via 4D_Tech
David,

eval is a project method that will execute a PROCESS 4D TAGS. I am pretty sure 
Erick provided an explanation to what that method does.

Regards,
Add




On 12/23/18, 11:29 PM, "4D_Tech on behalf of David Ringsmuth via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Tim!

We have great support from 4D! (Erick)

This is an effective 4D tech support work-around to the problem of 
“Undefined”.

Here “WParea” is a 4D Write Pro object.

After running this method on our converted 4D Write to 4D Write Pro 
documents, none of the embedded statements return “Undefined”.

It wraps all embedded expressions in an ‘eval(“….”)’. I did not find “eval” 
as a 4D command, but it works!

Off-Topic: Lastly, I must conceive a way to convert the embedded picts…
//-
C_OBJECT($range)
C_LONGINT($start;$end;$i;$type)
C_TEXT($text;$Newtext)

WP SELECT(WParea;wk start text;wk end text)
$range:=WP Get selection(WParea)
$start:=OB Get($range;"start")
$end:=OB Get($range;"end")

ARRAY TEXT($methodArray;0)
APPEND TO ARRAY($methodArray;"eval")
SET ALLOWED METHODS($methodArray)

For ($i;$start;$end)

$type:=ST Get content type(*;"WParea";$i;$i)

If ($type=2)  // found expression
$text:=ST Get expression($range;$i;$i)
$text:=Replace string($text;"\"";"\\\"")
$Newtext:="eval ("+"\""+$text+"\""+")"
ST INSERT EXPRESSION(*;"WParea";$Newtext;$i;$i+1)
End if

End for

//---

If you observe it, MERRY CHRISTMAS



David Ringsmuth

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

**
4D Internet Users Group (4D iNUG)
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: WritePro expression undefined

2018-12-21 Thread Add Komoncharoensiri via 4D_Tech
Hi David,

If you are insert an expression into a 4D Write Pro document, the expression 
should return a value.

For example:
100+90
Current date
projectMethodThatReturnAValue

For QUERY command, the execution will produce a selection of record in memory. 
It does not return a value that can be inserted to the document.

Regards,
Add




On 12/20/18, 2:05 PM, "4D_Tech on behalf of David Ringsmuth via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

John,

We can manually limit the entry of commands and methods, since we control 
the UI that inserts expressions. It would be easier is the command SET ALLOWED 
METHODS did this for us automatically.

Thanks for your help John!

David Ringsmuth

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

**
4D Internet Users Group (4D iNUG)
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: ORDA runtime error - seems like a bug in 4D

2018-08-13 Thread Add Komoncharoensiri via 4D_Tech
Hi Jeff,

We just confirmed that this is a bug occurs in 4D Remote only. We'll get it 
reported to the team.

Regards,
Add




On 8/13/18, 10:27 AM, "4D_Tech on behalf of Jeffrey Kain via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Forgot to add - it fails as in 4D gives a runtime error every time trying 
to execute the query (this is from 4D Remote - haven't tried single user yet):

   Error code: 1806 (dbmg)
   URL is not well formed
   component: dbmg



> On Aug 13, 2018, at 1:20 PM, Jeffrey Kain  wrote:
>
> This fails every time:
>
> C_OBJECT($selManuAbbv)
> $tManufacturerName:="Levy's"
> $selManuAbbv:=ds.ManufacturerAbbv.query("Manufacturer = 
:1";$tManufacturerName)
>
>
> It's due to the single-quote in the string. Is this a bug in 4D?

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

**
4D Internet Users Group (4D iNUG)
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: TAOW down?

2018-08-06 Thread Add Komoncharoensiri via 4D_Tech
Hi Bob,

Currently our ISP in office in Paris is experiencing some issue that impact a 
few of our Online system, including TAOW. If you have an urgent need for Tech 
Support, please call our tech support directly by phone.

Regards,
Add





On 8/6/18, 8:56 AM, "4D_Tech on behalf of Bob Miller via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Since about 3pm on Friday I've been trying to file a tech support case on
taow.4d.com, but I get, "This site can't be reached".

Anyone else seeing this?


Bob Miller
Chomerics, a division of Parker Hannifin Corporation


ll
"PLEASE NOTE: The preceding information may be confidential or privileged. 
It only should be used or disseminated for the purpose of conducting business 
with Parker. If you are not an intended recipient, please notify the sender by 
replying to this message and then delete the information from your system. 
Thank you for your cooperation."
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

**
4D Internet Users Group (4D iNUG)
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: LiveDoc Unresponsive

2018-08-06 Thread Add Komoncharoensiri via 4D_Tech
Hi Steve,

http://Doc.4d.com is online and functioning. Please connect to it in the 
meantime while we are sorting out the problem.

Regards,
Add




On 8/6/18, 8:12 AM, "4D_Tech on behalf of Stephen J. Orth via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Is the livedoc website served out of France?  I'm unable to reach it.


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc. Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*


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

**
4D Internet Users Group (4D iNUG)
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: Unable to Unregister/Register Service

2017-11-20 Thread Add Komoncharoensiri via 4D_Tech
Randy,

I have not tried it but I can only guess that the attempt was made while the 
Service was running. Try this, make sure the 4D Server is not running. Run 4D 
Server with the database manually and try to Unregister then. If you still have 
a problem then we are definitely dealing with something out of ordinary.

Regards,
Add




On 11/20/17, 10:08 AM, "4D_Tech on behalf of Randy Engle via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

We have a customer that we are trying to update.

They can run the server app as an admin, but “Register Current Database as 
a Service” is disabled.

When we try to “Unregister Current Database” or “Unregister all Server 
Services”, the services list only show the service as “disabled”.

I know I’ve seen this before, but don’t remember what we did.

Any ideas?

Thanks

Randy Engle

**
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: List Box Basics

2017-10-31 Thread Add Komoncharoensiri via 4D_Tech
Hi Steve,

Actually, there are plenty of resource on kb.4d.com about programming in 
selection based list box context. Here are some of the reference.

http://kb.4d.com/assetid=77856
http://kb.4d.com/assetid=77873
http://kb.4d.com/assetid=77871
http://kb.4d.com/assetid=76585
http://kb.4d.com/assetid=77320

HTH,

Add






**
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: Making LOG EVENT thread-safe

2017-10-08 Thread Add Komoncharoensiri via 4D_Tech
Hi Guys,

There are a few threads last week that covers area of Worker and Disk file 
access. So, I’m just going to choose this one to reply.

If I may, I’d like to offer a different approach in implementation for the 
custom logging using Workers. In order to avoid a race condition while allowing 
messages to be record rapidly, I would suggest the following approach.

The worker method will perform 2 tasks: 1. Record a new message and 2. Flush 
recorded messages on the disk.

When a new message is sent to the worker, it will be recorded in a process 
object variable (C_OBJECT). For example:

{
 “1” : “Message 1 ABC”,
 “2” : “Message 2 DEF”,
 “3” : “Message 3 GHI”
}

Notice that the object property is a sequence number. You will increment for 
each message that you are recording.

To save this messages to the disk, you will have to run a background process 
that continues to tell the worker to flush the current set of messages (in the 
Object variable) to the disk. For each message that you sent to the disk, you 
will remove it from the Object variable. Because object is based on reference, 
you can just call the command OB REMOVE to do that job. Next will just have to 
save the last sequence in a process variable and use it to test against the 
data in the Object variable next time the call to flush is made.

Anyway, I have put together a prototype based on what I just described. It 
seems to be working pretty well. I will find the best way to share it with you 
all on Monday. I might turn it into a tech note as well.

Regards,
Add K.





**
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: What happened to 4D documentation in R releases?

2017-10-06 Thread Add Komoncharoensiri via 4D_Tech
Hi everyone,

I can understand the confusion. The format on the documentation page is a bit 
different these days. There are 2 sections you want to look for from the main 
documentation page. Under Core Documentation section, you’ll find “4D v16 R4 – 
Upgrade” and “Deprecated and Removed Features” sections. These 2 sections 
described the changes made in 4D products (both enhanced and removed).

In the “4D v16 R4 – Upgrade section, you can either click on the title or 
“What’s new page” (direct link to the landing page for all new features for the 
version). Please notice the Read documentation link at the bottom of each 
feature. Next to it, there is a link to a blog post that offers a downloadable 
example.

Obviously, this change will take some getting used to. But we do hope that you 
will find it to be more beneficial in a long term.

Regards,
Add Komoncharoensiri






**
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:

2017-06-06 Thread Add Komoncharoensiri via 4D_Tech
Hi Cannon,

I confirmed that it works in compiled mode as well. I¹ll report this to
our team.

Regards,
Add

On 6/6/17, 10:45 AM, "4D_Tech on behalf of Cannon Smith via 4D_Tech"
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

>Hi Add,
>
>I just got done testing compiled and it works there as well. This is in
>v16.1.
>
>I hope it is just a documentation issue as I really want it to work! :-)
>
>Thanks.
>
>--
>Cannon.Smith
>Synergy Farm Solutions Inc.
>Hill Spring, AB Canada
>403-626-3236
><can...@synergyfarmsolutions.com>
>
>
>
>> On Jun 6, 2017, at 11:44 AM, Add Komoncharoensiri via 4D_Tech
>><4d_tech@lists.4d.com> wrote:
>>
>> I basically got it straight from the documentation. If it works, then we
>> may be dealing with an unintended behavior or a missing information from
>> the documentation. About the compiled mode, I have not tested it
>>myself. I
>> guess I can quickly test it:)
>
>**
>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:

2017-06-06 Thread Add Komoncharoensiri via 4D_Tech
Hi Cannon,

I basically got it straight from the documentation. If it works, then we
may be dealing with an unintended behavior or a missing information from
the documentation. About the compiled mode, I have not tested it myself. I
guess I can quickly test it:)

Regards,
Add

On 6/6/17, 10:20 AM, "4D_Tech on behalf of Cannon Smith via 4D_Tech"
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

>Hi Add,
>
>I have it working now, although I haven¹t tried compiled yet. Are you
>referring to compiled only?
>
>Thanks.
>
>--
>Cannon.Smith
>Synergy Farm Solutions Inc.
>Hill Spring, AB Canada
>403-626-3236
><can...@synergyfarmsolutions.com>
>
>
>
>> On Jun 6, 2017, at 11:19 AM, Add Komoncharoensiri via 4D_Tech
>><4d_tech@lists.4d.com> wrote:
>>
>> Boolean type is not a supported parameter for PROCESS 4D TAGS. Only
>>Text,
>> Number, Date, Time and Pointer are supported.
>
>**
>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:

2017-06-06 Thread Add Komoncharoensiri via 4D_Tech
Hi Cannon,

Boolean type is not a supported parameter for PROCESS 4D TAGS. Only Text,
Number, Date, Time and Pointer are supported.

Regards,
Add

On 6/6/17, 10:10 AM, "4D_Tech on behalf of Cannon Smith via 4D_Tech"
<4d_tech-boun...@lists.4d.com on behalf of 4D_Tech@lists.4D.com> wrote:

>I¹m passing a local boolean as the fifth parameter to PROCESS 4D TAGS
>(well, seventh, actually, but the fifth one that the HTML will see). In
>the HTML document I¹m trying to do something like this:
>
>Cannon.Smith
>Synergy Farm Solutions Inc.
>Hill Spring, AB Canada
>403-626-3236
>
>
>
>
>**
>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
**