ivatanakoo
IS-IT--Management
i have table name issue
fields
id name item aqdate number price
sample records
1 bryan laptop 10/10/14 ARE#14123BY 10000
2 simon desktop 10/10/14 ICS#14321SY 10000
1 bryan van 10/10/14 ICS#14123BY 5000
want:
when i filter name bryan or number ARE#14123BY
filter number or the name and determine if price is greater than 10000 then prints record (ARE)
and if less than 6000 than prints different report (ICS)
sample print1
1 bryan laptop 10/10/14 ARE#14123BY 10000
sample print2
1 bryan van 10/10/14 ICS#14121BY 5000
SELECT issue
SET ORDER TO name
LOCATE FOR issue.price > 10000.0000
IF FOUND()
REPORT FORM c:\inventory_system\reports\are.frx PREVIEW FOR name = issue.name
else...
fields
id name item aqdate number price
sample records
1 bryan laptop 10/10/14 ARE#14123BY 10000
2 simon desktop 10/10/14 ICS#14321SY 10000
1 bryan van 10/10/14 ICS#14123BY 5000
want:
when i filter name bryan or number ARE#14123BY
filter number or the name and determine if price is greater than 10000 then prints record (ARE)
and if less than 6000 than prints different report (ICS)
sample print1
1 bryan laptop 10/10/14 ARE#14123BY 10000
sample print2
1 bryan van 10/10/14 ICS#14121BY 5000
SELECT issue
SET ORDER TO name
LOCATE FOR issue.price > 10000.0000
IF FOUND()
REPORT FORM c:\inventory_system\reports\are.frx PREVIEW FOR name = issue.name
else...