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.
scheduled cleaning services Winnetka ..There are two major WYSIWYG(What You See Is What You... Read More
Great Plains Purchase Order Processing (POP) module makes up one-third... Read More
Microsoft Business Solutions Great Plains serves multiple industries in the... Read More
Microsoft Great Plains and Microsoft Retail Management System (Microsoft RMS)... Read More
A few months back I really got sick of my... Read More
In 2004 Oracle, Inc. made its new step toward J2EE... Read More
We would like to give you pluses and minuses of... Read More
Stealing company information used to be the specialty of spies... Read More
Small can be beautiful! Working with Knoppix for the past... Read More
In linux, one of great commands for finding out information... Read More
Microsoft PowerPoint has dramatically changed the way in which academic... Read More
If you've been using MySQL database to store your important... Read More
RSS (Really Simple Syndication) is a way for a site... Read More
Security flaws have long plagued Internet Explorer (IE), the market-dominating... Read More
We are in a transition phase in the Managerial Administration... Read More
An operating system (abbreviated OS) is essentially the path through... Read More
So, you've bought a new Macintosh, and now you may... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
... Read More
1. With mapping software you can create a report that... Read More
Microsoft Great Plains is one of the Microsoft Business Solutions... Read More
How many steps does it take you to locate and... Read More
Stop the Runaway MouseWhat's the "runaway mouse?" You've seen it...you... Read More
The fact that a software tester is a most infamous... Read More
Are you one of those people that keeps track of... Read More
reliable maid service Lincolnshire ..Do you remember that frustrating feeling when you find an... Read More
Imagine something that follows you home and sets itself up... Read More
Case study: A secretary using Corel WordPerfect 7 is often... Read More
An integral part of any quality CRM system is lead... Read More
A LOT OF UNWANTED FILES.When you uninstall an item of... Read More
Microsoft Great Plains fits to majority of industries, in the... Read More
Java has come along a long way. Many would agree... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics... Read More
What is RAID RECOVERY?RAID stands for Redundant Array of Inexpensive... Read More
Great Plains Purchase Order Processing (POP) module makes up one-third... Read More
One day, you suddenly realize that your computer started to... Read More
The Software 2005 conference is now a wrap. This conference,... Read More
The Internet is reshaping every form of communications medium, and... Read More
2005 ? Back to the Future.What does the future hold?... Read More
Configuring PPP PAP AuthenticationNow we know how the ISDN link... Read More
Microsoft Business Solutions Navision is main ERP application for European,... Read More
Trying to figure out a stream in banning one email... Read More
There are plenty of articles out there about how to... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
Remember nice and prosperous Clinton era? When you implemented innovative... Read More
Ok... Where to start?Well, I guess I will start at... Read More
Before September 1995, Microsoft Windows was an MS-DOS program. DOS... Read More
Sales are all about leverage, because there is only so... Read More
This article is the fourth of a series of articles... Read More
Before being able to choose a secure Internet communication system,... Read More
Software |