Re: Any issues with %password font on MacOS and 13.6?

2016-10-14 Thread Kirk Brooks
Hey Tim, Thanks for clarifying the point about the recommendation. Also looking for other references I saw this issue has been coming up from time to time with no real resolution and apparently only on Macs. You know the tech tip you referenced is really pretty cool. Since we're talking about it I

[ANN] 4D Server Maintenance schedule

2016-10-14 Thread Brian Young
In order to increase network resiliency, our hosting provider will be preforming maintenance that may effect several 4D services. The interruptions will be limited to no more than 30 minutes. This maintenance may occur anytime during one of the following blocks of time: 6pm to 8pm PDT, M

RE: Any issues with %password font on MacOS and 13.6?

2016-10-14 Thread Timothy Penner
Hi Kirk, I wouldn’t say it is discouraged - it is still documented in example 3 of OBJECT SET FONT: http://livedoc.4d.com/4Dv15-R5/help/Command/en/page164.html#197877 Quote: "Note: You can use the %password option with field, variable and combo box type objects." I had to search my sent items f

Re: Listbox cell - On Data Change - how to tell old and new values?

2016-10-14 Thread Keith Goebel
Kirk, thanks for your reply. I would have thought so too, but it doesn’t (for me anyway). The Old value, when tested by the On Data Change event, matches the entered value not the value before the cell edit. Seems weird that nobody else on this list has a need to do this. I wish i could say “I’m

Re: Converting from C

2016-10-14 Thread James Crate
On Oct 14, 2016, at 4:24 PM, Peter Mew wrote: > > Please tell me to go away if this request is inappropriate > Im trying to convert a C function into 4D > I know very very little C, so after 2 days I'm looking for some help > The C function looks like [snip] > int > cddb_sum(int n) > > { > > in

Re: Diminute font size using Windows 8

2016-10-14 Thread Tim Nevels
On Oct 14, 2016, at 2:00 PM, Rafael Escoté Climent wrote: > one of our old customers just migrated their 4d client OS systems (they were > using Windows 98 or Windows 7, i’m not sure) > to Windows 8.x > > They discovered that our old client/server app (developed in 4D v11 years > ago…) > is no

Converting from C

2016-10-14 Thread Peter Mew
Hi Please tell me to go away if this request is inappropriate Im trying to convert a C function into 4D I know very very little C, so after 2 days I'm looking for some help The C function looks like struct toc { int min; int sec; int frame; }; struct toc cdtoc

Re: v13+ type ahead variables

2016-10-14 Thread Chip Scheide
4D capitalizes everything in Compiler methods. the type ahead pulls from these... I tested - changed an IP var in compiler_variables_Inter from <>X_CR to <>x_Cr used type ahead and it came in as <>x_Cr On Fri, 14 Oct 2016 14:27:34 -0500, Keith Culotta wrote: > I think it uses the Cap Style of t

Re: Any issues with %password font on MacOS and 13.6?

2016-10-14 Thread Keith Culotta
I seem to recall that it had been fixed at some point. Still, I place it over an object using Wingdings (or similar) to mitigate any exposure. Keith - CDI > On Oct 14, 2016, at 2:25 PM, Kirk Brooks wrote: > > Hi Chuck, > It turns out using the password font is discouraged in favor of capturin

Re: v13+ type ahead variables

2016-10-14 Thread Keith Culotta
I think it uses the Cap Style of the first instance of the variable. Is it declared in all caps at the top of the method? Keith - CDI > On Oct 14, 2016, at 2:20 PM, Chip Scheide <4d_o...@pghrepository.org> wrote: > > it is nice that 4D now provides type ahead for variables. > > Does anyone el

Re: Any issues with %password font on MacOS and 13.6?

2016-10-14 Thread Kirk Brooks
Hi Chuck, It turns out using the password font is discouraged in favor of capturing the characters from the screen, building the password in a hidden variable, and displaying a field with just asterisks or something else. Tim Penner posted a reply a while ago about this with a link here: http://kb

v13+ type ahead variables

2016-10-14 Thread Chip Scheide
it is nice that 4D now provides type ahead for variables. Does anyone else wish 4D would preserve our (user) preference as to variable name capitalization. rather then CAPITALIZE every thing Chi[ ** 4D Internet Users Group (4D i

Re: Diminute font size using Windows 8

2016-10-14 Thread Jim Hays
Yes, look for this on the NUG: Printing on Windows 8.1 & 4Dv12 This is the answer: http://4d.1045681.n5.nabble.com/Win-4D-12-x-and-Win-8-1- td5730168.html#a5730390 On Fri, Oct 14, 2016 at 1:11 PM, Rafael Escoté Climent wrote: > Hi all, > > one of our old customers just migrated their 4d clien

Re: Managing invoices - write the total or look it up?

2016-10-14 Thread Douglas von Roeder
How about a data model? http://www.databaseanswers.org/data_models/invoices_and_payments/index.htm -- Douglas von Roeder 949-336-2902 On Fri, Oct 14, 2016 at 11:58 AM, Wayne Stewart wrote: > Hi, > > I'm not an accountant so this probably is totally wrong but what I do is > this. > > I have 4

Re: Managing invoices - write the total or look it up?

2016-10-14 Thread Wayne Stewart
Hi, I'm not an accountant so this probably is totally wrong but what I do is this. I have 4 tables involved Client (fairly obvious) Consultations (a consult is an invoice effectively) Payments Transactions. The transaction table links to the other three. It's fields: ID Client_ID Consult_ID Pay

Re: Managing invoices - write the total or look it up?

2016-10-14 Thread Bill Weale
I usually maintain a Payments (or Credits, not not including goods and services for sale) table. It can include many “types” of payments and charges. It’s needed to maintain an audit trail for A/R. I know it’s not, er, normal, but I also maintain Total and Amt Due fields in the Invoice table. Al

Re: Any issues with %password font on MacOS and 13.6?

2016-10-14 Thread Charles Miller
Version of 4D would help. I seem to remember problem with v11 or 13 Regards Chuck Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064 mailto:miller.cjaygmail.com <

Any issues with %password font on MacOS and 13.6?

2016-10-14 Thread Kirk Brooks
Hey guys. I'm not seeing this on my MacBook running 10.10.5 but some users report the password font working. Anyone have any experience with this? -- Kirk Brooks San Francisco, CA === ** 4D Internet Users Gro

Re: Managing invoices - write the total or look it up?

2016-10-14 Thread Chip Scheide
Theory says: do not store something that can be calculated. Practicality often says otherwise line art structure: [invoice] <- [line items] <- [payment_lineitem_link] -- <- [payments] <-| <- [addresses] -> [Purchaser] Entry/listing form sh

Diminute font size using Windows 8

2016-10-14 Thread Rafael Escoté Climent
Hi all, one of our old customers just migrated their 4d client OS systems (they were using Windows 98 or Windows 7, i’m not sure) to Windows 8.x They discovered that our old client/server app (developed in 4D v11 years ago…) is now presenting the reports on a very, very tiny, small font!! (unr

Re: Sharepoint vs 4D...

2016-10-14 Thread Robert ListMail
Thanks Bob, Balinder, David & Alam… I appreciate your input and thanks to you all, I think I’ll be well prepared. Robert > On Oct 14, 2016, at 1:45 AM, Balinder Walia wrote: > > SharePoint is Document Management System which can be linked with MS Office > Apps. It has it's own storage and I t

Managing invoices - write the total or look it up?

2016-10-14 Thread Kirk Brooks
I'm going to fork this thread into a separate discussion because I think it's a good topic and way far afield of the OP. I have never been at a point in my development career when I haven't had at least one project that had invoices involved. Most of my databases had the 'classic' structure of an

RE: HTML Tag Mismatch Finder!

2016-10-14 Thread Timothy Penner
Hi, Have you tried ATOM ? https://atom.io/ With the 4D Tags package from Miyako: https://atom.io/packages/language-4dtag 4D TAGS language support in Atom Based on language-html, with added support for 4D tags, dollar syntax, French/English controls, :C and :K notation. -Tim -Origi

Re: Listbox cell - On Data Change - how to tell old and new values?

2016-10-14 Thread Arnaud de Montard
> Le 14 oct. 2016 à 16:35, Kirk Brooks a écrit : > > [...] > > boss: "this isn't an exception it's an override." Nothing looks more like a boss than another boss. -- Arnaud de Montard ** 4D Internet Users Group (4D iNUG)

Re: Listbox cell - On Data Change - how to tell old and new values?

2016-10-14 Thread Arnaud de Montard
> Le 14 oct. 2016 à 16:57, Chip Scheide <4d_o...@pghrepository.org> a écrit : > > start transaction > modify record > cancel/validate transaction user driven transaction… -- Arnaud de Montard *

Re: Listbox cell - On Data Change - how to tell old and new values?

2016-10-14 Thread Chip Scheide
start transaction modify record cancel/validate transaction my experience is: if the record is changed, or any (loaded) related record is changed those records are locked to other users until the transaction is completed. It does not matter about triggers, or on data change. Invoice, and invoic

Re: Listbox cell - On Data Change - how to tell old and new values?

2016-10-14 Thread Arnaud de Montard
> Le 14 oct. 2016 à 16:11, Chip Scheide <4d_o...@pghrepository.org> a écrit : > > yes. > But then : > - if the 1 user changed a value, everyone probably needs to know that > the record is being modified and whatever value(s) are displayed may > not be correct. I've tried earlier, it seems the

Re: Listbox cell - On Data Change - how to tell old and new values?

2016-10-14 Thread Chip Scheide
LOL On Fri, 14 Oct 2016 07:35:22 -0700, Kirk Brooks wrote: > Chip, > That's one of the places where management comes into play with programming. > My experiences have been there's no joy in attempting to program in > management's assumptions of user behavior. Happens to me frequently: > > boss: "

Re: Listbox cell - On Data Change - how to tell old and new values?

2016-10-14 Thread Kirk Brooks
Chip, That's one of the places where management comes into play with programming. My experiences have been there's no joy in attempting to program in management's assumptions of user behavior. Happens to me frequently: boss: "set it up so this and that are required for saving this sort of record.

Re: How to resize PNG images for button icons

2016-10-14 Thread Chip Scheide
Thanks John On Thu, 13 Oct 2016 19:19:27 -0500, John DeSoi wrote: > I posted this method a while back which does not use SVG commands. > > http://kb.4d.com/resources/inug?msgid=GmailId145b02d07486aa50 > > > John DeSoi, Ph.D. > >> On Oct 13, 2016, at 4:14 PM, Chip Scheide >> <4d_o...@pghreposi

Re: Listbox cell - On Data Change - how to tell old and new values?

2016-10-14 Thread Chip Scheide
yes. But then : - if the 1 user changed a value, everyone probably needs to know that the record is being modified and whatever value(s) are displayed may not be correct. - if the 'touch' (in code) is only a lookup - Read Only is your friend :) - users learn to finish, after being yelled at t

Re: Many to Many Join Input Form

2016-10-14 Thread Chip Scheide
Using an Invoice, entry form, as an example. This assumes all relations are Manual relations (NOTE: all 'code' written in the email - not really code) you would call a relation command in on load You would do this only if there is only 1 related table, or you want ALL related tables to load thei

Re: Line Breaks in 4D Loop

2016-10-14 Thread Neil Dennis
> > > > What is your document type? If you are using XHTML try using a Have you looked at the output? What is being sent instead of ? -- Neil Dennis 4D Developer since 1990 GreaText - Designing Software for the Way You Work 716 East 1850 N North Ogden, UT 84414 mailto:npden...@greatext.

Re: Sharepoint vs 4D...

2016-10-14 Thread bob . miller
Robert, Sharepoint is a Microsoft product that provides document storage and collaboration using a web-bsed "template". It integrates closely with MS Office, so its strength is document management and storage. One can choose one of many templates, such as a simple library or a sophisticated

Re: ​HTML Tag Mismatch Finder!

2016-10-14 Thread steve simpson
On Thu, Oct 13, 2016 at 11:00 PM, ​ ​ Sujit Shah wrote: > > > Is there a magic tool that can find a mismatched tag in several hundred > lines of HTML Code? > > One which can work with embedded 4D Tags?? > ​https://www.htmlvalidator.com/​ Steve Simpson ​Cimarron Softw

Re: Sharepoint vs 4D

2016-10-14 Thread David Samson
Hello Robert, I found this which appears to be fair comparison. https://msdn.microsoft.com/en-us/library/ff647105.aspx David > I have client that wants to rewrite an old 4D database from scratch. At > least one member on the board is pushing for us to consider Sharepoint or > another non-4D ap

Re: Listbox cell - On Data Change - how to tell old and new values?

2016-10-14 Thread Kirk Brooks
Keith, You said this is for a selection based listbox so the command would be Old([table]field). I don't use a selection based listboxes if I need heavy validation pre or post saving so I'm not sure how long you can count on modified changes NOT being saved but I am certain OLD will work while you

RE: HTML Tag Mismatch Finder!

2016-10-14 Thread Epperlein, Lutz (agendo)
> I have seen some validators get confused by the 4D Tags thats why I ask. I wouldn't call them validators if they get problems with html comments ... ;-) > I want to be able to collapse and expand the tree.. Yes you can do that too. But I'm fairly sure every html aware IDE or editor is able to d

Re: HTML Tag Mismatch Finder!

2016-10-14 Thread Sujit Shah
On Fri, Oct 14, 2016 at 6:42 PM, Epperlein, Lutz (agendo) < lutz.epperl...@agendo.de> wrote: > We use a full-fledged development environment: WebStorm by Jetbrains. > There are many inspector services among others for html too. > Embedded 4D Tags are html comments simply. > > Regards > Lutz > I h

RE: HTML Tag Mismatch Finder!

2016-10-14 Thread Epperlein, Lutz (agendo)
We use a full-fledged development environment: WebStorm by Jetbrains. There are many inspector services among others for html too. Embedded 4D Tags are html comments simply. Regards Lutz > -Original Message- > From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Sujit Shah >

Re: How to resize PNG images for button icons

2016-10-14 Thread Arnaud de Montard
> Le 14 oct. 2016 à 01:02, Wayne Stewart a écrit : > > Hi, > > For those that went to the world tour last year there was a php > example written by Angelo Caroprese. Posted on 4DBB a few days ago: -- Arnaud de Montard