This is what I need to do. This code can change based on what fields user selects, and embedded SQL can change also. I keep getting an access violation error. I cannot use Temporary tables in order to do this. Anyone?
select [book] from
{select book,page,doctype,[storey county dbase].docid from [storey county dbase]
inner join [doc_types] on [storey county dbase].docid=[doc_types].docid}
where [docid]='81673'
Greg Conely
select [book] from
{select book,page,doctype,[storey county dbase].docid from [storey county dbase]
inner join [doc_types] on [storey county dbase].docid=[doc_types].docid}
where [docid]='81673'
Greg Conely