on 08-11-2015 1:07 PM
" How to make a find in a datawindow on a column
of type(chap) datetime (date Oracle)?
When I use the find function(office) I receive an
error message " typical mist Expression match ".
The code is :
datetime dtt_debut
long nbrow7, rownumfind2
string ls_find
//
nbrow7=dw_7.rowcount()
//
dtt_debut=dw_7.getitemdatetime(3,"absag_datedebut")
//
ls_find="absag_datedebut="+string(dtt_debut)
rownumfind2=dw_7.find(ls_find,1,nbrow7)
Hi Pascal;
Try ....
ls_find = 'absag_datedebut = Date ( "' + string(dtt_debut, "yyyy-mm-dd") + '")'
rownumfind2=dw_7.find(ls_find,1,nbrow7)
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Both examples work.
Thank you you can close the case
Pascal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ls_find="absag_datedebut=datetime('"+string(dtt_debut)+"')"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.