Subject | Re: [IBO] IB_LookupCombo in an IB_Grid |
---|---|
Author | Svein Erling Tysvær |
Post date | 2001-02-08T07:43:53Z |
Just noticed one thing I think Jason has warned against before (don't
remember if it was in this setting, though):
country.country=employee.job_country Does that make any difference? The
rest of your settings seems just fine...
Set
At 15:02 08.02.2001 +1300, you wrote:
table in a difficult to follow way.
remember if it was in this setting, though):
>KeyLinks = country.country = employee.job_countryRemove your spaces, i.e. set KeyLinks to
country.country=employee.job_country Does that make any difference? The
rest of your settings seems just fine...
Set
At 15:02 08.02.2001 +1300, you wrote:
>Hello Helenexample to work. (I had some typos in my prev post so I correct them here)
>
>Thanks for your comments. The two lines you suggested adding enable the
>files\borland\data\employee.gdb)
>A simple example of embedding an IB_Lookup in an IB_Grid:
>
>
>Use a new app with a single form, and EMPLOYEE.GDB.
>On the form put a connection, transaction,
>qrGrid, qrLookup (IB_Query)
>dsGrid, dsLookup (IB_DataSource)
>myGrid,(IB_Grid)
>myLookup, (IB_LookupCombo) with myLookup inside myGrid.
>
>
>Use table EMPLOYEE in the grid. (try c:\program files\common
>displayed and a country
>qrGrid has(
>SQL = select * from employee
>)
>
>qrLookup has(
>SQL=select country, country as job_country from country
>KeySource = dsGrid
>KeyLinks = country.country = employee.job_country
>)
>
>myLookup has (
>DataSource=dslookup
>DisplayField=job_country
>)
>
>When the JOB_COUNTRY cell is selected the current EMPLOYEE.JOB_COUNTRY is
>can be selected from the COUNTRY.COUNTRY column.Ignore them for the purpose of this example.)
>
>(However constraints internal to the EMPLOYEE.GDB will cause errors.
>misleading in parts but works when the linked fields have the same name.
>From this exercise this group could note
>1. The IBO FAQ article by Lars on embedding an IB_Lookup in an IB_Grid is
>but appears to establish a link between the grid cell value and the source
>2. The embedding present in the IBO Samples - Contact application works
table in a difficult to follow way.
>
>Russell
>
>
>
>[Non-text portions of this message have been removed]
>
>
>
>
>
>