Bill Weale | 19 Jun 2013 15:32

Cache purging

What triggers 4D to clear its cache?

Anything other than % of cache left?

Any idea if there is a % used below which it won't try?

Thanks,

Bill

William W. Weale, III

Business Owners Support, LLC.

Operations Analysis
MIS Advising
Decision Support Systems

**********************************************************************
4D v13 is available now - with more than 200 new features to make
your applications richer and faster
http://www.4d.com/products/new.html

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-Unsubscribe@...
**********************************************************************

(Continue reading)

Ancel Sherrard | 19 Jun 2013 15:14
Picon

GET DATA SOURCE LIST mystery

Windows 7 server, 4D v12 client/server

The following code on the 4D server returns a list of system DSN's in
$atName.

ARRAY TEXT($atName;0)
ARRAY TEXT($atDriver;0)
GET DATA SOURCE LIST(System Data Source;$atName;$atDriver)

The only problem is that it returns DSN's that were created on the server a
year ago, but now changes made using the ODBC data source administrator do
not appear in the array.

The IT person who originally created the DSN's for me is no longer there, so
I don't know how he got into the server to create the DSN's (i.e., what
privileges he had). But now it is my task to update them. Is there some sort
of access privileges issue at work here? Or even possibly some sort of cache
in 4D that is not being updated? 

Ancel Sherrard
Sherrard & Howard Consulting

**********************************************************************
4D v13 is available now - with more than 200 new features to make
your applications richer and faster
http://www.4d.com/products/new.html

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
(Continue reading)

Ortwin Zillgen | 19 Jun 2013 08:49
Picon
Favicon

Re: Event publishing from 4D

> Thanks Julio - I will check it out
> 
> On Wednesday, 19 June 2013, Julio Carneiro wrote:
> 
>> try: http://kb.4d.com/assetid=35197

<http://dddd.mettre.de/icsoutlook.shtml>

Regards
O r t w i n  Z i l l g e n
---------------------------------------------
<mailto:info@...>   <http://dddd.mettre.de?4713>
<feed://dddd.mettre.de/dddd.xml> <https://twitter.com/Ozett>
member of developer-network <http://www.die4dwerkstatt.de>

**********************************************************************
4D v13 is available now - with more than 200 new features to make
your applications richer and faster
http://www.4d.com/products/new.html

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-Unsubscribe@...
**********************************************************************

Cannon Smith | 19 Jun 2013 00:24

EXPAND BLOB Crashing v13.3 Occasionally

Hi All,

I'm trying to track down some crashing that started when I upgraded a couple customers from v13.2 to v13.3.
I've been able to collect two debug logs so far and both indicate the EXPAND BLOB command is not finishing.
So far I haven't been able to detect any pattern as far as a certain blob causing it or anything else, but both
customers are getting several crashes a day.

I'm just wondering if anyone else is seeing the same thing? If so, do you have any knowledge on what is
happening that might help me narrow this down?

Thanks much.

--
Cannon Smith
Synergy Farm Solutions Inc.
Hill Spring, AB Canada
403-626-3236
<cannon@...>
<www.synergyfarmsolutions.com>

**********************************************************************
4D v13 is available now - with more than 200 new features to make
your applications richer and faster
http://www.4d.com/products/new.html

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-Unsubscribe@...
(Continue reading)

Peter Jakobsson | 18 Jun 2013 18:51

What does PRINT SELECTION(>) do ?

Hi

I thought I'd try and clear up a 10 year confusion for myself.

I'm using PRINT SELECTION for several reports at once but I only want the user to have to see one set of print dialogs.

Up until now I've done it this way:

PRINT SETTINGS

PRINT SELECTION([REPORT1];*)
PRINT SELECTION([REPORT2];*)
PRINT SELECTION([REPORT3];*)

And it generally works. But some things don't get remembered, for example if I choose the "Print Preview"
option in the PRINT SETTINGS options, only the first report respects it, the rest get sent to the printer so
I've usually just implemented my own "Print Preview" option in code and called SET PRINT PREVIEW before
each of the reports.

The I tried PRINT SELECTION(REPORT1; > )  (with the chevron instead of the star). But the results are exactly
the same.

I'm never really sure if 4D is remembering anything between print runs or not and the reports are just
working by luck - using the default values.

Can someone set me straight on these once and for all ? What is the best practice considered to be for multiple
print runs ?

Thanks a lot.

(Continue reading)

Pat Bensky | 18 Jun 2013 00:44
Picon

Why NOT compile for 64-bit?

There's an option in Compiler Options to "Also compile for 64-bit
processors." Is there some reason NOT to do this?

-- 
*************************************************
CatBase - The Database Publishing Solution
tel: +44 (0) 1462 454522
w: http://www.catbase.com
skype: pat.bensky
*************************************************

**********************************************************************
4D v13 is available now - with more than 200 new features to make
your applications richer and faster
http://www.4d.com/products/new.html

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-Unsubscribe@...
**********************************************************************

Tony Ringsmuth | 17 Jun 2013 17:25

Code to generate SVG of a database Tables Schema

I'm looking for code to make an SVG picture of a 4D database
schema/structure, similar to the "Structure" window in 4D.

Does anyone have code to do this that they'd be willing to share?

TIA,

--
Tony Ringsmuth
Business Brothers Inc.
763-420-8686 

**********************************************************************
4D v13 is available now - with more than 200 new features to make
your applications richer and faster
http://www.4d.com/products/new.html

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-Unsubscribe@...
**********************************************************************

Ortwin Zillgen | 15 Jun 2013 17:59
Picon
Favicon

Re: Widgets vs Form Pages

> Having now developed a few custom widgets I am starting to wonder if I
> should replace form pages with widgets.
> 
> Just have a subform area on Page 1 and set different widgets to it as
> required. In theory and without having seriously tried it out, I think I
> like the idea.
> 
> Any thoughts?

as of V13
definitely use subforms/widgets instead of form-pages

If we als had some options like
-	fade in/fade out
-	move in/move out
-	exchange speed: 2 sec
we could even get smooth transitions, our customers are used to from iPad and the like.

Regards
O r t w i n  Z i l l g e n
---------------------------------------------
<mailto:info@...>   <http://dddd.mettre.de?4713>
<feed://dddd.mettre.de/dddd.xml> <https://twitter.com/Ozett>
member of developer-network <http://www.die4dwerkstatt.de>

**********************************************************************
4D v13 is available now - with more than 200 new features to make
your applications richer and faster
http://www.4d.com/products/new.html

(Continue reading)

Chip Scheide | 15 Jun 2013 16:12

overloaded subform term

the term 'subform' in 4D is really overloaded.

While maybe no one else cares I often find it confusing.
subform - a widget
subform - a 4d native included are showing related records
subform - might be a list box
subform - (legacy) an included area showing subrecords
subform - might be an Area list pro object

There might be more uses for the word. Of the above possible uses for the term, all but one always references a
display area which shows related record information. Most often in a listing style format, on an input form.

subform in the context of widgets does not necessarily mean a listing formatted display area, nor does it
necessarily even mean displaying related record information, and while I haven't not used these yet, I do
not believe that they even need only be on entry forms.

personally, I would like to see/hear either the term 'widget' used exclusively for widgets, or some other
term used to describe/reference them, other then 'subform'
------------
Hell is other people 
     Jean-Paul Sartre

**********************************************************************
4D v13 is available now - with more than 200 new features to make
your applications richer and faster
http://www.4d.com/products/new.html

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
(Continue reading)

miyako | 15 Jun 2013 12:10

Re: Widgets vs Form Pages

Hello,

I am glad you threw the subject into the discussion.

because,

widgets on page 2+ is a completely different ballgame.

I kind of touch on the issue in my Summit 2012 session notes,
but basically you need to write 2 sets of codes,
1 when the widget is loaded on page 0/1,
and another when the widget is loaded on page 2+, or if FORM GOTO PAGE was used to go back to page 1.

in 13 we have the new form event On Page Change,
in v12 we have the widget implementation of the form event On Load (which will fire in a different context to
its regular counterpart;
more similar to On Page Change) as well as various hacks that include SET TIMER(-1) and the like.

but to answer directly to your question,
I think you should set the minimum requirements to v13.
O SET SUBFORM, O GET SUBFORM CONTAINER SIZE, etc,
is not available in v12,
and though there are hacks to get around that issue,
I think it is fundamentally a hostile platform to create a widget that takes care of itself,
regardless of the context in which it is used.

miyako

On 2013/06/15, at 12:43, Chris Curnow <chris@...> wrote:

(Continue reading)

Arnaud de Montard | 15 Jun 2013 11:34
Picon

Re: Widgets vs Form Pages


Le 15 juin 2013 à 05:43, Chris Curnow a écrit :

> Having now developed a few custom widgets I am starting to wonder if I
> should replace form pages with widgets.
> 
> Just have a subform area on Page 1 and set different widgets to it as
> required. In theory and without having seriously tried it out, I think I
> like the idea.
> 
> Any thoughts?

Hi, 
this is v12, but still interesting:
<http://dddd.mettre.de/ui_update.shtml#nebeninfos_en>

semantic parenthesis… even if they are similar in technology, I'd distinct "subforms" and "widgets",
considering a widget as a reusable component with interface, while a subform is app-dependant. 

--

-- 
Arnaud de Montard

**********************************************************************
4D v13 is available now - with more than 200 new features to make
your applications richer and faster
http://www.4d.com/products/new.html

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
(Continue reading)


Gmane