Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error: 'field' phrase is not found

Status
Not open for further replies.

chpicker

Programmer
Apr 10, 2001
1,316
I get this error message a lot when trying to set up a list or combo box with a RowSourceType of 6(Fields). It only happens at run-time, obviously, but not during execution of any code (debugger shows no source). Clicking HELP on the error message gives information which is completely irrelevant (something about a command with a PROMPT clause). Is there some kind of secret to setting up a list or combo box that I'm missing somehow?

I want the list box to have 3 columns: 2 fields from one table, and a third field from a child table. I set a relation from the parent to the child in the DataEnvironment object at design time. I have the ColumnCount set to 3, RowSourceType set to 6, and RowSource set to "parent.field1,parent.field2,child.field1". Any ideas?
 
Normally RowSourceType = 6, uses a single table, and you don't repeat the table name. e.g. RowSource = "parent.field1,field2,field3".

If you are referencing two related tables, you may want to try RowSource = "parent.field1,field2,child.field1" - it may work, if not, consider using a local view that includes both tables as the RowSource.

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top