Hi All. I've a general purpose grid program used sometimes for whole files and other times for set data.
Want to limit the data in grid according to ACCOUNTNO field. Using SET FILTER will be too slow so tried using SET RELATION from the customer file (SET RELATION TO accountno INTO vehicles) But it doesn't work and I can still scroll past the start and end of the data into other accounts.
SET RELATION worked perfectly in FPW26 but when I use it even to just browse two tables I can still see other data in the child table. I'm using VFP6.
Is there another way I can limit to one account in the grid? I've have also tried testing with
RecordSourceType = 1
RecordSource = "vehicles"
LinkMaster = "CUSTOMER.accountno"
RelationalExpr = "accountno"
But don't really understand them and they make no difference. Any ideas/suggestions please (apart from using a Query)
Thanks. Kaz
Want to limit the data in grid according to ACCOUNTNO field. Using SET FILTER will be too slow so tried using SET RELATION from the customer file (SET RELATION TO accountno INTO vehicles) But it doesn't work and I can still scroll past the start and end of the data into other accounts.
SET RELATION worked perfectly in FPW26 but when I use it even to just browse two tables I can still see other data in the child table. I'm using VFP6.
Is there another way I can limit to one account in the grid? I've have also tried testing with
RecordSourceType = 1
RecordSource = "vehicles"
LinkMaster = "CUSTOMER.accountno"
RelationalExpr = "accountno"
But don't really understand them and they make no difference. Any ideas/suggestions please (apart from using a Query)
Thanks. Kaz