Hi All
I have been updating a database from V13 to V16R6, and an eagle eyed
user spotted an apparent rounding error when converting a real to text.
When InvProduct is 210.5497748441
pInvProduct:=""+String(InvProduct;"###,###,###,###,##0")
In V13.5 this code gave : 211
In V16R6 you get 210.
Forget that last one. There was a rounding error, but not here.
The problem was actually here:
tProduct:=String(InvProduct;"&3")
In V13.5 I get 2.10e+2 when InvProduct is 210.5497748441
In V16R6 I get 2.11e+002.
So this has been fixed somewhere along the line.
Sorry for wasting bandwidth
Uis
Hi,
I am familiar with plugins to print barcodes, but don’t know what interface is
needed to get 4D to read barcodes from barcode wands, etc. Does anyone have
advice or recommendations?
Thanks,
Michael Ferguson
Objective Systems
I recall doing this for a client a few years ago. As I recall, the barcode
reader is just another input device, so as long as it has a USB connection
you can just plug it in and read data into a field.
Pat
On Fri, 24 Aug 2018 at 14:52, mferguson--- via 4D_Tech <4d_tech@lists.4d.com>
wrote:
> Hi,
Most barcode readers also let you add a character to the start and end of a
barcode. If you need more control than just entering the data into the current
field, you can trap for these characters to position the cursor into the field
that needs to accept the scan.
For example, the character STX
If the barcode scanner is a USB-HID device then it just acts like a keyboard.
If you have access to the summit content there was a session a while back:
http://kb.4d.com/assetid=77624
-Tim
Sent from my Verizon, Samsung Galaxy smartphone
Original message
From: mferguson---
Good morning all,
Can someone direct me to very simple SVG example?
Thanks!
Ed Glassgow
glass...@pcisys.net
**
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailma
A basic approach could be like this:
---
C_TEXT($svg;$ref)
C_PICTURE($pict)
$svg:=SVG_New // this new svg document is referred to as "$svg"
$ref:=SVG_New_rect ($svg;10;10;100;100) // refer to this new rectangle in
"$svg" as "$ref"
SVG_SET_FILL_BRUSH ($ref;"red")
$pict:=S
Very cool... Thank you Keith!
Ed
On 8/24/18, 10:11 AM, "4D_Tech on behalf of Keith Culotta via 4D_Tech"
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:
---
C_TEXT($svg;$ref)
C_PICTURE($pict)
$svg:=SVG_New // this new svg doc
Hi,
A command that I find very useful is the SVGTool_SHOW_IN_VIEWER command.
You pass the SVG document to it and it will display it in a new window which
also allows you to toggle to it's XML source.
Piggybacking off the earlier example:
C_TEXT($svg;$ref)
C_PICTURE($pict)
$svg:=SVG_New // th
That's a marvelous tip Tai! Thank you...
Ed
On 8/24/18, 10:45 AM, "Tai Bui" wrote:
Hi,
A command that I find very useful is the SVGTool_SHOW_IN_VIEWER command.
You pass the SVG document to it and it will display it in a new window
which also allows you to toggle to it's XML
I asked this before, but never saw a response, or maybe I imagined that
I asked it (always possible)..
Anyway...
is there a way to increase the number of items in the 'Open Recent
Databases' menu?
Thanks
Chip
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for
Hello,
A compiled component of mine is throwing an error message from within a host
database.
It is correct to display the error message under its current conditions.
However, the error is reported on line 35 of the offending method, but the
method has only 25 lines, blank lines and all.
Any id
Hi,
From what I was able to decipher in similar instances, it seems to be the line
number in the method that calls the component method.
It's very (un)helpful and it's even worse if you do have more lines in the
component method, as you can spend a lot of time trying to debug something like
$i
Thanks! That makes sense.
Keith - CDI
> On Aug 24, 2018, at 3:12 PM, lists via 4D_Tech <4d_tech@lists.4d.com> wrote:
>
> Hi,
>
> From what I was able to decipher in similar instances, it seems to be the
> line number in the method that calls the component method.
>
> It's very (un)helpful an
I'm running v17 standalone and remote on Mojave with no issues...
Scott Wirth
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
16 matches
Mail list logo