Dexterity was designed as multiplatform technology (primarily Btrieve, Ctree, SQL Server, potentially Oracle). Dexterity data retrieving mechanism is based on Range start, Range End, Get First and Get Next clauses. It is in fact similar, however a little bit slower to cursors in Transact SQL. Long ranges in Dexterity are good candidates for replacement by SQL stored procedures with update clause.
For example, consider to replace following Dexterity code:
Range clear SOP_HDR_WORK.
Clear 'SOP Type' of table SOP_HDR_WORK.
Clear 'SOP Number' of table SOP_HDR_WORK.
Range start table SOP_HDR_WORK.
Get first table SOP_HDR_WORK.
While errEOF do
If 'Salesperson ID' of table SOP_HDR_WORK = "ERIC" then
Edit table SOP_HDR_WORK.
Set 'Salesperson ID' of table SOP_HDR_WORK to "BILL".
Save table SOP_HDR_WORK.
End if.
Get next table SOP_HDR_WORK.
End while.
With the following SQL code
Update SOP10100 set SLPRSNID="BILL" where SLPRSNID="ERIC"
Bringing new data into a table in Dexterity is based on change/edit table clauses, in SQL they are equivalent (by performance) to inserting one record at the time.
When having long cycle of change/edit table in Dexterity, consider replacement by SQL stored procedure with Insert Into clause.
The easy way to call Crystal Report from your VBA code from your modified form:
Const RPT = "D:ClientsTheClientInvoice Status.rpt"
Public crwApplication As CRPEAuto.Application
Public crwReport As CRPEAuto.Report
Private Sub Print_BeforeUserChanged(KeepFocus As Boolean, CancelLogic As Boolean)
If SalesTransactionInquiryZoo.Type = "Invoice" Then
If crwApplication Is Nothing Then
Set crwApplication = CreateObject("Crystal.CRPE.Application")
End If
Set crwReport = crwApplication.OpenReport(RPT)
crwReport.ParameterFields(1).SetCurrentValue (DocumentNo)
crwReport.Preview
End If
3. Use Direct .Net Web Publishing from Great Plains Database
The easiest and safest way is to use eConnect - SDK with VB samples, created for eCommerce programmers and web designers to call the functionality in Microsoft Great Plains. If your company can not afford eConnect - create your own set of stored procedures to address Great Plains database and go ahead with Visual Studio.Net to do the web publishing.
Happy upgrading and customizing! if you want us to do the job - give us a call 1-866-528-0577! help@albaspectrum.com
Andrew Karasev is Chief Technology Officer in Alba Spectrum Technologies ? USA nationwide Microsoft CRM, Microsoft Great Plains customization company, based in Chicago, California, Texas, New York, Georgia, Arizona, Minnesota, Washington, Colorado and Florida and having locations in multiple states and internationally (help@albaspectrum.com), he is Dexterity, SQL, C#.Net, Crystal Reports and Microsoft CRM SDK developer.
reliable maid service Highland Park ..Our company, Novaprof Inc., developed unique software - DB Integration.... Read More
This short paper will expand on two key reasons to... Read More
Our hosted solution allow you to run your own search... Read More
Software development is a risky business.Many software developers are barely... Read More
A LOT OF UNWANTED FILES.When you uninstall an item of... Read More
If you have Microsoft Great Plains and support it... Read More
In today's business world it's all but impossible to escape... Read More
What is RAID RECOVERY?RAID stands for Redundant Array of Inexpensive... Read More
MSN messenger is a pretty cool invention. I mean I'm... Read More
Which Type of Shop Can Rely On A Home Built... Read More
Remember old good days when your company probably had Great... Read More
Shareware has been fighting the stigma of being misunderstood for... Read More
Writing software manuals is boring, isn't it? We often think:... Read More
Well, even if the combination might look very unusual, we... Read More
As we could imagine, if you are reading this article... Read More
One of the things we can be as certain of... Read More
For a windows user like me, just can watch with... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics/eEnterprise... Read More
This article is for advanced Microsoft CRM SDK C# developers.... Read More
I love new technology. I am still ready to wait... Read More
It is really interesting that a bug can create problem... Read More
Microsoft Great Plains - Microsoft Business Solutions accounting and ERP... Read More
Bill of Lading is required report for Logistics and Freight... Read More
Midsize business or non-profit organization should decide if one-vendor solution... Read More
Security flaws have long plagued Internet Explorer (IE), the market-dominating... Read More
house cleaning company Lincolnshire ..Executive SummaryAn effective plan for entering, cleaning and updating the... Read More
During the years of our consulting practice, which comes back... Read More
Microsoft Business Solutions CRM is present several years on the... Read More
Beginning with Domino version R4 it has integration with the... Read More
This is intermediate level SQL scripting article for DB Administrator,... Read More
All your software is stored on a hard-drive. But how... Read More
Rapid Application Development (RAD) is a software development methodology. In... Read More
Microsoft Business Solutions Small Business Manager is Great Plains Dexterity... Read More
Although we don't know whether Microsoft ever envisioned such a... Read More
If you have Great Plains Dynamics/eEnterprise (version 6.0 or earlier)... Read More
I like my software simple. If it's too complex or... Read More
Microsoft Business Solutions Great Plains has Project Accounting module where... Read More
Microsoft Great Plains is main Microsoft Business Solutions product, targeted... Read More
Preventive Maintenance (PM) is defined as scheduled work done on... Read More
It is a well known fact that Java as a... Read More
It would be easy to think, like most people apparently... Read More
Linux essentials:It's free for download but you have to pay... Read More
While Adobe is the most known maker of PDF tools,... Read More
The Software 2005 conference is now a wrap. This conference,... Read More
I provide, here clear explanations and a count of function... Read More
Customer Relationship Management or CRM is a combination of enterprise... Read More
With so many Microsoft Windows related viruses, errors, and other... Read More
When you visit department stores and see that majority of... Read More
Anti-virus software is used to find, remove or fix files... Read More
In the case when you represent mid-size or mid-size-to-large business,... Read More
Software |