Thanks.
Here is the SQL in the Aceess using imported DB file
SELECT dbo_DRUGMASTERTABLE.D_NAME, dbo_DRUGMASTERTABLE.COST, dbo_DRUGMASTERTABLE.PRICE, [PRICE]/[COST] AS Ratio
FROM dbo_DRUGMASTERTABLE
WHERE (((dbo_DRUGMASTERTABLE.COST)<>0) AND (([PRICE]/[COST])<1.3));
Here is the sample date
[TABLE="width: 377"]
<tbody>[TR]
[TD="class: xl66, width: 227"]D_NAME[/TD]
[TD="class: xl66, width: 92"]COST[/TD]
[TD="class: xl66, width: 92"]PRICE[/TD]
[TD="class: xl66, width: 92"]Ratio[/TD]
[/TR]
[TR]
[TD="class: xl67, width: 227"]*DIFFLAM-C SOLUTION(500ML)[/TD]
[TD="class: xl68, width: 92"]101061[/TD]
[TD="class: xl68, width: 92"]130000[/TD]
[TD="class: xl69, width: 92"]1.29[/TD]
[/TR]
[TR]
[TD="class: xl67, width: 227"],CO-PHENYLCAINE SPRAY[/TD]
[TD="class: xl68, width: 92"]10800[/TD]
[TD="class: xl68, width: 92"]12600[/TD]
[TD="class: xl69, width: 92"]1.17[/TD]
[/TR]
[TR]
[TD="class: xl67, width: 227"],NISITA NASAL OINT (20G)[/TD]
[TD="class: xl68, width: 92"]36429[/TD]
[TD="class: xl68, width: 92"]45000[/TD]
[TD="class: xl69, width: 92"]1.24[/TD]
[/TR]
[TR]
[TD="class: xl67, width: 227"],NISITA NASAL OINT (20G)[/TD]
[TD="class: xl68, width: 92"]36429[/TD]
[TD="class: xl68, width: 92"]45000[/TD]
[TD="class: xl69, width: 92"]1.24[/TD]
[/TR]
[TR]
[TD="class: xl67, width: 227"],RHINOCORT TH 100MCG/200DOSES[/TD]
[TD="class: xl68, width: 92"]272319[/TD]
[TD="class: xl68, width: 92"]350000[/TD]
[TD="class: xl69, width: 92"]1.29[/TD]
[/TR]
[TR]
[TD="class: xl67, width: 227"].BACTROBAN 2% NASAL OINT[/TD]
[TD="class: xl68, width: 92"]167272[/TD]
[TD="class: xl68, width: 92"]210000[/TD]
[TD="class: xl69, width: 92"]1.26[/TD]
[/TR]
[TR]
[TD="class: xl67, width: 227"].BACTROBAN 2% NASAL OINT[/TD]
[TD="class: xl68, width: 92"]170909[/TD]
[TD="class: xl68, width: 92"]210000[/TD]
[TD="class: xl69, width: 92"]1.23[/TD]
[/TR]
[TR]
[TD="class: xl67, width: 227"].CETAPHIL CLEANSER[/TD]
[TD="class: xl68, width: 92"]54000[/TD]
[TD="class: xl68, width: 92"]70000[/TD]
[TD="class: xl69, width: 92"]1.30[/TD]
[/TR]
[TR]
[TD="class: xl67, width: 227"].DEMOVATE 0.05% CR. (25G)[/TD]
[TD="class: xl68, width: 92"]79451[/TD]
[TD="class: xl68, width: 92"]100000[/TD]
[TD="class: xl69, width: 92"]1.26
[/TD]
[/TR]
</tbody>[/TABLE]
Cannot have the SQL in the Linked SQL Access file, as I am not at office now.
Thanksagain