Morning All,
I feel a complete idiot when asking on here (because I'm a complete novice!) but I'm wondering if anyone can help me on understanding functions (or rather a particular funtion).
I decided to write a program and with some great help, I got a solution out of my error(s) in that program. However, it was written in code I don't understand.
I've been studying the code as much as I can, using google and MSDN to get me through and so far it's been good up to now.
However, here's the part I can't get my head around:
What does transform do?
The code here displays pin numbers in a messagebox that I'm after from a field "Cardno" and reusable is a logical field. The pin numbers are in a character based format.
According to other websites, transform literally transforms characters or numerics or etc but I don't understand where, how or why you would use them. Would someone be so kind to explain this?
I understand that alen describes an array and has to have a numeric value to indicate either rows or columns..
Any help is much appreciated.
Kind Regards,
Vibrantseeker
I feel a complete idiot when asking on here (because I'm a complete novice!) but I'm wondering if anyone can help me on understanding functions (or rather a particular funtion).
I decided to write a program and with some great help, I got a solution out of my error(s) in that program. However, it was written in code I don't understand.
I've been studying the code as much as I can, using google and MSDN to get me through and so far it's been good up to now.
However, here's the part I can't get my head around:
Code:
Select Cardno from id where reusable into array laPins
Messagebox('Deleted: ' + transform(alen(laPins,1)))
What does transform do?
The code here displays pin numbers in a messagebox that I'm after from a field "Cardno" and reusable is a logical field. The pin numbers are in a character based format.
According to other websites, transform literally transforms characters or numerics or etc but I don't understand where, how or why you would use them. Would someone be so kind to explain this?
I understand that alen describes an array and has to have a numeric value to indicate either rows or columns..
Any help is much appreciated.
Kind Regards,
Vibrantseeker