How to Filter Subreport

jmq

Registered User.
Local time
Today, 15:04
Joined
Oct 4, 2017
Messages
87
I want to display the Highest and Lowest Prices in the left subreports

How to do that?

Please refer to attached file

Thanks!
 

Attachments

wag table ang gamitin mo sa SubForm.
Un FrmPrice ang gamitin mo.
Copyahin mo un FrmPrice sa FrmPrice2.
i-rename mo Un frmPrice sa FrmPrice1.

i-Edit mo yun frmPrice1.
Sa Record Source:

SELECT * FROM tbl1Prices ORDER BY Switch([WholeSale]>[Retail],[WholeSale],[WholeSale]<[Retail],[Retail],True,[Retail]) DESC;

iso-sort nya un data mo sa Pinaka mataas
na presyo pababa.

i-Edit mo yun frmPrice2
Sa record Source:

SELECT * FROM tbl1Prices ORDER BY Switch([WholeSale]<[Retail],[WholeSale],[WholeSale]>[Retail],[Retail],True,[Retail]);

iso-sort nya un data mo sa Pinaka mababa
na presyo pataas.
 
eh tagalog ka nman pala eh. pinahirapan mo pa ako mag english! :)
Sige thank you kabayan!
 

Users who are viewing this thread

Back
Top Bottom