Hi,
I'm trying to use the OrderBy property for a form based on a table, however I can't seem to get it to work. I need to apply some functions to the fileds I am ordering and I think this is where I'm running into problems. The following will not work; 'Segment' and 'Pole No' are the two fields I am trying to order the records by.
Me.OrderBy = "segmentSort([Segment]), alphaNumericSort([Pole No])"
What am I doing wrong and how can I fix it!
I've also tried to do this using the tables property sheet and just putting
segmentSort([Segment]), alphaNumericSort([Pole No]) into it's OrderBy property. but this doesn't work either.
How do I call these functions correctly?
Thanks,
Liam
I'm trying to use the OrderBy property for a form based on a table, however I can't seem to get it to work. I need to apply some functions to the fileds I am ordering and I think this is where I'm running into problems. The following will not work; 'Segment' and 'Pole No' are the two fields I am trying to order the records by.
Me.OrderBy = "segmentSort([Segment]), alphaNumericSort([Pole No])"
What am I doing wrong and how can I fix it!
I've also tried to do this using the tables property sheet and just putting
segmentSort([Segment]), alphaNumericSort([Pole No]) into it's OrderBy property. but this doesn't work either.
How do I call these functions correctly?
Thanks,
Liam