G
Guest
I have an application which displays data from a table on a form. I have
written code such that when you double click on a field on the form, it opens
another database, finds the record whose name matches the data in the field
(name being the PrimaryKey in the second table), then dumps the contents of
the other record into wordpad for display on the screen. (The code uses
MyTable.seek to match the unique record and then the TableDefs property to
get the data from all fields for that record). So far, so good...
What I need to do now is to be able to click on another field, find the
matching record in another remote table and do the same thing for a table
which contains duplicates, i.e., I want to dump the contents of all matching
records into Wordpad. (There are two indexes on the second table, one on name
and another one which is indexed on name and another field)
Can anyone see what I'm trying to do and help please ? Do I need to use an
SQL query ? If so, I'm struggling to get the syntax right
any help much appreciated
Dave
written code such that when you double click on a field on the form, it opens
another database, finds the record whose name matches the data in the field
(name being the PrimaryKey in the second table), then dumps the contents of
the other record into wordpad for display on the screen. (The code uses
MyTable.seek to match the unique record and then the TableDefs property to
get the data from all fields for that record). So far, so good...
What I need to do now is to be able to click on another field, find the
matching record in another remote table and do the same thing for a table
which contains duplicates, i.e., I want to dump the contents of all matching
records into Wordpad. (There are two indexes on the second table, one on name
and another one which is indexed on name and another field)
Can anyone see what I'm trying to do and help please ? Do I need to use an
SQL query ? If so, I'm struggling to get the syntax right
any help much appreciated
Dave