NetTalk Central

Author Topic: Browse refresh from memory popup - possible interference from memory form parent  (Read 4320 times)

Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Hi Bruce/Folks,

Have got:
- parent memory form
- file browse, set in the parent memory form template settings, in a tab
- custom button, calls a popup form procedure
- form is a memory form
- code creates a new record in the browse file
- in browse button template options, have "refresh browse" ticked

Have also ticked "send stuff to debugview" on the browse template - screen attached of the flow, which includes my own custom debug()ing.

The browse doesn't refresh the way I'm hoping it will - ie, full refresh where the custom filter will be called.

1. The parent form + browse is called, you can see the custom filter debug() getting called.
2. I click the custom button, popup memory form opens.
3. I click the save button, the validaterecord debug() happens, and we go back to the browse.
4. The final two template debug() lines show the browse gaining focus.

The new record is not shown on the browse.

Am thinking it might be because of the parent memory form.

Any thoughts?

[attachment deleted by admin]
Cheers,

Stu Andrews

Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Here's the debugview with "send stage to debugview" ticked on the parent memory form.

Seems likely that something is being cleared because of a clash between the two memory forms - Bruce, this sound likely?

[attachment deleted by admin]
Cheers,

Stu Andrews

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
>> Any thoughts?

Post an example - it'll be much easier to comment than trying to follow your description...

cheers
Bruce

Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Yes, but if you just read through my description I wouldn't have to do up an example.

I'll see what I can do.
Cheers,

Stu Andrews

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Hi Stu,

I'm not trying to make your like difficult.

What you are describing is a very specific setup, with a very specific path. Without an example to run it is impossible for me to speculate what the cause of the problem might be, or the most optimal way to fix it. I could of course whip up an example based on your description, but in my experience that process is fruitless because either;

a) The problem is trivial to create an example for (in which case you can do the example faster than me, usually by tweaking an existing app) or

b) There is insufficient information in your description to reproduce the issue. In which case I've got no chance of duplicating the problem in the first place.

If you try and make an example, and fail, then that in itself is useful information because it identifies the problem as being very specific to some critical thing - something which by definition you haven't identified yet.

My goal when asking for an example is not to make your life harder - it's to make it faster for you to get a solution. Examples have proven to be the fastest way, by quite some distance, to getting an accurate and helpful answer. They also are the most efficient way for me to answer a question, and hence the best way for me to answer as many questions I can in my limited time.

Cheers
Bruce


Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Bruce, I too am not wanting or trying to make your life harder - I do know how busy you are.

My point was, initially all I was looking for was your brain-scan of the problem and whether or not it alerted you to anything obvious in the scenario I'd laid out.

If the answer was no, nothing, then cool .. I'll do more digging etc.

Anyway, I'll try and get an example done.
Cheers,

Stu Andrews