Date   

Re: Magic XPA 3.2 with DevExpress

Todd Baremore
 

Herbert,

In the "Dot Net 3rd Party Samples"  take a look at "DevExpress Navigation Bar" and "DevExpress Ribbon".  There are examples for both Online and RIA.

Todd


On 6/10/2017 12:41 PM, Herbert Fehlauer wrote:

Hello everyone,

 

we are Magic-developer since more than 20 years.

We actually migrate our software from UniPass 1.9 to XPA 3.2 and try to „renovate“ a lot of our templates with Winform controls from Microsoft or devExpress

(Ribbon with Sub-Menus, Items and links, Popup-Menus, Navigation Bars,  etc.)

 

In the append Document you see our wishes/problems and we need some start-help.

 

Question:

Is it possible to get some simple Magic Xpa Sample-Codes for create Ribbons with this controls ?

We try to fill this Ribbons with our hirarchy menu-data from the SQL-database.

 

 

Sincerely

 

Herbert Fehlauer

CEO

 

 

GTSdata GmbH & Co. KG

Zinngießerstr. 12

31789 Hameln

 

 

 



Magic XPA 3.2 with DevExpress

Herbert Fehlauer
 

Hello everyone,

 

we are Magic-developer since more than 20 years.

We actually migrate our software from UniPass 1.9 to XPA 3.2 and try to „renovate“ a lot of our templates with Winform controls from Microsoft or devExpress

(Ribbon with Sub-Menus, Items and links, Popup-Menus, Navigation Bars,  etc.)

 

In the append Document you see our wishes/problems and we need some start-help.

 

Question:

Is it possible to get some simple Magic Xpa Sample-Codes for create Ribbons with this controls ?

We try to fill this Ribbons with our hirarchy menu-data from the SQL-database.

 

 

Sincerely

 

Herbert Fehlauer

CEO

 

 

GTSdata GmbH & Co. KG

Zinngießerstr. 12

31789 Hameln

 

 

 


Re: UTF8 xml to blob

 

Arie,

Upgrade to Magic xpa 3.x. You will have support for the BOM characters and you won't lose it.


XPA 3.2b Android SMS Listener

Todd Baremore
 

I need my Android app to listen for SMS/Text messages from one or more sources.
The only SMS samples or documentation I can find is for sending.

Has anyone had luck with this?

Todd


Re: XPA 3.2b Expression Editor crashes

Todd Baremore
 

Same here. All is well. Very happy with the Android fixes I asked for.

Todd

On 6/8/2017 10:13 PM, Varga Péter wrote:
I downloaded and applied the patch, after that, everything is work fine.


Re: Magic v9.4 Crash during convert

Steven Blank
 

André,

So, now that everyone has offered their favorite workaround to this ubiquitous annoyance, maybe you'd like to know WHY it occurs in the first place? If so, read on.
When Magic "converts" a Btrieve data file, it always follows the same modus operandi:
(1) Create a new, empty data file having the new file structure but with a temporary name
(2) Begin a transaction
(3) Read a record from the old data file
(4) Modify the record to conform to the new structure
(5) Insert the modified record into the new data file
(6) Repeat steps 3-5 until all records have similarly been read, modified, and inserted
(7) Commit the transaction
(8) Either delete the old data file or rename it, as specified by the user
(9) Rename the new data file to the old file name
These same exact steps are performed regardless of the nature of the change, be it adding, modifying, or removing one or more fields and/or indexes. The problem occurs because Magic attempts to wrap operation within a single transaction, steps 2 and 7.

As to the why: with Btrieve, all modifications (inserts, updates, and deletes) that are made within the scope of a transaction are held IN CACHE for the duration, until the transaction is either committed or aborted. As the size of the data file increases, so also therefore increases the amount of cache consumed during the conversion. If the file is large enough, the MKDE's cache will be completely consumed and when this happens, the MKDE throws an error #100 and Magic sh!ts the bed. This is why increasing the size of the MKDE's cache is sometimes enough to allow one to successfully complete a file conversion that had previously failed.

Bottom line: I have never understood why the original developers felt the need to invoke a transaction during a file conversion, as there is literally NO need, nor any benefit whatsoever to be had, by doing so.

So now you know. You're welcome. ;)

Steve Blank


Re: How to overcome 'Duplicate Index error' in Magic xpa #-1

Wes Hein
 

I have a program that selects the next number then links to the table to see if it exists.  In the record suffix I put a while block that ends when the link returns false, then sends the next number back.  I store the last number so it doesn't have to start from the beginning each time.

Wes


Re: Active row with border #chat

Gábor Bor
 

Dear Florian,

It's works fine, thank you! But i have an other problem with it. I would like to combine that Frame with a background colour, like a light blue background with a dark border on the active row, but the BG color disables the border.

Did you meet with that problem before? We would like to use this option on our most used forms to highlight the current content. :(

Best Regards,
Gábor


Re: How to overcome 'Duplicate Index error' in Magic xpa #-1

Florian Groothuis
 

If you swich to create  mode and determine your OrderID the record is not written yet. So when the record ís written it is possible that another user created a new order too but was earlier with saving his record.

Set the OrderID to it’s maximum + 1, so if it is 4 digits set it to 10.000. In the RecordSuffix you can determine the real OrderID bij LastOrderID+1 and write the record

or

On create mode start a subtask to create the orderheader and then let the user specify the orderheader in ModifyMode

 

Gr

Florian

 

Van: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io] Namens abinaya.arokiadoss@...
Verzonden: vrijdag 9 juni 2017 11:39
Aan: main@magicu-l.groups.io
Onderwerp: [magicu-l] How to overcome 'Duplicate Index error' in Magic xpa #-1

 

I am using logic 'Last OrderID +1 = New OrderID' to write data in DB, while placing a new order. It gives me 'Duplicate Index error'. How to achieve this?

Met vriendelijke groet - With kind regards,

Florian Groothuis
Analist/programmeur
+31 (0)6 21927914


meilink.eu

Meilink Beheer Borculo B.V. • Kamerlingh Onnesstraat 1
7271 AZ  Borculo • Nederland • +31 (0)545 253525
KvK 08009803 • Our general terms and conditions apply • Disclaimer



Re: How to overcome 'Duplicate Index error' in Magic xpa #-1

Nenad M <nenadmu@...>
 

Did you check other unique indexes?
 
Kind regards/Lijep pozdrav
Nenad Mustafic



On Friday, June 9, 2017 11:39 AM, "abinaya.arokiadoss@..." <abinaya.arokiadoss@...> wrote:


I am using logic 'Last OrderID +1 = New OrderID' to write data in DB, while placing a new order. It gives me 'Duplicate Index error'. How to achieve this?



Re: How to overcome 'Duplicate Index error' in Magic xpa #-1

Florian Groothuis
 

This could depend on a lot of things:

 

-       What DB are you using?

-       How do you determine Last OrderID?

-       How did you define your DB-tables in your program?

 

Gr

Florian

 

Van: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io] Namens abinaya.arokiadoss@...
Verzonden: vrijdag 9 juni 2017 11:39
Aan: main@magicu-l.groups.io
Onderwerp: [magicu-l] How to overcome 'Duplicate Index error' in Magic xpa #-1

 

I am using logic 'Last OrderID +1 = New OrderID' to write data in DB, while placing a new order. It gives me 'Duplicate Index error'. How to achieve this?

Met vriendelijke groet - With kind regards,

Florian Groothuis
Analist/programmeur
+31 (0)6 21927914


meilink.eu

Meilink Beheer Borculo B.V. • Kamerlingh Onnesstraat 1
7271 AZ  Borculo • Nederland • +31 (0)545 253525
KvK 08009803 • Our general terms and conditions apply • Disclaimer



How to overcome 'Duplicate Index error' in Magic xpa #-1

abinaya.arokiadoss@...
 

I am using logic 'Last OrderID +1 = New OrderID' to write data in DB, while placing a new order. It gives me 'Duplicate Index error'. How to achieve this?


Re: XPA 3.2b Expression Editor crashes

Govert Schipper
 

Thanks Todd, the download works now.




Van: main@magicu-l.groups.io <main@magicu-l.groups.io> namens Todd Baremore <tbaremor@...>
Verzonden: donderdag 8 juni 2017 16:53
Aan: main@magicu-l.groups.io
Onderwerp: Re: [magicu-l] XPA 3.2b Expression Editor crashes
 

On 6/8/2017 4:54 AM, Govert Schipper wrote:

Still not working...




Van: main@magicu-l.groups.io <main@magicu-l.groups.io> namens Todd Baremore <tbaremor@...>
Verzonden: woensdag 7 juni 2017 17:05
Aan: main@magicu-l.groups.io
Onderwerp: Re: [magicu-l] XPA 3.2b Expression Editor crashes
 

Try it now.


On 6/7/2017 8:40 AM, Govert Schipper wrote:

Tried to download the patch but the page seems to be down.




Van: main@magicu-l.groups.io <main@magicu-l.groups.io> namens DarKWateR <darkwater2k2@...>
Verzonden: dinsdag 6 juni 2017 08:14
Aan: main@magicu-l.groups.io
Onderwerp: Re: [magicu-l] XPA 3.2b Expression Editor crashes
 
MSE published a new patch, surely is the correction of this error.



Re: UTF8 xml to blob

Rob Schapendonk
 

Arie,

 

Try UnicodeFromANSI (ExpCalc('12'EXP),65001)

 

Where 65001 is the UTF-8 codepage identifier..

 

And ExpCalc('12'EXP) is your HTTPCALL.

 

 

Rob

 

Van: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io] Namens Arie Zijlstra
Verzonden: dinsdag 6 juni 2017 14:58
Aan: main@magicu-l.groups.io
Onderwerp: [magicu-l] UTF8 xml to blob

 

Hello group,

I have an XML file with utf8 encoding. It has a UTF8 BOM. That means the file starts with 3 bytes (0xEF,0xBB,0xBF) to mark that it is a UTF-8 file

If I use file2blb to a blob (type binary, not unicode or ansi) it transforms it to unicode. Every character is now 2 bytes. This makes the xml useless if I would make a file of the blob again. Unipaas cannot read the xml anymore.

Has anyone had this problem before? The only workaround I can think of now is zipping the xml first and store the zip or to store the xml on disk

version: unipaas 1.9d

Thanks,
Arie


Re: XPA 3.2b Expression Editor crashes

VPe
 

I downloaded and applied the patch, after that, everything is work fine. 


Re: Android barcode scanning

Jordan Slappendel
 

Hi Tim,

We are using ZBar in some of our application and it works perfectly and responds quickly.
Happy to show you what we have done.

Thanks
Jordan

Kind Regards


Jordan Slappendel


PO Box 1186, Rotorua, New Zealand
Ph Office: +64 7 350 1174 DDI: +64 7 282 2431 Fax: +64 7 350 1185

This e-mail and any attachments may contain confidential and privileged information.  If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this e-mail and destroy any copies.  Any dissemination or use of this information by a person other than the intended recipient is unauthorised and may be illegal.


On Thu, Jun 8, 2017 at 9:06 PM, Tim Downie <tim_downie@...> wrote:

Hi - Does any one know the best barcode scanning option with android in 3.2? is it still the BarcodeZBar.open like in the samples or is there a better option?


Thanks



Re: Android barcode scanning

Diego Bale
 

Hello Tim.
We implemented a barcode reader in xpa2.5d in an android app. But it was with pic2shop
The tests with zbar failed, that's why we used the other one...


Re: XPA 3.2b Expression Editor crashes

Todd Baremore
 

On 6/8/2017 4:54 AM, Govert Schipper wrote:

Still not working...




Van: main@magicu-l.groups.io <main@magicu-l.groups.io> namens Todd Baremore <tbaremor@...>
Verzonden: woensdag 7 juni 2017 17:05
Aan: main@magicu-l.groups.io
Onderwerp: Re: [magicu-l] XPA 3.2b Expression Editor crashes
 

Try it now.


On 6/7/2017 8:40 AM, Govert Schipper wrote:

Tried to download the patch but the page seems to be down.




Van: main@magicu-l.groups.io <main@magicu-l.groups.io> namens DarKWateR <darkwater2k2@...>
Verzonden: dinsdag 6 juni 2017 08:14
Aan: main@magicu-l.groups.io
Onderwerp: Re: [magicu-l] XPA 3.2b Expression Editor crashes
 
MSE published a new patch, surely is the correction of this error.



Android barcode scanning

Tim Downie
 

Hi - Does any one know the best barcode scanning option with android in 3.2? is it still the BarcodeZBar.open like in the samples or is there a better option?


Thanks


Re: XPA 3.2b Expression Editor crashes

Govert Schipper
 

Still not working...




Van: main@magicu-l.groups.io <main@magicu-l.groups.io> namens Todd Baremore <tbaremor@...>
Verzonden: woensdag 7 juni 2017 17:05
Aan: main@magicu-l.groups.io
Onderwerp: Re: [magicu-l] XPA 3.2b Expression Editor crashes
 

Try it now.


On 6/7/2017 8:40 AM, Govert Schipper wrote:

Tried to download the patch but the page seems to be down.




Van: main@magicu-l.groups.io <main@magicu-l.groups.io> namens DarKWateR <darkwater2k2@...>
Verzonden: dinsdag 6 juni 2017 08:14
Aan: main@magicu-l.groups.io
Onderwerp: Re: [magicu-l] XPA 3.2b Expression Editor crashes
 
MSE published a new patch, surely is the correction of this error.

10961 - 10980 of 195966