Jump to content

Recommended Posts

Posted

Olá a todos...

minha duvida é a seguinte:

o usuário ao iniciar o aplicativo o mesmo carrega um datatable com os dados dos cliente com base no id_setor, mas existe a necessidade de alguns usuários carregar mas de um id_setor

exemplo:

Dim strSQL As String

Dim intSetor as integer

strSQL = "SELECT * FROM vw_apontamento WHERE id_setor =" & intSetor & " AND id_setor =" & intSetor

a duvida é... eu resolvo isso com SQL (como?) ou eu carrego o datatable 1 vez e depois adiciono mais itens ao datatable.

Obrigado a todos

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.