Re: c_objects and dates

2016-08-17 Thread Bertrand SOUBEYRAND
> Le 17 août 2016 à 09:12, Bertrand SOUBEYRAND a écrit : > >> Yeah, if you don't specify the return type it comes back as text - usually, >> ie. >> >> C_OBJECT($object) >> C_DATE($date) >> C_TEXT($key;$dateStr) >> >> $key:="current_date" >> >> OB SET($object;$key;Current

Re: Searching for different fonts

2016-08-17 Thread Keisuke Miyako
I would strongly encourage you to take at look at the design object access commands: FORM GET NAMES FORM LOAD FORM GET OBJECTS OBJECT Get font etc. > 2016/08/17 18:03、Pino Todesco のメール: > > Hi All, > Does anyone have any ideas on how I can find all of the different > fonts

v13 - Can not add record & Maintenance issues

2016-08-17 Thread Chip Scheide
since this is development - it is not so much a problem as I can replace the data file, however, I would like to understand what is going on. all of this is: C/S v13.5 OS X 10.6.8 on client side, OS X 10.9.? server side. I attempted to add a record to a table, this is the first record in the

RE: How to remove a style sheet?

2016-08-17 Thread bob . miller
RE> I think the issue you are seeing with setting the font of the list box headers may be related to this bug: > ACI0094001: Listbox Header Fonts With Style Sheets Cannot be Modified > " The commands OBJECT SET FONT and OBJECT SET FONT SIZE do not modify the font of a Listbox Title if the

Re: c_objects and dates

2016-08-17 Thread Lee Hinde
It's the 'usually' part that caught me. This is the first time I've run into it. *C_LONGINT*($long;$newlong) $long:=1 *OB SET*($object;"long";$Long) $newlong:=*OB Get*($object;"long") Works fine. Also note (this may be documented, but I didn't notice), the date field in the original example

App Nap v 14 built client app

2016-08-17 Thread Bill Weale
Do we explicitly have to disable App Nap for v 14 built clients? Will/can App Nap on 4D built client cause the client to drop its connection to 4D Server? Thanks, Bill William W. Weale Business Owners Support, LLC. Operations Analysis MIS Advising Decision Support Systems

RE: [Error message] RE: v13 - Can not add record & Maintenance issues

2016-08-17 Thread Timothy Penner
Hi Chip, Well, the message did say the index is invalid or missing, and it was in fact missing. I think it would be clearer if it told you which field though - too bad v13 is no longer being updated. FWIW: In v14+ the index is automatically created for you once you re-launch the database:

RE: How to remove a style sheet?

2016-08-17 Thread Timothy Penner
> This fix removes the requirement for me to remove a style sheet from a > listbox, but it is still curious that this can't be done except with code. For me, the stylesheet in the property list is removed (set to ) when I manually set a font in the Property List of a form object (i.e. list

Re: v13 - Can not add record & Maintenance issues

2016-08-17 Thread Chip Scheide
I can try that - but I did the compact with the "touch all records" (whatever it is really called) option ON. On Wed, 17 Aug 2016 09:11:29 -0700, Spencer Hinsdale wrote: > > First, for your your Index error, try re-writing all records in the > table with something like > All Records > Apply To

Re: Installer for 2004.8 (Windows)

2016-08-17 Thread Justin Russell
Hah, indeed. Thanks everyone, much appreciated! On Wed, Aug 17, 2016 at 12:01 PM, John Flynn wrote: > Wayne Stewart wrote: > > That's fantastic, now where did I put those licenses? > > You put them in your bottom left desk drawer, under the pile of

Re: v13 - Can not add record & Maintenance issues

2016-08-17 Thread Spencer Hinsdale
Hi Chip, You can ignore an orphaned blob. It is just a saved-outside-the-record field that lost its parent. I don't think it causes any problem. To fix an orphaned blob run Repair, twice. If you go into MSC and Repair it will say "Anomalies Detected". Repair again and it will be fixed.

Re: The database cannot be published.

2016-08-17 Thread Lee Hinde
I had apache running on port 80. I turned that off and had 4d run from 80 and all is well. > On Aug 17, 2016, at 10:58 AM, Lee Hinde wrote: > > In this case I’m using my Developer Pro license, which inlaces the Web > server.. > > It just launched fine when I accessed the

RE: v13 - how to get directory path on server from client

2016-08-17 Thread Randy Engle
Chip, The parameter 3 is for the "4D Client database folder" For which doesn't exist on 4D Server That said, using a method whose attribute is Execute On Server, works great for something like this. $folder:=EOS_Get_4D_Folder (Active 4D Folder) * //

Re: c_objects and dates

2016-08-17 Thread Kirk Brooks
Yeah, if you don't specify the return type it comes back as text - usually, ie. C_OBJECT($object) C_DATE($date) C_TEXT($key;$dateStr) $key:="current_date" OB SET($object;$key;Current date(*)) $dateStr:=OB Get($object;$key) $date:=OB Get($object;$key;Is date) On Tue, Aug 16, 2016 at 5:46 PM,

Searching for different fonts

2016-08-17 Thread Pino Todesco
Hi All, Does anyone have any ideas on how I can find all of the different fonts (and where they are used). Over the years the layouts have gathered a large amount of 'legacy' fonts and I'd like to clean them up...but it's too big a job to do manually RegardsPino

Re: c_objects and dates

2016-08-17 Thread Bertrand SOUBEYRAND
> Le 17 août 2016 à 08:34, Kirk Brooks a écrit : > > Yeah, if you don't specify the return type it comes back as text - usually, > ie. > > C_OBJECT($object) > C_DATE($date) > C_TEXT($key;$dateStr) > > $key:="current_date" > > OB SET($object;$key;Current date(*)) >