Yes, the VB demo works fine. The problem is encountered from within various wizzards within the IDE, as well as application output, such as assigning DBEdit boxes to variables. Rather than to delve into complex explanations and scripts that would require the devepoper IDE, let me produce one simple example:
I have the following code, that dumps the data to a Memo as a debugging tool. Here is the code:
procedure TForm1.ShowMemo; var i: integer; begin InvMemoForm.Memo1.Clear; for i:= 0 to QbDm.QBDataMod.InvQuery.FieldCount -1 do if QbDm.QBDataMod.InvQuery.Fields.Fields[i].AsString <> '' then InvMemoForm.Memo1.Lines.Add(QbDm.QBDataMod.InvQuery.Fields.Fields[i].FieldName + ' = ' + QbDm.QBDataMod.InvQuery.Fields.Fields[i].AsString); InvMemoForm.ShowModal; end;
Here is partial output, copied from the Memo:
InvoiceLineSeqNo = 1 InvoiceLineTxnLineID = 1639C-1110204422 InvoiceLineItemRefListID = 20000-1001006699 InvoiceLineItemRefFullName = DESTRUCTIVE TESTING InvoiceLineDesc = DESTRUCTIVE TEST InvoiceLineRate = 110 InvoiceLineAmount = 110 InvoiceLineSalesTaxCodeRefListI = 20000-1135001387 InvLnSalesTaxCodeRefFlNm = Non FQSaveToCache = False FQPrimaryKey = 1639A-1110204422|1639C-1110204422|
Note on line 8 "InvoiceLineSalesTaxCodeRefListI" should be "InvoiceLineSalesTaxCodeRefListID"
|