Welcome To T24All
Welcome, Guest
Please Login or Register.    Lost Password?

Delete a row from an enquiry result
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Delete a row from an enquiry result
#4625
Delete a row from an enquiry result 5 Months, 4 Weeks ago Karma: 1
Hi to all,

Am working on a T24 project (R09)

My question is :
For exemple we have an ENQUIRY that select data from CUSTOMER & SECTOR application.
First we should get the information from CUSTOMER(the main file) based on some criteria then we will get the DESCRIPTION from SECTOR using LINK function.

I need to apply a filter not on CUSTOMER fields but on the DESCRIPTION data that I got from SECTOR (ex : if the desctiption is empty i want to hide the line from my enquiry's result).

I was trying to use the REMOVE attribute on my enquiry but the help provided does not explain enough how to use this attribute.

Thanks in advance.
Regards.
hamza.benali
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4643
Re:Delete a row from an enquiry result 5 Months, 3 Weeks ago Karma: 1
Hi,
I'm afraid you have to write a conversion routine. Try set conversion
routine on last field in enquiry, check your condition using
FORMATTED.DATA variable and if the record is not suitable for you follow this:

1. reset FORMATTED.DATA = ''
2. reset O.DATA
3. if 1&2 doesn't work decrement LINE variable

All mentioned variables are global variables (I_ENQUIRY.COMMON)
dajrokan
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4670
Re:Delete a row from an enquiry result 5 Months, 3 Weeks ago Karma: 1
Create J-Descriptor for CUSTOMER table that will link to DECRIPTION filed in SECTOR :

USR.FIELD.NAME. MY.CUST
USR.TYPE....... J
USR.FIELD.NO SECTOR>SECTOR>DESCRIPTION


and then use this J-Descriptor as fixed selection field in your enquiry.

It will slow down a bit the report.
DUBLIN
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4729
Re:Delete a row from an enquiry result 5 Months, 1 Week ago Karma: 1
I tried both of the answers, and it works.

Thanks.
hamza.benali
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4766
Re:Delete a row from an enquiry result 5 Months ago Karma: 0
did u checked if the records selected in ur enquiry are less then a dropdown list, do u see blank records in ur enquiry ?
rolandfeghaly
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4812
Re:Delete a row from an enquiry result 4 Months, 3 Weeks ago Karma: 1
yes I checked it, and it works perfectly. The result doesn't contain the deleted line. You just need to put your conversion routine in the last field.
hamza.benali
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1