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.
no-contract cleaning service Mundelein ..Formatting and reinstalling windows 98 is very easy if you... Read More
The purpose of one of our projects was MS Exchange... Read More
Microsoft Business Solutions Great Plains was designed back in the... Read More
Follow the steps below to quickly design, generate, and deploy... Read More
Accounts payable is just one area of office management where... Read More
Document Manager and Version HistoryIn previous articles I have discussed... Read More
Microsoft CRM and IBM Lotus Notes Domino seem to be... Read More
If you have Microsoft Great Plains and support it for... Read More
Microsoft Retail Management (RMS) and Microsoft Great Plains are retail... Read More
No matter how much you enjoy your favorite screensavers, sometimes... Read More
The research in the field of Natural Language Processing usually... Read More
Is your PC is slow and wimpy? Then you need... Read More
For those who are unclear on the differences between the... Read More
At the end of XX century, in the late 1990th... Read More
Microsoft Great Plains and Microsoft CRM become more and more... Read More
If you've been using MySQL database to store your important... Read More
The cornerstone of successful automated office systems is the ability... Read More
Microsoft Business Solutions Great Plains is very good fit for... Read More
Microsoft Great Plains is main Microsoft Business Solutions accounting package... Read More
There is many things more frustrating than surfing a website... Read More
I've been active in the Cisco Certification track for four... Read More
And kill the best layout software in the process of... Read More
Microsoft Business Solutions main middle market ERP application - Microsoft... Read More
People often ask me: What image file formats will Photoshop... Read More
An operating system (abbreviated OS) is essentially the path through... Read More
maid service near Glenview ..Now is the time to look at an alternative to... Read More
Finally, you have some time to personalize your desktop with... Read More
.NET platform does not support multiple inheritance. Do not confuse... Read More
Blue Cross and Blue Shield of Hawaii (HMSA) found itself... Read More
We all already got used to computer monitoring both at... Read More
At the end of XX century, in the late 1990th... Read More
All your software is stored on a hard-drive. But how... Read More
Microsoft Business Solutions Navision is main ERP application for European,... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
Intro This concise article will tell you in plain English... Read More
Microsoft Great Plains may be recommended for international freight forwarding... Read More
1. With mapping software you can create a report that... Read More
Make-or-Break Factors in Success and ProfitabilityFor quick printers, estimating can... Read More
There are plenty of articles out there about how to... Read More
Microsoft Great Plains is main Microsoft Business Solutions product, targeted... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
Midsize business or non-profit organization should decide if one-vendor solution... Read More
Microsoft Great Plains might be considered as ERP platform to... Read More
Microsoft Business Solutions Great Plains is written in Great Plains... Read More
The stakes are high when considering security, privacy, and savings,... Read More
Lotus Domino/Notes ? Microsoft Great Plains tandem as ERP with... Read More
Costs of fleet maintenance software can vary widely. It is... Read More
Healthcare facilities such as clinics, hospitals, and biomedical laboratories can... Read More
You have gotten those E_Mails buy software at deep discounts.... Read More
What is Snort?Snort is an open source network intrusion detection... Read More
Software |