How to know the postion of record

G

Guest

Dear all,

I have a form and on from there are a listbox with Row Source from a access
table and some textbox. I would like when i click on listbox the selected
record will appear on textbox. I use docmd.gotorecord acdataform," formname",
acgoto, absolute postion of record. However, I don't know to get absolute
postion of selected record (value of listbox).

Could any one can help me?

Thank you very much.
 
J

Joseph Meehan

hainamle said:
Dear all,

I have a form and on from there are a listbox with Row Source from a
access table and some textbox. I would like when i click on listbox
the selected record will appear on textbox. I use docmd.gotorecord
acdataform," formname", acgoto, absolute postion of record. However,
I don't know to get absolute postion of selected record (value of
listbox).

Maybe I have misread your question, but records do not have absolute
positions in a table. A table is more like a bucket than a list.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top