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 07 SEP 2001 12:28:19PM S Bell wrote:

HELP!

I was working on a form tring to get 5 symbolic fielde

to work, and got this error …..

REP314: Incomplete key: No control for key part 1

I couldn't find any info about this error.

Next I deleted the controls for the 5 symbolic fields.

Now when the form is in the edit mode the five fields are gone.

But when I run the form, the five controls are still there.

Kind of looks like the change I made to the form didn't get

saved right.

Any clues?


At 07 SEP 2001 02:13PM Oystein Reigem wrote:

S,

Your form is bound to a table, right? (Or is it bound to more than one table? Then I'm off the case.)

That table has more than one key field, right? There are several key fields that each contain one part of the key. If you disagree go check with Table Builder. Your form should contain one control for each of these key parts. (These parts cannot be symbolics, so I don't know how your symbolics come into it.) Well, the message says your form lacks a control for the first key part.

Or?

If the problems persist perhaps you should rebuild your form from scratch - in incremental steps, not introducing too much at a time. E.g start with all the key controls and the control for one other field.

- Oystein -


At 07 SEP 2001 03:03PM S Bell wrote:

This form is for a file that has a two part key. Both controls

for this two part key look fine. When I answer OK to my error,

the form will still run and read a record ok. I tried to delete

the controls for the symbolic fields to insure they wrer not the

problem. I don't understand how these controls are gone but reapear

on the form when it ran, then upon exiting the form, they are gone

agin.


At 07 SEP 2001 06:37PM Oystein Reigem wrote:

S,

Are you the sole author of this form? Or is it somebody elses programming in there?

If you have a control that you can't see at design time, but appears when the form is run, the explanation could be one of the following:

- The control does not exist at design time, but is created dynamically by some handler at runtime. Check the form's handlers to see if this is the case. Perhaps also check if there are promoted handlers.

- The control does exist at design time, but is invisible. At runtime some handler makes it visible. To see invisible controls in Form Designer select View | Show Invisible Controls.

- The control does exist at design time, but outside the border of the form. At runtime some handler moves it inside the visible area of the form. To find all controls first select any control in Form Designer, then press Tab repeatedly to cycle through all the controls. If at any time the focus disappears (no control selected), the focus is at a control outside the visible area. Then press any arrow key to make the control jump within the visible area.

But perhaps your whole form is rotten and needs to be rebuilt from scratch.

- Oystein -

View this thread on the forum...

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