Specify form section when using ENTER NEW, VIEW, EDIT

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
joben
Posts: 221
Joined: Wed Nov 06, 2019 9:49 pm
Location: Sweden
Contact:

Specify form section when using ENTER NEW, VIEW, EDIT

Post by joben »

Found this in the changelog for version 8.1:
- Ability to specify section name in ENTER NEW, EDIT and VIEW actions: ENTER NEW Obj USING Main SECTION Main
Anyone know if this is possible to do from a process?
I can't get it to work.
I have a form called ProjektMobil and a section called Material:
Skärmbild 2021-04-30 154734.png
Skärmbild 2021-04-30 154734.png (12.55 KiB) Viewed 3698 times
Shouldn't this code be valid?

Code: Select all

VIEW Projekt USING ProjektMobil SECTION Material
Skärmbild 2021-04-30 155302.png
Skärmbild 2021-04-30 155302.png (6.34 KiB) Viewed 3697 times
Regards, Joakim

Image
Jaymer
Posts: 2430
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: Specify form section when using ENTER NEW, VIEW, EDIT

Post by Jaymer »

+1
I could use this right now!
Maybe just an oversight.

Here's how is looks in 8.6
Note the colors are not recognizing SECTION
Screen Shot 2021-05-01 at 11.21.47 AM.png
Screen Shot 2021-05-01 at 11.21.47 AM.png (12.7 KiB) Viewed 3656 times
Getting same error msg as you.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Posts: 2430
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: Specify form section when using ENTER NEW, VIEW, EDIT

Post by Jaymer »

bump
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
himanshu
Posts: 722
Joined: Thu Jun 19, 2008 6:24 am
Location: India
Contact:

Re: Specify form section when using ENTER NEW, VIEW, EDIT

Post by himanshu »

I had and have tried too... still not working and getting same error dialogue message.
From,
Himanshu Jain


AwareIM Consultant (since version 4.0)
OS: Windows 10.0, Mac
DB: MYSQL, MSSQL
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Re: Specify form section when using ENTER NEW, VIEW, EDIT

Post by aware_support »

It has to be FORM_SECTION, not SECTION.

So in your example it should be:

VIEW Projekt USING ProjektMobil FORM_SECTION Material

This is documented in the Rule Language Guide. The 8.1 changelog is obsolete
Aware IM Support Team
Post Reply