4D 18.5 and Monterey

2021-11-02 Thread Paul Chernoff via 4D_Tech
Any word on how well 4D 18.5 works on Monterey for development and for 4D
Server clients? Due to my use of Foundation for 4D development and our
shrinking use of 4D in my office, I might not be advancing beyond 4D 18.5.
Just wondering how it is work on the latest macOS. Of course I just moved
for 4D 18.5 from v17 2 weeks ago to get compatible with Big Sur.

*PAUL CHERNOFF*
Director of Information Technology
*Washingtonian*
1775 K Str NW Suite 600, Washington, DC 20006
w 202.862.3504
pchern...@washingtonian.com


We are proudly a Certified Woman-Owned Small Business
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
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 18.5 Server on M1

2021-10-12 Thread Paul Chernoff via 4D_Tech
Will 4D 18.5 Server run OK on a Mac mini M1? I am preparing for upgrading
from v17 to v18 and this will require replacing my current Mac mini 4D
server which is stuck at macOS 10.13.6.
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
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: Where is the trace/debug command?

2021-10-05 Thread Paul Chernoff via 4D_Tech
Sorry, I should have been specific that this is a normal method, it is part
of iLB package. But nothing special about it. The database code runs
without problem if run as compiled.

In iLB_Hook_Starup, a method used to run custom code to set values related
to iLB and is nothing but comments, it goes into debug mode after the last
line. I have tried removing the empty line of the method and the end of the
last line, and then typed in what I deleted. It still goes into debug mode
after running the method.

In iLB_Hook_ObjectMethod it goes into debug mode on the line that has the
command C_POINTER. I moved C_POINTER down a few lines and it went into
debug mode on C_LONGINT.

It makes me think there is something invisible in the Method that is
triggering debug mode. I’ve cut the text, pasted into BBEdit, then copied
from there and back into 4D and same problem.

I can work around this problem by compiling and then running the app in
compiled mode, but that is a bit clumsy.

—Paul



On Oct 5, 2021 at 3:00:01 PM, 4d_tech-requ...@lists.4d.com wrote:

> Message: 1
> Date: Mon, 4 Oct 2021 14:16:22 -0700
> From: Kirk Brooks 
> To: 4D iNug Technical <4d_tech@lists.4d.com>
> Subject: Re: Where is the trace/debug command?
> Message-ID:
> 
> Content-Type: text/plain; charset="UTF-8"
>
> It's probably not a trace but an error. What's iLB_Hook? Sounds like
> something there.
>
> On Mon, Oct 4, 2021 at 10:59 AM Paul Chernoff via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> I am porting some 4D databases from v18.5 to v19.2. What is odd is that
>
> some iLB_Hook procedures are triggering tracing. But I look at the
>
> procedures and I do not see the Trace command nor the red circuit. And this
>
> never happened in version 18 or earlier. Is there now some invisible trace
>
> command?
>
>
>
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Where is the trace/debug command?

2021-10-04 Thread Paul Chernoff via 4D_Tech
I am porting some 4D databases from v18.5 to v19.2. What is odd is that
some iLB_Hook procedures are triggering tracing. But I look at the
procedures and I do not see the Trace command nor the red circuit. And this
never happened in version 18 or earlier. Is there now some invisible trace
command?

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

Duplicate Primary Key

2021-09-01 Thread Paul Chernoff via 4D_Tech
4D 17.5

Somehow when I create a new record for a table it wants to assign an
existing record’s primary key to a new record’s primary key field.

How do I get the database to know that this value is already in use for
this unique field and to start incrementing primary key values starting at
a higher value?

*PAUL CHERNOFF*
Director of Information Technology
*Washingtonian*
1775 K Str NW Suite 600, Washington, DC 20006
w 202.862.3504
pchern...@washingtonian.com


We are proudly a Certified Woman-Owned Small Business
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
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: GET FIELD TITLES

2017-04-28 Thread Paul Chernoff via 4D_Tech
I have restarted 4D a number of times with the same results

​>​
As a guess - if you've modified some field names it only returns the
​>​
modified field names for the 'session'. If you do a restart what happens?

​>​
On Wed, Apr 26, 2017 at 10:53 AM, Paul Chernoff via 4D_Tech <
​>​
4d_tech@lists.4d.com> wrote:

​>​
> I apologize if I have posted this question before but I've been getting
​>​
> bounces previously.
​>​
>
>
​>​
I run GET FIELD TITLES([Contacts];$afieldTitle;$afieldNums)
​>​
> and only the first 2 fields are returned instead of 17. This line used to
>
​>​
work fine. I realize there are other places in the database where this
​>​
> command is used with the same problem. And iLB functionality isn't working
>
​>​
properly for the same reason.
>
​>​

​>​
> All of the fields in the table are visible.
>
​>
​

PAUL CHERNOFF
Director of Information Technology
Washingtonian Media
**
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
**

GET FIELD TITLES

2017-04-26 Thread Paul Chernoff via 4D_Tech
I apologize if I have posted this question before but I've been getting
bounces previously.

I run GET FIELD TITLES([Contacts];$afieldTitle;$afieldNums)
​and only the first 2 fields are returned instead of 17.​ This line used to
work fine. I realize there are other places in the database where this
command is used with the same problem. And iLB functionality isn't working
properly for the same reason.

​All of the fields in the table are visible.

Any suggestion on how to fix this problem.

4D v15.2, Mac OS X 10.10.5, Foundation 5.6, iLB 2.​



PAUL CHERNOFF
Director of Information Technology
W. 202.862.3504
**
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
**

GET FIELD TITLES problem

2017-03-31 Thread Paul Chernoff via 4D_Tech
4D 15.2, Mac, Foundation 5.6.

When I use the command GET FIELD TITLES on this database it doesnt' recall
all of the field titles for the table, but only the for the first 2 fields.
Otherwise the database works properly. I have tried repairing the structure
but to no benefit. Any idea why only some of the fields are being read.
Could Foundation's Virtual Structure be causing a problem (though I doubt
since this is a native 4D command)?


PAUL CHERNOFF
Director of Information Technology
W. 202.862.3504
pchern...@washingtonian.com
1828 L Street, NW, Suite 200, Washington, DC 20036


Washingtonian  |  Washingtonian Welcome Guide
Washingtonian Bride & Groom  |  Washingtonian Events |  Washingtonian
Custom Media
We are a WBENC Certified WBE/WOSB.
**
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
**