Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 26 APR 1999 09:50:31AM Keith Flanagan wrote:

I have a multi-page form, controlled by a tabbed inteface, and on Page 1 there are a number of combo box controls. Page 2 includes a button which calls a dialog box to populate a different table.

My problem begins when I call the second form after entering details into any of the combo boxes.

On returning from the dialog box I find that all the combo box fields are blank (all other fields are ok) .

It appears to be affecting just the text property, as exiting from the multi-page form doesn't give the savewarn message if I have displayed a previously saved record.

I appreciate that I can work around this by intercepting the Page event and manipulating the text properties of all the combo boxes, but I would rather know if I this is a known bug , or if I am doing something stupid.

Any help gratefully received !!

Keith


At 27 APR 1999 06:33AM Oystein Reigem wrote:

Keith,

Check this thread and see if the issue discussed isn't the same problem as you have:

http://www.revelation.com/WEBSITE/DISCUSS.NSF/f12696d31000b22a8525652b00831bb2/FAA7CB0EAB23055E8525667B003ED33A?OpenDocument

- Oystein -


At 27 APR 1999 07:33AM Keith wrote:

Oystein

I'd already had a trawl through this thread, thanks anyway.

The problem there seems to be contained with a multi page form. My problem only shows after returning to a multi page form with combo boxes from a second form.

I can use the workaround sugested from the earlier thread, but it seems to me that this might be a new bug !

Thanks for taking the time to reply anyway.

Keith


At 28 APR 1999 09:07AM Cameron Revelation wrote:

Keith,

It sounds like you are using a QuickEvent to call the second form and the return value ("") is being directed to the current control's (combo) DEFPROP. Just go into the QuickEvent designer and clear the two fields where it says 'return value to' or something like that.

Cameron Purdy

Revelation Software


At 28 APR 1999 10:55AM Keith Flanagan wrote:

Hi Cameron,

I'm not using a QuickEvent, and it is a number of combo boxes that are losing their text property, not just one. Interestingly enough, it only seems to be re-setting the text property, as quitting from the screen after the combo boxes have cleared to '' does not give me the Savewarn message. Re-reading the record populates the boxes back to their original value.

Strange eh?

If you have any other suggestions I would love to hear them !

Thanks

Keith

CCS Group


At 01 JUN 1999 06:46AM Keith Flanagan wrote:

Ah ha ! Sorted the problem !

A rogue bit of code was setting the list and text property of the combo boxes ( sitting on page 1 ) whilst page 2 was visible !

All working now !

Keith

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/cdabd43f560fadcc8525675f004c093e.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1