Revision History
Download 1.41 Mb. Pdf ko'rish
|
Lacerte SDK Developer Instructions
Copy You can see the Settings>System File Path->Change and looking at the path displayed under the ‘Current Path:’ label. Lacerte Software Development Kit Developer Instructions pg. 32 How to Report issues Issues and feedback on the SDK can reported by sending an email to LacerteEncryption@intuit.com with details of issue/feedback. Appendix Additional Operations that can be performed using VBA in excel Modify Rows – This example finds a ROW in the table for client number NYSUB1 and changes the name of that client Private Sub ModifyBtn_Click() Dim conn As New ADODB.Connection conn.Open "LacerteDSII" Dim rst As New ADODB.Recordset rst.Open "Select C1_0, C1_1 FROM [DATA1-Client Info] WHERE RTRIM(C1_0)='01SAMPLE'", conn, adOpenDynamic, adLockOptimistic rst.MoveFirst rst!C1_1 = 2 rst.Update rst.Close Call ReadBtn_Click End Sub Append Rows - This example creates a new ROW in the table with the data from Cells(38,1) and (38,2) separated by a comma. Private Sub AppendBtn_Click() Dim conn As New ADODB.Connection conn.Open "LacerteDSII" conn.Execute "Insert into [DATA1-Client Info] (C1_0, C1_1) values ('" & Cells(38, 1) & "', '" & Cells(38, 2) & "')" Call ReadBtn_Click End Sub Delete Rows – This example finds the ROW in the table for client number NYSUB2 and deletes that row Private Sub DeleteBtn_Click() Dim conn As New ADODB.Connection conn.Open "LacerteDSII" Dim rst As New ADODB.Recordset Lacerte Software Development Kit Developer Instructions pg. 33 rst.Open "Select C1_0, C1_1 FROM [DATA1-Client Info] WHERE RTRIM(C1_0)='13SAMPLE'", conn, adOpenDynamic, adLockOptimistic rst.MoveFirst rst.Delete rst.Update rst.Close Call ReadBtn_Click End Sub Using the ODBC Administrator Tool on Windows 7 When opening the control panel and locating the ODBC Administrator tool, you may not see the LacerteDSII driver. If this is the case, use the administrator found at C:\Windows\SysWOW64 (or C:\Windows\System32 if using the 64-bit Lacerte SDK Installation) and run the odbcad32.exe. Module Characters for DBF File names Download 1.41 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling