Hi,

I created a DataSet with this query:

Select cl.*, c.Nome CidadeCli, c.Estado EstadoCli, c.Pais PaisCli, p.Nome
CidadePraca, p.Estado EstadoPraca,
p.Pais PaisPraca, tc.*, di.Nome dvNome, bc.Nome bcNome, cr.Limite,
cr.Bloquear, NomeRegiao,
cv.Descricao cvDescricao, ba.Bairro, ba.Nome_Bairro, au.*, t.Transportadora,
f.Fornecedor,
ce.Nome Empresa_CidadeCli, clt.Cliente trTransporte, clt.NomeCliente trNome,
entr.Nome EntregaCidadeNome, entr.Estado EntregaEstado, entr.Pais
EntregaPais, cr1.Limite Limite1, ac.Descricao acDescricao
From Clientes cl left outer join Cidades c on cl.Cidade = c.Cidade
left outer join Cidades ce on cl.Empresa_Cidade = ce.Cidade
left outer join Regioes r on r.Regiao = c.Regiao
left outer join Cidades p on cl.Praca = p.Cidade
left outer join TiposDeCliente tc on tc.TipoCliente = cl.TipoCliente
left outer join Divulgadores di on di.Codigo = cl.Divulgador
left outer join Bancos bc on bc.Banco = cl.Banco
left outer join Creditos cr on cr.CodCredito = cl.CodCredito
left outer join Bairros Ba on Ba.Bairro = Cl.Cod_Bairro
left outer join Autor Au on Au.Autor = Cl.Cliente
left outer join CalculodeVencimentos cv on cv.CalculoVencimento =
Cl.Calculovencimento
left outer join CalculodeVencimentos ac on ac.CalculoVencimento =
Cl.Acerto_Consignacao
left outer join Transportadoras t on t.Transportadora = cl.Cliente
left outer join Transportadoras tp on tp.Transportadora =
cl.Transportadora_Padrao
left outer join Clientes clt on tp.Transportadora = clt.Cliente
left outer join Fornecedor f on f.Fornecedor = cl.Cliente
left outer join Cidades entr on cl.Entrega_Cidade = entr.Cidade
left outer join Creditos cr1 on cr1.CodCredito = cl.Credito_Consignado

This query has a lot of tables connected but the most important if the
Cliente (Client) table. The foreign tables are responsible to inform the
description of some codes.

My idea was to create this query and have the insert, update and delete
related to the Client table but when seting the DataSet, the option
GenerateDBDirectMethods are not available. Is there a way to fix it? It
should be intersting if VS asked which table should be used in this case.

Thanks,

Marco Castro