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:
|
||||
|
||||
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.
toggle quoted messageShow quoted text
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
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.
|
||||
|
||||
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
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@...
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
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
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@...
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?
|
||||
|
||||
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 Govert, This is the link I am using: Todd
On 6/8/2017 4:54 AM, Govert Schipper wrote:
|
||||
|
||||
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
Hello group,
|
||||
|
||||
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:
|
||||
|
||||
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
Govert, This is the link I am using: Todd
On 6/8/2017 4:54 AM, Govert Schipper
wrote:
|
||||
|
||||
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:
|
||||
|