Trying to make a PDF under Windows 10 as PDFCreator does not work on the
client’s machine.
The following code does not work (unable to start print job):
$PDFPath:="C:\\"
$PDFPrinter:="Microsoft Print to PDF"
ARRAY TEXT($Name1;0)
PRINTERS LIST($Name1)
If (Find in array($Name1;$PDFPrinter)>0)
SET
Thanks Tim,
it appears to have been one or more damaged indices
Cihp
On Tue, 02 Oct 2018 16:00:36 -0500, Tim Nevels via 4D_Tech wrote:
> On Oct 2, 2018, at 2:00 PM, Chip Scheide wrote:
>
>> given this table configuration
>>
>> Animal <-- Animal_Sample_Link ---> Samples
>>
>> if
Keith,
I agree with you about using Form in lieu of process vars. As a rule I like
to keep 'the data' separate from 'all the other stuff' to make it easier to
debug the data and to be able to encapsulate the various methods used to
create those other things.
thinking about I could see a rule of
I'm new enough with collections and entities not to have a good sense of what
techniques are most efficient. I have been thinking of Form as a communication
vehicle to be loaded and unloaded, and a way to avoid process variables.
Arrays would need to be packed and unpacked, but Example 11 on
Keith,
Sure, if having the choice list in the data object is relevant. Depends on
how the form is set up I think. Typically I would pass a data object to a
form or subform to be populated with data or allow the user to edit it. I
make the form for a particular kind of operation. Right now I'm
On Oct 2, 2018, at 2:00 PM, Chip Scheide wrote:
> given this table configuration
>
> Animal <-- Animal_Sample_Link ---> Samples
>
> if there is at least 1 [Sample_Animal_Link] record shouldn't the
> following code load the animal record(s)?
>
>
or for each value of ChoicesArray: OB SET(Form;"ChoicesArray"+string($i);
ChoicesArray{$i}) ?
Keith
> On Oct 2, 2018, at 3:10 PM, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
> You can save ChoicesArray to the Form object with OB SET
> ARRAY(Form;"myarr";ChoicesArray).
>
Chris,
As you found arrays are not supported for use with Form. Objects like a
combo box are aren't that hard to do but until they support a collection as
the data source you have to manage them in classic 4D fashion. Which means
you can shuffle an array around using OB SET/GET ARRAY and some
You can save ChoicesArray to the Form object with OB SET
ARRAY(Form;"myarr";ChoicesArray).
http://doc.4d.com/4Dv17/4D/17/OB-SET-ARRAY.301-3730702.en.html
Also 'JSON Stringify array' will produce a string that can be reconstituted
with JSON PARSE ARRAY.
FORM.myarr:=$stringifiedArray
I am trying to make a ComboBox object that is local to the Form. Hence I need
the Array to be a Form. object
ARRAY TEXT(Form.ChoicesArray;0) does not work;
Trying to get the data into a COLLECTION and then use COLLECTION TO ARRAY
(which should define the array easily) does not work:
given this table configuration
Animal <-- Animal_Sample_Link ---> Samples
if there is at least 1 [Sample_Animal_Link] record shouldn't the
following code load the animal record(s)?
QUERY([Sample_Animal_Link];[Sample_Animal_Link]Sample_ID=[Samples]Sample_ID)
RELATE ONE
Offline Data collection system
I have in place such a system that does that via PDF enterable form.
A Work Order is generated out of 4D creating multiple enterable PDF document
saved into Drop Box shared directory. I am using a plugin from Pluggers
software called QPDF. This tool allows me
Ken,
We have two similar use cases linked to our i.LEVEL solution.
Order Taker - This is for sales agents throughout Europe selling a large range
of fashion clothing and jewellery
Store Controller - This is for concession store managers travelling the country
visiting their concessions in
13 matches
Mail list logo