Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 2 of 2 total |
DBISAM ERROR |
Sat, Mar 4 2006 6:03 PM | Permanent Link |
Paul Waegemans | I use the following code to make a master detail between 2 tables.
with dm.tblhoofdjournaal do begin if active=true then close; end; with sqljournaalnummers do begin sql.clear; sql.add('select distinct journaal_nr into hoofdjournaal from journaal '); prepare; open; close; unprepare; end; with dm.tblJournaal do begin if active=true then close; mastersource:=dm.srchoofdjournaal; masterfields:='journaal_nr'; open; end; with dm.tblhoofdjournaal do begin if active=false then open; end; THIS RAISES THE ERROR IN ATTACHMENT. What is the problem? I do not use the index RECORDID Paul; Attachments: error.jpg |
Mon, Mar 6 2006 12:02 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Paul,
<< I use the following code to make a master detail between 2 tables. >> You cannot use the system RecordID column in a master-detail link or with a Locate method call. It has to do with the fact that the RecordID column is not surfaced as a TField object. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Thursday, March 28, 2024 at 08:36 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |