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.
express cleaning service Arlington Heights ..Innovative Maintenance Systems (IMS) is one company that offers solutions... Read More
ERP is the acronym of Enterprise Resource Planning. Multi-module ERP... Read More
Before being able to choose a secure Internet communication system,... Read More
Words we choose to describe things and phenomena often show... Read More
No matter how much you enjoy your favorite screensavers, sometimes... Read More
In the previous ISDN article, we looked at how and... Read More
Writing software manuals is boring, isn't it? We often think:... Read More
Enabling Chinese input is quick and easy, there are only... Read More
Spyware and Adware infest over 90 percent of computers in... Read More
Case study: A secretary using Corel WordPerfect 7 is often... Read More
Microsoft CRM is CRM answer from Microsoft Business Solutions.The whole... Read More
(1) Avoid using the same variable again and again for... Read More
Let's first look at your ERP system selection (without Retail... Read More
Language development computer: Computer-based method for aiding language development seems... Read More
Microsoft Great Plains might be considered as ERP platform to... Read More
GroupwareEfforts are continually made to manage the unavoidable ad hoc... Read More
C/SIDE (Client/Server Integrated Development Environment) - The core of... Read More
While Ukraine is becoming a new popular IT outsourcing destination,... Read More
Crystal Reports is the most flexible tool on the market... Read More
Some companies that are in need of fleet management may... Read More
We would like to give you pluses and minuses of... Read More
Creating a new markup language.Introduction.General Reuse Markup Langauge, or GRML,... Read More
It is now common thing when large corporation selects mid-market... Read More
Is Photoshop CS2 worth the upgrade? You bet it is!... Read More
Former Great Plains Software Dynamics/eEnterprise and currently Microsoft Business Solutions... Read More
tidy up service Arlington Heights ..I have always had a tendency to focus on the... Read More
In order to implement VLANs in a network environment, you'll... Read More
If someone entered your home, uninvited and installed numerous cameras... Read More
The various resume software offered, particularly on the internet, can... Read More
Microsoft Great Plains and Microsoft Retail Management System (Microsoft RMS)... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics... Read More
Microsoft PowerPoint has dramatically changed the way in which academic... Read More
We would like to give you several situations, when you... Read More
Once upon a time not so long ago, there was... Read More
Microsoft Business Solutions ? Great Plains has captured the US... Read More
Microsoft Business Solutions Great Plains, Solomon, Navision, Axapta, Microsoft CRM... Read More
Whether you are a small consultancy firm, a medium sized... Read More
Microsoft Great Plains is now targeting large and midsize businesses... Read More
Most computer users use spreadsheets software such as Microsoft Excel... Read More
There are many commands that are used in linux on... Read More
Microsoft Great Plains serves majority of US based horizontal and... Read More
How to delete the user? This is the first problem... Read More
Although statistics often is blamed for various deadly sins --... Read More
At the end of XX century, in the late 1990th... Read More
According to a survey conducted by InfoTrends/CAP Ventures entitled "Content-Centric... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
Navision Software was purchased by Microsoft and now it is... Read More
Microsoft CRM is CRM answer from Microsoft Business Solutions. If... Read More
Now there are Three Steps To Heaven Just listen and... Read More
If you have Microsoft Great Plains as main accounting and... Read More
Software |