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.
recurring cleaning service Mundelein ..Whether you are an experienced web programmer or a complete... Read More
An operating system (abbreviated OS) is essentially the path through... Read More
Microsoft Great Plains serves majority of US based horizontal and... Read More
Great Plains Inventory Management (IV) module gives your business a... Read More
When making a decision to buy any piece of software... Read More
In part III of this ISDN primer, we learned that... Read More
Before September 1995, Microsoft Windows was an MS-DOS program. DOS... Read More
We would like to give you several situations, when you... Read More
Accounts payable is just one area of office management where... Read More
Remember old good days when your company probably had Great... Read More
Features Additionally, Vista will include many other new features.Aero Vista... Read More
If you would like to pick something from Microsoft, or... Read More
1. Replace Dexterity cursor with SQL Stored Procedure Dexterity... Read More
Microsoft Business Solutions Great Plains and MS CRM (client relation... Read More
Are you lost in the mess of documents that get... Read More
In linux, one of great commands for finding out information... Read More
Are you a database professional? Do you work with a... Read More
XML Server can be a Web Server that stores the... Read More
Just stress testing one of the latest Linux distributions. Been... Read More
If you company is small or mid-size special products or... Read More
When it comes to screenplay software each screenwriter needs to... Read More
Mike Dunville* had a decision to make. As the new... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
People often ask me: What image file formats will Photoshop... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
tidy up service Buffalo Grove ..Customer Relationship Management or CRM is a combination of enterprise... Read More
When you buy a computer, it most likely comes with... Read More
Follow the steps below to quickly design, generate, and deploy... Read More
Bad News - the Threat is Bigger than it SeemedHow... Read More
If you feel intimidated when someone tries to teach you... Read More
The term "document management" and "paperless office" is the subject... Read More
The title of "software engineer" has got to be among... Read More
Microsoft CRM and IBM Lotus Notes Domino seem to be... Read More
This article is the first of a series of articles... Read More
Microsoft Business Solutions Great Plains was purchased from Great Plains... Read More
Microsoft Great Plains serves the wide spectrum of horizontal markets.... Read More
Our hosted solution allow you to run your own search... Read More
Microsoft Great Plains and Microsoft Retail Management System (Microsoft RMS)... Read More
If you are in the market for new staffing software,... Read More
For those who are unclear on the differences between the... Read More
While I was preparing some personal background information for a... Read More
The fact that a software tester is a most infamous... Read More
At the end of XX century, in the late 1990th... Read More
When you need a phone number, you do a quick... Read More
Microsoft CRM is winning market share step-by-step from such the... Read More
Microsoft Word is one of the most popular office applications... Read More
Microsoft Business Solutions CRM is web-based CRM application, deploying all... Read More
Rapid Application Development (RAD) is a software development methodology. In... Read More
Fortunately one of the most common reasons cited for the... Read More
Writing software manuals is boring, isn't it? We often think:... Read More
Software |