Search found 92 matches

by lueu
Mon Jan 08, 2024 10:21 am
Forum: General discussion and questions about Aware IM
Topic: Remove PROTECT when condition no longer holds?
Replies: 8
Views: 99020

Re: Remove PROTECT when condition no longer holds?

You can only protect a BO based on its own attributes. IF BO.Flag=1 THEN READ PROTECT BO.Secret IF BO.psRelatedBO.Flag=1 THEN READ PROTECT BO.Secret Followup question here: This last code snippet indicates I can use a shortcut, is that correct? Will the system be able to pick up if the shortcut att...
by lueu
Fri Jan 05, 2024 8:12 am
Forum: General discussion and questions about Aware IM
Topic: Remove PROTECT when condition no longer holds?
Replies: 8
Views: 99020

Re: Remove PROTECT when condition no longer holds?

Okei, thanks for the tip, good to know!
by lueu
Fri Jan 05, 2024 7:20 am
Forum: General discussion and questions about Aware IM
Topic: Remove PROTECT when condition no longer holds?
Replies: 8
Views: 99020

Re: Remove PROTECT when condition no longer holds?

Thanks, that's what I thought, but I think I'm doing something wrong, since it protects all wheter attribute is 0 or 1. But it might be because of the different BO's? I have "IF BO1.Attribute=0, then PROTECT BO2 FROM ALL", but if this attribute wasn't "avalilable" for the rule, the protect should no...
by lueu
Thu Jan 04, 2024 3:11 pm
Forum: General discussion and questions about Aware IM
Topic: Remove PROTECT when condition no longer holds?
Replies: 8
Views: 99020

Remove PROTECT when condition no longer holds?

Is it possible to use a rule with PROTECTthat stops protecting the attributes when the condition no longer holds? If so, how would this be written? I would like to protect a BO/query/form from being edited while a process is running on another BO. When the process is running an attribute in this oth...
by lueu
Thu Jan 04, 2024 1:03 pm
Forum: General discussion and questions about Aware IM
Topic: [RESOLVED] DISPLAY MESSAGE - how to center and make it stick for the set delay time?
Replies: 1
Views: 1011

Re: [RESOLVED] DISPLAY MESSAGE - how to center and make it stick for the set delay time?

So I figured it out. The ASYNCH of course is what puts the message in the corner. If I remove that part, including delay and top, I will get my message in the middle of the screen with a title. But then I can't make it stay for 60 seconds, so I will have to find another way to make the users wait. W...
by lueu
Thu Jan 04, 2024 12:45 pm
Forum: General discussion and questions about Aware IM
Topic: [RESOLVED] DISPLAY MESSAGE - how to center and make it stick for the set delay time?
Replies: 1
Views: 1011

[RESOLVED] DISPLAY MESSAGE - how to center and make it stick for the set delay time?

Is it possible to make DISPLAY MESSAGE display on the center of the screen, or on top center? I've tried TOP, but it displays top right? I also put in a DELAY, but if I click on the message, it dissapears. I would like it to stay the full 60 seconds and thus prevent users from doing anything else wh...
by lueu
Tue Dec 19, 2023 10:06 am
Forum: General discussion and questions about Aware IM
Topic: [SOLVED]Edit "Please confirm" delete dialog box?
Replies: 4
Views: 6423

Re: [SOLVED]Edit "Please confirm" delete dialog box?

Thanks Joben, this works perfectly! :D If anyone else reads this post later and wonder where to learn about this, check out documentation https://www.awareim.com/dokuwiki/doku.php/docs/2500_config_apps/1800_locales and video https://www.awareim.com/dokuwiki/doku.php/docs/5000_videos/430_multi_language
by lueu
Mon Dec 18, 2023 2:18 pm
Forum: General discussion and questions about Aware IM
Topic: [SOLVED]Edit "Please confirm" delete dialog box?
Replies: 4
Views: 6423

[SOLVED]Edit "Please confirm" delete dialog box?

Is it possible to edit the "Please confirm. Do you want to delete this item" dialog box? I would like to change the language on the text and buttons if possible :)
by lueu
Thu Dec 14, 2023 8:50 am
Forum: General discussion and questions about Aware IM
Topic: [SOLVED]Custom format for decimal numbers
Replies: 2
Views: 12014

Re: [SOLVED] Custom format for decimal numbers

Thanks for the tip! It didn't work exactly as I needed, but helped me understand how I could play with the custom format. Ended up with #.########## since I have 10 decimals, and this format seems to cut the last zeroes in line. Thank you :)
by lueu
Tue Dec 12, 2023 9:29 am
Forum: General discussion and questions about Aware IM
Topic: [SOLVED]Custom format for decimal numbers
Replies: 2
Views: 12014

[SOLVED]Custom format for decimal numbers

Hi! Anyone know if (and how) I can write a custom format for decimal numbers that removes zeroes if any? I have set the number of digits after decimal point to 6 (maximum), but for numbers that have zeroes after decimal point I would like these to be cut out, ex. 248.150000 would show as 248.15, 543...
by lueu
Wed Nov 29, 2023 12:48 pm
Forum: General discussion and questions about Aware IM
Topic: EXEC_SP in deletion rule?
Replies: 2
Views: 7875

Re: EXEC_SP in deletion rule?

Thanks, Bruce. Yes, I can use a trigger. Was just hoping there was a way to do this in AwareIM, since deletion rules exits and you can tie a process to the save-button. So it seems possible in theory, at least :)
by lueu
Tue Nov 28, 2023 9:58 am
Forum: General discussion and questions about Aware IM
Topic: EXEC_SP in deletion rule?
Replies: 2
Views: 7875

EXEC_SP in deletion rule?

Is it possible to use an EXEC_SP in a deletion rule? I have a stored procedure that works directly in the database, and I would like this to kick off when the user deletes a record. Can't find a way to tie a process to the delete button (as I can for Save), and using it in deletion rules doesn't see...
by lueu
Tue Nov 28, 2023 8:34 am
Forum: General discussion and questions about Aware IM
Topic: [SOLVED]Operations with records in View query, but do changes in BO?
Replies: 6
Views: 14425

Re: [SOLVED]Operations with records in View query, but do changes in BO?

The problem is solved doing what Bruce suggested. I created a BO, then created a stored procedure to populate the new BO from the view. To display the result correctly I used a process with an EXEC_SP and a DISPLAY the query I made from the new BO. I also added the process to the Save-button to make...