Dynamic Table in form?

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Active user
Rating: 2
Joined: May 9, 2018
Company: GOLDENNET BİLGİ TEKNOLOJİLERİ

Hello. I have a question. I wrote a command in the form. Reading records from document table. I want to list the records in the table inside the form. How can I do that?

Download aa1.png (48.07 KB)
Download aa2.png (36.6 KB)
 
#2
People who like this:0Yes/0No
Administrator
Rating: 23
Joined: Oct 3, 2019
Company:

Hello Erdoğan,

pls see the following example

Download scr.png (14.24 KB)
 
#3
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Jan 17, 2023
Company: Techatom Pvt Ltd

Hello this is Gulshan Negi
Well, to list records from a database table inside an HTML form, you can use a combination of HTML, CSS, and PHP code. First, create an HTML table inside the form and use CSS to style it. Then, use PHP code to connect to the database, retrieve the records from the desired table, and loop through the records to display them in the table rows. Finally, close the database connection. You can modify the code to match the table structure and field names in your database, as well as add more styling and functionality to the form as needed.
I hope you are clear now.
Thanks

 
#4
People who like this:0Yes/0No
Administrator
Rating: 23
Joined: Oct 3, 2019
Company:

Hello Gulshan Negi,

thank you for your message!

Could you describe your example in more detail? With source code and so on?

I think it would be useful for all developers to see

And well, please create a new topic on the forum for this of course :-)

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.