DreamerArgentino
New member
- Local time
- Today, 15:18
- Joined
- May 19, 2018
- Messages
- 26
Hi everyone!
I ask you a question. I have the following data:
TABLES:
'TABLE1' with a 'FileID' field (autonumeric) and another 'Nro-NA' (Numeric)
'MAIN' with an 'ID' field (Autonumeric)
I need the following:
Make a 'Text Box' (TextBox1) in the MAIN form (data of the table with the same name) that ADDITION and shows in each record of the form (ID field), how many times each number is repeated in the field 'Nro-NA 'from table' TABLE1 '
Example: For record 1 of the ID field of the MAIN form, add in the 'TextBox1' text box how many times a number appears in the 'NA-No' field and for the case of no. 8, it would be a value of 2, because it appears 2 times ...
NOTE: I have managed to get it to work, but with a textbox inside a subform, I would like to place it on the main form, but I have not managed to generate a working expression to place in the RowSourse ...
I have used this expression: =Cuenta([RegID])
I hope I have explained myself
Thanks!
I ask you a question. I have the following data:
TABLES:
'TABLE1' with a 'FileID' field (autonumeric) and another 'Nro-NA' (Numeric)
'MAIN' with an 'ID' field (Autonumeric)
I need the following:
Make a 'Text Box' (TextBox1) in the MAIN form (data of the table with the same name) that ADDITION and shows in each record of the form (ID field), how many times each number is repeated in the field 'Nro-NA 'from table' TABLE1 '
Example: For record 1 of the ID field of the MAIN form, add in the 'TextBox1' text box how many times a number appears in the 'NA-No' field and for the case of no. 8, it would be a value of 2, because it appears 2 times ...
NOTE: I have managed to get it to work, but with a textbox inside a subform, I would like to place it on the main form, but I have not managed to generate a working expression to place in the RowSourse ...
I have used this expression: =Cuenta([RegID])
I hope I have explained myself
Thanks!