Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Nothing happens when LS action button is pressed

Posted on 2008-10-09
11
Medium Priority
?
288 Views
Last Modified: 2013-12-18
I have a subform with action buttons which is used in 2 forms.

The problem is that with one form an button is working ok, but nothing happens in the other form!! not even a print before the actual code!

We have a mixed environment..R5 & R6.. So I have to design using R5... I tested it in R6 and the button worked in both forms..

I also tried copying the action button into both forms.. to make sure the problem is not related to the subform..

Any idea why this is happening?
0
Comment
Question by:miklesw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
  • 2
11 Comments
 
LVL 22

Expert Comment

by:mbonaci
ID: 22679112
Post the code.
Have you tried to use debugger to see what actually happens?
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 22679219
You do not have 2 forms with the same name, one with and the other without the subform? Are the subforms included by formula, or fixed?

Crude solution: stop your Notes client, and remove Cache.ndk (or cache.dsk) from the Notes data directory. Then try again.
0
 
LVL 1

Author Comment

by:miklesw
ID: 22679628
- debugger doesn't even come up.. its like there isn't any code in the click event
- I tried it on another pc and there was the same problem, so i don't think deleting the cache will solve it.. will try just in case
- fixed subforms
- there's only one form with that name,

oh and I also tried using the button in the template.. just in case the test db was corrupt and it still didn't work

0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 22680000
If you could send me a test.nsf database with the form and subform, in a working situation, so I test it over here? My mail address is in my EE-profile.

By the way, who said you cannot develop in R6 for R5?? I agree it is better not to do it, but it is possible. If you develop on local databases, and you want to retain the R5-database format, rename the databases to .ns5 or .nt5. But generally that's not required when you use R5 and/or R6 server. The disk format is not an issue during replication.
0
 
LVL 1

Author Comment

by:miklesw
ID: 22680787
actually have to cater for some r4 clients :/
hopefully not for long! it's a bit depressing after getting used to working with r6!

unfortunately i can't send you the actual form..its a bit of sensitive process etc etc..will try to simulate the prob in a bare copy of the form & subform



0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 22682982
The copy will do, provided it acts the same as the original one. By the way, I'm very sensitive too...

And R4?? I think I even scrapped all my R4-backups by now. So no R3.21 around eh? Pity ;-)
0
 
LVL 1

Author Comment

by:miklesw
ID: 22684782
could it be that there's a limit on the number of button in a form in r5?
0
 
LVL 1

Author Comment

by:miklesw
ID: 22684838
ok I jsut confirmed.. if I move the button further up.. it works!!!!
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 22684914
A limit? Never heard of it.

> ... move the button further up...
meaning: more to the bottom of the list of actions? Seems very strange to me. Although, in R5...

Or are the buttons IN your subform, as real buttons, and not action buttons?

Glad you solved your puzzle!
0
 
LVL 1

Accepted Solution

by:
miklesw earned 0 total points
ID: 22685013
basically, the r5 client seems ignore the contents of the buttons at the bottom of the action list (as seen in the designer)..and subform buttons are appended at the end of the list

to test this i had to paste the buttons into the main form, so i could play around with the order

0
 
LVL 22

Expert Comment

by:mbonaci
ID: 25400877
You have to turn debugger on after opening the document. Then the debugger will be shown for documents that are created (and opened) from the LS.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question