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.
professional maid services Park Ridge ..Microsoft Great Plains as ERP and Microsoft CRM as... Read More
We are in a transition phase in the Managerial Administration... Read More
1. With mapping software you can create a report that... Read More
Microsoft Great Plains - Microsoft Business Solutions accounting and ERP... Read More
Spyware is software or hardware installed on a computer without... Read More
C/SIDE (Client/Server Integrated Development Environment) - The core of... Read More
In order to implement VLANs in a network environment, you'll... Read More
The vast majority of us will have, at some point,... Read More
Former Great Plains Software Dynamics/eEnterprise and currently Microsoft Business Solutions... Read More
Adware is a type of Spyware program that displays some... Read More
I suggest that you do not spend a lot of... Read More
The first topic we are going to discuss... Read More
.Net Framework is a platform or development environment to seamlessly... Read More
All of us know that Microsoft bought former Great Plains... Read More
The Windows registry is a huge database that ensures normal... Read More
Hey Guys! Don't raise your eyebrows or fear by hearing... Read More
Microsoft CRM is relatively new player on the now becoming... Read More
It would be easy to think, like most people apparently... Read More
XML Server can be a Web Server that stores the... Read More
"Pfishing", sometimes spelled "Phishing", is a word that's used to... Read More
In our opinion, traditional approach when you select ERP/MRP system... Read More
The Internet is reshaping every form of communications medium, and... Read More
Fleet Maintenance Management is a critical position in any company... Read More
During the years of our consulting practice, which comes back... Read More
If you use Microsoft Outlook (or similar applications) for e-mailing,... Read More
cleaning lady near Lincolnshire ..Executive SummaryAn effective plan for entering, cleaning and updating the... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
Bill of Lading is required report for Logistics and Freight... Read More
A LOT OF UNWANTED FILES.When you uninstall an item of... Read More
I completed an experiment recently. I wanted to find out... Read More
Well, even if the combination might look very unusual, we... Read More
What is a Web Database?A web database is a database... Read More
Now that spyware is the single most dangerous threat to... Read More
The Windows Indexing Service provides you with the ability to... Read More
Looking at all the ads which promise to get rid... Read More
Shareware has been fighting the stigma of being misunderstood for... Read More
TikiWiki is open source software - it is written in... Read More
Looks like Microsoft Great Plains becomes more and more... Read More
Microsoft CRM customization techniques are very diversified and based on... Read More
This article illustrates the best practices to improve the performance... Read More
Microsoft Great Plains is now targeting large and midsize businesses... Read More
Microsoft Great Plains is main mid-market application from Microsoft Business... Read More
Several software companies design programs for preventive maintenance. Most of... Read More
All of us know that Microsoft bought former Great Plains... Read More
Microsoft Great Plains is becoming more and more popular and... Read More
Great Plains Fixed Assets Management module is a robust tool... Read More
The term "document management" and "paperless office" is the subject... Read More
In this small article we will show you the possible... Read More
We all already got used to computer monitoring both at... Read More
You probably didn't casually invite, or extend a formal attendance... Read More
Software |