For Gafoor78 PB Expert.

http://www.experts-exchange.com/Programming/Programming_Languages/PowerBuilder/Q_21221722.html

Thanks Gafoor for your detailed code.

Please give any comments to be accepted immediately.

MateenAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gafoor78Commented:
Hi mateen

thank u and enjoy powerbuilder

rgrds
gafoor
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MateenAuthor Commented:
Hi gafoor78

For the search object, I sent an email to gafoor78@yahoo.com, but it seems that
the mail has not been received by u.

I shall be happy, if you could please send me your search object at this address.

mateensdmlstpl@yahoo.com.

Thanks.

0
gafoor78Commented:
hi

u can just copy the code i posted  as it is ( bcoz it is the exported systax) and paste in a notepad after that save it as any name with extention 'sru'. then import it in ur PBL...

any way i will send it in ur mail id also...check ur inbox..

cheers
gafoor
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

MateenAuthor Commented:
Hi gafoor

I tried to paste your user object. There is an error.

Only non visual user objects can be placed in the non visual user objects.

Is this sle_uo_fast_find use 'PFC' aslo. If so , I have not yet used PFC.

Please help
0
gafoor78Commented:
hi mateen

it is checking 4 PFC datawindow also...but it will not make you problm....try to regenerate the object then try by putting the uo in ur window..if u still gets the error, then let me know the error message as it is

rgrds
gafooor
0
MateenAuthor Commented:
gagoor78:

best regards

Sir, I don't have words to thank u 4 your very smart search object.
U must be pleased to know that I am using it dynamically

dw_1.dataobject = szDatawindowObject
dw_1.SetTransObject(SQLCA)
sle_1.of_SetDW(dw_1)
sle_1.of_SetRowSelect(true)
string ls_coltype, ls_colname
long IJK
for ijk = 1 to Long(dw_1.Describe('datawindow.column.count'))
       ls_colname = dw_1.Describe('#'+string(ijk)+'.Name')
    ls_coltype = Lower(Left(dw_1.Describe(ls_colname + ".ColType"),4))
    //if pos('chardatenumblongintdecireal',ls_coltype) < 0 then return
    sle_1.of_RegisterCol(ls_colname,'ANY')  
next

This single coding works for all the reports (more than thousand).

Owing to u

Mateen
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Editors IDEs

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.