Jump to content

Recommended Posts

Posted

Tendo uma análise com uma variável global do tipo data e uma expressão simples:

Dim x as string="select '#G1#'"

Dim dt As DataTable = cdata.getdatatable(x)

If dt.Rows.Count > 0 Then

    ' código quando existe dados

    Return dt

End If

Quando executada a análise o campo '#G1#' tem sempre o valor da data actual. mesmo quando a data selecionada é alterada.

Esta é uma simplificação do problema com a estrutura a manter.

Impossível até ser feito.

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.