Display the character in report

libin04

New member
Local time
Today, 20:53
Joined
Aug 10, 2022
Messages
18
Hi Team,


please help me with this DB .

I would display the name in the report, which should display until the text box value fail. I mean if i give 5 in the count textbox field then the name should display five times in the report. i am attaching DB can you please have a look and revert it.
 

Attachments

I cannot even open the form in any view?, so I have no idea what you have done. :(
1665067514654.png

I would probably put the 5 records into a temp table and use that as the report source?
 
I cannot even open the form in any view?, so I have no idea what you have done. :(
View attachment 103735
I would probably put the 5 records into a temp table and use that as the report source?
It is opening for me Gasman. can you check one more time
 

Attachments

It is opening for me Gasman. can you check one more time
Nope still the same.
I would put the number of records you need into a temp table and use that as the source?
A simple loop with an Append query sql code
 
If you do not want to create a temp table, then you could create a Repeat table that will hold as many records as you wish to repeat.
Then create a cartesian join between that table and yours.

Use that query as the source of the report. That is what I would probably do, now that I have realised this other method.

I have hardcoded a number here, you would use what is on your form.

Code:
SELECT Table1.Field1, tblRepeat.RepeatNum
FROM Table1, tblRepeat
WHERE (((tblRepeat.RepeatNum)<=5));
1665135573619.png

You do not have to include the repeat number.
1665135679088.png
 

Users who are viewing this thread

Back
Top Bottom