NetTalk Central

Author Topic: Heading on a form / TABLE form on a MEMORY form?  (Read 3522 times)

JohanR

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • Email
Heading on a form / TABLE form on a MEMORY form?
« on: March 16, 2024, 12:58:34 AM »
Hi,

Perhaps 2 questions in 1

1)
I've seen several posts and it does not seem as if there is a simple solution to change the heading text after the form is generated.
Is there simple way to change heading on a form?

2)
Is there a way to wrap a TABLE form in a MEMORY form, but still have the TABLE function normally?
IOW use the TABLE form as an update form from a browse, but still wrapped inside the MEMORY form?
Thinking is to use the wrapping MEMORY form to populate fields above the TABLE form tab


thanks

Johan
 
« Last Edit: March 16, 2024, 01:00:52 AM by JohanR »

JohanR

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • Email
Re: Heading on a form / TABLE form on a MEMORY form?
« Reply #1 on: March 16, 2024, 02:10:19 AM »
Hi,

I have placed a TABLE form on a MEMORY form, and all seems to work.
just not sure if something will come up and if the method is sound and safe for all situations


thanks

Johan

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Heading on a form / TABLE form on a MEMORY form?
« Reply #2 on: March 18, 2024, 06:20:28 PM »
Your form-in-a-form is fine, as long as the memory form has the option to "include <form> tag" set off.

Regarding the header, it depends on whether the form is in popup mode or page mode.

JohanR

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • Email
Re: Heading on a form / TABLE form on a MEMORY form?
« Reply #3 on: March 23, 2024, 06:18:36 AM »
Hi Bruce

Thanks for the info,
when I call the Memory form, with Insert action or from the browse,
is there a way to pass on the action/stage to the Table Form from the Memory Form

regards

Johan

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Heading on a form / TABLE form on a MEMORY form?
« Reply #4 on: March 24, 2024, 10:47:45 PM »
I _feel_ like it inherits it automatically?
Perhaps tweak one of the example apps to show the layout you have and we can look from there.
But, from memory, the "action" is a value for the page, and so cascades down to all the controls on the page.

B

JohanR

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • Email
Re: Heading on a form / TABLE form on a MEMORY form?
« Reply #5 on: March 24, 2024, 11:51:12 PM »
Hi Bruce

That's what I was thinking,
but for some reason does not seem to save, on inserts or on changes
So was thinking it got lost somewhere in the population of the form, but will duplicate in an example app and see if it does the same thing.

thanks

Johan

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Heading on a form / TABLE form on a MEMORY form?
« Reply #6 on: March 25, 2024, 02:04:02 AM »
make sure the "outer" form has the "Generate <form> tag" option turned OFF and the table form has it ON.

JohanR

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • Email
Re: Heading on a form / TABLE form on a MEMORY form?
« Reply #7 on: March 26, 2024, 06:36:57 AM »
Hi Bruce

Yes, <FORM> was off on the memory form,
I mailed you an example app with the problem.

regards

Johan