Need a guiden for writing hard code !

L

luanhoxung

Hi all !
I need a help for write a odd code (I think :) ).
I have a field in my report with many values appearing many times, so
i count them and choose the max value, the result that i want it
return the initial text.
Pls see my desire

Text appearing--Result of DCount(text)--Result of Max--Result
returning
bag 1
10 pcs
pcs
10
tray
5
kg
2

I dont know much VB so i really be mad abt this throught last week.
Hope someone understand this,
Thanks for ur time visiting my problem.
Luan from VietNam
 
L

luanhoxung

Hi all !
I need a help for write a odd code (I think :) ).
I have a field in my report with many values appearing many times, so
i count them and choose the max value, the result that i want it
return the initial text.
Pls see my desire

Text appearing--Result of DCount(text)--Result of Max--Result
returning
bag 1
10 pcs
pcs
10
tray
5
kg
2

I dont know much VB so i really be mad abt this throught last week.
Hope someone understand this,
Thanks for ur time visiting my problem.
Luan from VietNam

Sorry abt line be down !

Text--ResultofDCount(text)--ResultofMax--ResultReturning
bag 1 10
pcs
pcs 10
tray 5
kg 2

Regards.
Luan
 
2

2007

Hi all !
I need a help for write a odd code (I think :) ).
I have a field in my report with many values appearing many times, so
i count them and choose the max value, the result that i want it
return the initial text.
Pls see my desire

Text appearing--Result of DCount(text)--Result of Max--Result
returning
bag 1
10 pcs
pcs
10
tray
5
kg
2

I dont know much VB so i really be mad abt this throught last week.
Hope someone understand this,
Thanks for ur time visiting my problem.
Luan from VietNam
 
2

2007

Hi all !
I need a help for write a odd code (I think :) ).
I have a field in my report with many values appearing many times, so
i count them and choose the max value, the result that i want it
return the initial text.
Pls see my desire

Text appearing--Result of DCount(text)--Result of Max--Result
returning
bag 1
10 pcs
pcs
10
tray
5
kg
2

I dont know much VB so i really be mad abt this throught last week.
Hope someone understand this,
Thanks for ur time visiting my problem.
Luan from VietNam
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top