I am looking for input on how best to acheive a common process -- i.e.,
returning multiple field values from a lookup table. If I use a comboBox on
a form, I know I can fill aItems with field values from a lookup table.
However, the record pointer in the lookup table does not appear to be
synched with the value selected in the lookup table (aItems appears to be an
array of field values copied from the lookup table). So, how best to seek
for the record in the lookup table that corresponds to the value selected in
the comboBox, especially in those cases where the lookup table is indexed by
some unique identifier that is NOT the value chosen for display in the
comboBox?
TIA,
Gary
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Returning multiple field values from combobox selection
-
- Mensajes: 202
- Registrado: Dom Feb 17, 2008 3:35 am
-
- Mensajes: 202
- Registrado: Dom Feb 17, 2008 3:35 am
Returning multiple field values from combobox selection
Is there a sample that covers this?
Gary
"Gary S. Rogers" <g.s.rogers@att.net> wrote in message
news:4a4284f7$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>I am looking for input on how best to acheive a common process -- i.e.,
>returning multiple field values from a lookup table. If I use a comboBox on
>a form, I know I can fill aItems with field values from a lookup table.
>However, the record pointer in the lookup table does not appear to be
>synched with the value selected in the lookup table (aItems appears to be
>an array of field values copied from the lookup table). So, how best to
>seek for the record in the lookup table that corresponds to the value
>selected in the comboBox, especially in those cases where the lookup table
>is indexed by some unique identifier that is NOT the value chosen for
>display in the comboBox?
>
> TIA,
> Gary
>
>
Gary
"Gary S. Rogers" <g.s.rogers@att.net> wrote in message
news:4a4284f7$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>I am looking for input on how best to acheive a common process -- i.e.,
>returning multiple field values from a lookup table. If I use a comboBox on
>a form, I know I can fill aItems with field values from a lookup table.
>However, the record pointer in the lookup table does not appear to be
>synched with the value selected in the lookup table (aItems appears to be
>an array of field values copied from the lookup table). So, how best to
>seek for the record in the lookup table that corresponds to the value
>selected in the comboBox, especially in those cases where the lookup table
>is indexed by some unique identifier that is NOT the value chosen for
>display in the comboBox?
>
> TIA,
> Gary
>
>
-
- Mensajes: 202
- Registrado: Dom Feb 17, 2008 3:35 am
Returning multiple field values from combobox selection
Is there a sample that covers this?
Gary
"Gary S. Rogers" <g.s.rogers@att.net> wrote in message
news:4a4284f7$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>I am looking for input on how best to acheive a common process -- i.e.,
>returning multiple field values from a lookup table. If I use a comboBox on
>a form, I know I can fill aItems with field values from a lookup table.
>However, the record pointer in the lookup table does not appear to be
>synched with the value selected in the lookup table (aItems appears to be
>an array of field values copied from the lookup table). So, how best to
>seek for the record in the lookup table that corresponds to the value
>selected in the comboBox, especially in those cases where the lookup table
>is indexed by some unique identifier that is NOT the value chosen for
>display in the comboBox?
>
> TIA,
> Gary
>
>
Gary
"Gary S. Rogers" <g.s.rogers@att.net> wrote in message
news:4a4284f7$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>I am looking for input on how best to acheive a common process -- i.e.,
>returning multiple field values from a lookup table. If I use a comboBox on
>a form, I know I can fill aItems with field values from a lookup table.
>However, the record pointer in the lookup table does not appear to be
>synched with the value selected in the lookup table (aItems appears to be
>an array of field values copied from the lookup table). So, how best to
>seek for the record in the lookup table that corresponds to the value
>selected in the comboBox, especially in those cases where the lookup table
>is indexed by some unique identifier that is NOT the value chosen for
>display in the comboBox?
>
> TIA,
> Gary
>
>
-
- Mensajes: 202
- Registrado: Dom Feb 17, 2008 3:35 am
Returning multiple field values from combobox selection
I experimented with aItemsBound and think it will do the trick!
"Gary S. Rogers" <g.s.rogers@att.net> wrote in message
news:[email=4a4e6580@svctag-j7w3v3j....]4a4e6580@svctag-j7w3v3j....[/email]
> Is there a sample that covers this?
> Gary
>
>
>
> "Gary S. Rogers" <g.s.rogers@att.net> wrote in message
> news:4a4284f7$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>I am looking for input on how best to acheive a common process -- i.e.,
>>returning multiple field values from a lookup table. If I use a comboBox
>>on a form, I know I can fill aItems with field values from a lookup table.
>>However, the record pointer in the lookup table does not appear to be
>>synched with the value selected in the lookup table (aItems appears to be
>>an array of field values copied from the lookup table). So, how best to
>>seek for the record in the lookup table that corresponds to the value
>>selected in the comboBox, especially in those cases where the lookup table
>>is indexed by some unique identifier that is NOT the value chosen for
>>display in the comboBox?
>>
>> TIA,
>> Gary
>>
>>
>
"Gary S. Rogers" <g.s.rogers@att.net> wrote in message
news:[email=4a4e6580@svctag-j7w3v3j....]4a4e6580@svctag-j7w3v3j....[/email]
> Is there a sample that covers this?
> Gary
>
>
>
> "Gary S. Rogers" <g.s.rogers@att.net> wrote in message
> news:4a4284f7$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>I am looking for input on how best to acheive a common process -- i.e.,
>>returning multiple field values from a lookup table. If I use a comboBox
>>on a form, I know I can fill aItems with field values from a lookup table.
>>However, the record pointer in the lookup table does not appear to be
>>synched with the value selected in the lookup table (aItems appears to be
>>an array of field values copied from the lookup table). So, how best to
>>seek for the record in the lookup table that corresponds to the value
>>selected in the comboBox, especially in those cases where the lookup table
>>is indexed by some unique identifier that is NOT the value chosen for
>>display in the comboBox?
>>
>> TIA,
>> Gary
>>
>>
>
-
- Mensajes: 202
- Registrado: Dom Feb 17, 2008 3:35 am
Returning multiple field values from combobox selection
I experimented with aItemsBound and think it will do the trick!
"Gary S. Rogers" <g.s.rogers@att.net> wrote in message
news:[email=4a4e6580@svctag-j7w3v3j....]4a4e6580@svctag-j7w3v3j....[/email]
> Is there a sample that covers this?
> Gary
>
>
>
> "Gary S. Rogers" <g.s.rogers@att.net> wrote in message
> news:4a4284f7$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>I am looking for input on how best to acheive a common process -- i.e.,
>>returning multiple field values from a lookup table. If I use a comboBox
>>on a form, I know I can fill aItems with field values from a lookup table.
>>However, the record pointer in the lookup table does not appear to be
>>synched with the value selected in the lookup table (aItems appears to be
>>an array of field values copied from the lookup table). So, how best to
>>seek for the record in the lookup table that corresponds to the value
>>selected in the comboBox, especially in those cases where the lookup table
>>is indexed by some unique identifier that is NOT the value chosen for
>>display in the comboBox?
>>
>> TIA,
>> Gary
>>
>>
>
"Gary S. Rogers" <g.s.rogers@att.net> wrote in message
news:[email=4a4e6580@svctag-j7w3v3j....]4a4e6580@svctag-j7w3v3j....[/email]
> Is there a sample that covers this?
> Gary
>
>
>
> "Gary S. Rogers" <g.s.rogers@att.net> wrote in message
> news:4a4284f7$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>I am looking for input on how best to acheive a common process -- i.e.,
>>returning multiple field values from a lookup table. If I use a comboBox
>>on a form, I know I can fill aItems with field values from a lookup table.
>>However, the record pointer in the lookup table does not appear to be
>>synched with the value selected in the lookup table (aItems appears to be
>>an array of field values copied from the lookup table). So, how best to
>>seek for the record in the lookup table that corresponds to the value
>>selected in the comboBox, especially in those cases where the lookup table
>>is indexed by some unique identifier that is NOT the value chosen for
>>display in the comboBox?
>>
>> TIA,
>> Gary
>>
>>
>
-
- Mensajes: 202
- Registrado: Dom Feb 17, 2008 3:35 am
Returning multiple field values from combobox selection
I am able to use aItemsBound to hold an array of values of the primary key
corresponding to character values in the aItems array. I load the two
different arrays from a dataset in the OnCreate event of the dbComboBox
datacontrol.
In the OnExit event, I use that primary key to seek for the appropriate
record in an open dataset and then assign multiple field values to
corresponding datacontrols on the form.
The objective is to fill in address information on the form which is
contained in another dataset according to which name is selected in the
ComboBox. I am able to use one OrdSetFocus() to show the list of names in
alphabetical order and another OrdSetFocus() (temporarily) to seek for the
primary key when retrieving data. The new values show up on the form as soon
as I exit the dbComboBox control.
This works great!
"Gary S. Rogers" <g.s.rogers@att.net> wrote in message
news:4a50062e$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>I experimented with aItemsBound and think it will do the trick!
>
>
> "Gary S. Rogers" <g.s.rogers@att.net> wrote in message
> news:[email=4a4e6580@svctag-j7w3v3j....]4a4e6580@svctag-j7w3v3j....[/email]
>> Is there a sample that covers this?
>> Gary
>>
>>
>>
>> "Gary S. Rogers" <g.s.rogers@att.net> wrote in message
>> news:4a4284f7$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>>I am looking for input on how best to acheive a common process -- i.e.,
>>>returning multiple field values from a lookup table. If I use a comboBox
>>>on a form, I know I can fill aItems with field values from a lookup
>>>table. However, the record pointer in the lookup table does not appear to
>>>be synched with the value selected in the lookup table (aItems appears to
>>>be an array of field values copied from the lookup table). So, how best
>>>to seek for the record in the lookup table that corresponds to the value
>>>selected in the comboBox, especially in those cases where the lookup
>>>table is indexed by some unique identifier that is NOT the value chosen
>>>for display in the comboBox?
>>>
>>> TIA,
>>> Gary
>>>
>>>
>>
>
corresponding to character values in the aItems array. I load the two
different arrays from a dataset in the OnCreate event of the dbComboBox
datacontrol.
In the OnExit event, I use that primary key to seek for the appropriate
record in an open dataset and then assign multiple field values to
corresponding datacontrols on the form.
The objective is to fill in address information on the form which is
contained in another dataset according to which name is selected in the
ComboBox. I am able to use one OrdSetFocus() to show the list of names in
alphabetical order and another OrdSetFocus() (temporarily) to seek for the
primary key when retrieving data. The new values show up on the form as soon
as I exit the dbComboBox control.
This works great!
"Gary S. Rogers" <g.s.rogers@att.net> wrote in message
news:4a50062e$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>I experimented with aItemsBound and think it will do the trick!
>
>
> "Gary S. Rogers" <g.s.rogers@att.net> wrote in message
> news:[email=4a4e6580@svctag-j7w3v3j....]4a4e6580@svctag-j7w3v3j....[/email]
>> Is there a sample that covers this?
>> Gary
>>
>>
>>
>> "Gary S. Rogers" <g.s.rogers@att.net> wrote in message
>> news:4a4284f7$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>>I am looking for input on how best to acheive a common process -- i.e.,
>>>returning multiple field values from a lookup table. If I use a comboBox
>>>on a form, I know I can fill aItems with field values from a lookup
>>>table. However, the record pointer in the lookup table does not appear to
>>>be synched with the value selected in the lookup table (aItems appears to
>>>be an array of field values copied from the lookup table). So, how best
>>>to seek for the record in the lookup table that corresponds to the value
>>>selected in the comboBox, especially in those cases where the lookup
>>>table is indexed by some unique identifier that is NOT the value chosen
>>>for display in the comboBox?
>>>
>>> TIA,
>>> Gary
>>>
>>>
>>
>
-
- Mensajes: 202
- Registrado: Dom Feb 17, 2008 3:35 am
Returning multiple field values from combobox selection
I am able to use aItemsBound to hold an array of values of the primary key
corresponding to character values in the aItems array. I load the two
different arrays from a dataset in the OnCreate event of the dbComboBox
datacontrol.
In the OnExit event, I use that primary key to seek for the appropriate
record in an open dataset and then assign multiple field values to
corresponding datacontrols on the form.
The objective is to fill in address information on the form which is
contained in another dataset according to which name is selected in the
ComboBox. I am able to use one OrdSetFocus() to show the list of names in
alphabetical order and another OrdSetFocus() (temporarily) to seek for the
primary key when retrieving data. The new values show up on the form as soon
as I exit the dbComboBox control.
This works great!
"Gary S. Rogers" <g.s.rogers@att.net> wrote in message
news:4a50062e$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>I experimented with aItemsBound and think it will do the trick!
>
>
> "Gary S. Rogers" <g.s.rogers@att.net> wrote in message
> news:[email=4a4e6580@svctag-j7w3v3j....]4a4e6580@svctag-j7w3v3j....[/email]
>> Is there a sample that covers this?
>> Gary
>>
>>
>>
>> "Gary S. Rogers" <g.s.rogers@att.net> wrote in message
>> news:4a4284f7$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>>I am looking for input on how best to acheive a common process -- i.e.,
>>>returning multiple field values from a lookup table. If I use a comboBox
>>>on a form, I know I can fill aItems with field values from a lookup
>>>table. However, the record pointer in the lookup table does not appear to
>>>be synched with the value selected in the lookup table (aItems appears to
>>>be an array of field values copied from the lookup table). So, how best
>>>to seek for the record in the lookup table that corresponds to the value
>>>selected in the comboBox, especially in those cases where the lookup
>>>table is indexed by some unique identifier that is NOT the value chosen
>>>for display in the comboBox?
>>>
>>> TIA,
>>> Gary
>>>
>>>
>>
>
corresponding to character values in the aItems array. I load the two
different arrays from a dataset in the OnCreate event of the dbComboBox
datacontrol.
In the OnExit event, I use that primary key to seek for the appropriate
record in an open dataset and then assign multiple field values to
corresponding datacontrols on the form.
The objective is to fill in address information on the form which is
contained in another dataset according to which name is selected in the
ComboBox. I am able to use one OrdSetFocus() to show the list of names in
alphabetical order and another OrdSetFocus() (temporarily) to seek for the
primary key when retrieving data. The new values show up on the form as soon
as I exit the dbComboBox control.
This works great!
"Gary S. Rogers" <g.s.rogers@att.net> wrote in message
news:4a50062e$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>I experimented with aItemsBound and think it will do the trick!
>
>
> "Gary S. Rogers" <g.s.rogers@att.net> wrote in message
> news:[email=4a4e6580@svctag-j7w3v3j....]4a4e6580@svctag-j7w3v3j....[/email]
>> Is there a sample that covers this?
>> Gary
>>
>>
>>
>> "Gary S. Rogers" <g.s.rogers@att.net> wrote in message
>> news:4a4284f7$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>>I am looking for input on how best to acheive a common process -- i.e.,
>>>returning multiple field values from a lookup table. If I use a comboBox
>>>on a form, I know I can fill aItems with field values from a lookup
>>>table. However, the record pointer in the lookup table does not appear to
>>>be synched with the value selected in the lookup table (aItems appears to
>>>be an array of field values copied from the lookup table). So, how best
>>>to seek for the record in the lookup table that corresponds to the value
>>>selected in the comboBox, especially in those cases where the lookup
>>>table is indexed by some unique identifier that is NOT the value chosen
>>>for display in the comboBox?
>>>
>>> TIA,
>>> Gary
>>>
>>>
>>
>