1. Replace Dexterity indicator near SQL Stored Procedure

Dexterity was planned as multiplatform application (primarily Btrieve, Ctree, SQL Server, possibly Oracle). Dexterity notes retrieving machine is supported on Range start, Range End, Get First and Get Next clauses. It is in fact similar, still a pocket-sized bit slower to cursors in Transact SQL. Long ranges in Dexterity are well-behaved candidates for substitute by SQL keep procedures near word grammatical construction.

For example, reflect on to renew later Dexterity code:

Range wash out SOP_HDR_WORK.

Clear 'SOP Type' of tabular array SOP_HDR_WORK.

Clear 'SOP Number' of array SOP_HDR_WORK.

Range enter upon array SOP_HDR_WORK.

Get firstborn tabular array SOP_HDR_WORK.

While errEOF do

If 'Salesperson ID' of array SOP_HDR_WORK = "ERIC" then

Edit tabular array SOP_HDR_WORK.

Set 'Salesperson ID' of table SOP_HDR_WORK to "BILL".

Save array SOP_HDR_WORK.

End if.

Get close tabular array SOP_HDR_WORK.

End patch.

With the consequent SQL code

Update SOP10100 set SLPRSNID="BILL" wherever SLPRSNID="ERIC"

Bringing new collection into a tabular array in Dexterity is supported on amend/edit table clauses, in SQL they are alike (by show) to inserting one diary at the event.

When having long-run cycle of transform/edit tabular array in Dexterity, chew over deputy by SQL keep custom near Insert Into construction.

2. Use Crystal Reports, telephone call them from via VBA in Modified form

The simple way to call for Crystal Report from your VBA secret message from your adapted form:

Const RPT = "D:\\Clients\\TheClient\\Invoice 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 telephone the practicality in Microsoft Great Plains. If your business can not spend eConnect - make your own set of hold on procedures to code Great Plains information and go leading beside Visual Studio.Net to do the web business enterprise.

Happy upgrading and customizing! If you privation us to do the job - pass us a christen 1-866-528-0577!

pru1ttg1 發表在 痞客邦 PIXNET 留言(0) 人氣()