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.
same day cleaning service Bannockburn ..When making a decision to buy any piece of software... Read More
It is a well known fact that Java as a... Read More
Microsoft Great Plains may be recommended for international freight forwarding... Read More
Microsoft Great Plains is main accounting / ERP application... Read More
Mapping Software Improves Data VisualizationFrom the outset, it is important... Read More
It is possible that if one avoided all sources of... Read More
MSN messenger is a pretty cool invention. I mean I'm... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
If you feel intimidated when someone tries to teach you... Read More
When it comes to screenplay software each screenwriter needs to... Read More
There are certain pluses and minuses in both cases and... Read More
Microsoft Great Plains is now targeting large and midsize businesses... Read More
One of the things we can be as certain of... Read More
User interfaces and accessibility are some of the most important... Read More
In today's business world it's all but impossible to escape... Read More
Lotus Notes Domino is very efficient in electronic document workflow... Read More
Accounts payable is just one area of office management where... Read More
If you have Microsoft Great Plains as main accounting and... Read More
Document Manager and Version HistoryIn previous articles I have discussed... Read More
Considering whether or not your software company should hire a... Read More
Do you want to get quality software at a reasonable... Read More
In the real world a "fire wall" is a fireproof... Read More
Java has come along a long way. Many would agree... Read More
In our case ? we serve Microsoft Business Solutions ERP... Read More
ERP Consulting industry is on the way to serve clients... Read More
housekeepers near Deerfield ..When Great Plains Software introduced the first graphical accounting application... Read More
Passwords protect your most sensitive personal, financial and business information.... Read More
MSN messenger is a pretty cool invention. I mean I'm... Read More
If there still are few unprotected computers left, I haven't... Read More
If you've been using MySQL database to store your important... Read More
Microsoft CRM is CRM answer from Microsoft and attempt to... Read More
Find out why Spyware Removal from computers is important and... Read More
There is many things more frustrating than surfing a website... Read More
Microsoft CRM is now on the scene and it is... Read More
Domino server is a buffer between the operation system and... Read More
At the end of XX century, in the late 1990th... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics/eEnterprise... Read More
Microsoft Business Solutions Great Plains and MS CRM (client relation... Read More
Microsoft Business Solutions Great Plains was historically designed to serve... Read More
How to delete the user? This is the first problem... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
It is really interesting that a bug can create problem... Read More
As seeing large number of implementations ? in our case... Read More
The world of small business accounting software can be a... Read More
A wiki is an editable text-based website. But you don't... Read More
Icons are used everywhere; right from software applications, to internet... Read More
Microsoft Business Solutions Great Plains fits to majority of horizontal... Read More
Microsoft Great Plains serves the wide spectrum of horizontal markets.... Read More
We were recently faced with a decision: either to let... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
Software |