MarceloRodrigues Posted January 19 Topic Count: 1 Topics Per Day: 0.00 Content Count: 2 Content Per Day: 0.01 Reputation: 0 Achievement Points: 15 Solved Content: 0 Days Won: 0 Status: Offline Device: Windows Report Posted January 19 Bom Dia! Pessoal, como faço para validar estes campos sendo que o dataextra1 é do tipo texto e o datasaida1 é tipo data. Usei a atividade Se/Senao , coloquei como condiçao de regra declarativa e expressaõ Tables["TMOV"]["DATAEXTRA1"] != this.Tables["TMOV"]["DATASAIDA"] OBS: deixei o operador != só pra poder salvar e trazer o exemplo, o sistema nao permite que eu use operadores maior que , menor que para validar os campos.
caiiomonteiro Posted January 19 Topic Count: 12 Topics Per Day: 0.00 Content Count: 192 Content Per Day: 0.06 Reputation: 101 Achievement Points: 1,258 Solved Content: 0 Days Won: 36 Status: Offline Age: 28 Device: Windows Report Posted January 19 @MarceloRodrigues na verdade o campo DATAEXTRA1 é do tipo Data também. Está faltando a tipagem do campo na sua condição: this.Tables["TMOV"]["DATAEXTRA1"].AsDateTime != this.Tables["TMOV"]["DATASAIDA"].AsDateTime
Solution MarceloRodrigues Posted January 20 Topic Count: 1 Topics Per Day: 0.00 Content Count: 2 Content Per Day: 0.01 Reputation: 0 Achievement Points: 15 Solved Content: 0 Days Won: 0 Status: Offline Device: Windows Author Solution Report Posted January 20 Boa Tarde! Vlw @caiiomonteiro pela ajuda, era isto que faltava mesmo. Muito Obrigado
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now