|
This function will return the current
record position in the format RECORD# / TOTAL RECORDS.
POSITION(Subform)
PARAMETERS
Subform
0 or blank = Main Form
Datasource
1 = Subform#1
2 = Subform#2
3 = Subform#3
4 = Subform#4
5 = Subform#5.
Example: To
automatically display your record position every time you move to a new
record, enter the following code in your forms ON CURRENT event. (Note:
Assumes you have a TEXTBOX with a tag name of
POS)
SETVALUE(~POS~//POSITION()) |