ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Displaying data using a variable (https://www.excelbanter.com/excel-discussion-misc-queries/250439-displaying-data-using-variable.html)

Maracay

Displaying data using a variable
 
Hi Guys,

I have stored in a variable (TXTFNAME) the name of fields table, the table
is call BasicData and the field is call FNAME, I need to display the
information I have in FNAME but using TXTFANAME, I cant do rs!TXTFNAME
because I am getting item not found in this collection, I would really
appreciate if someone shows me how to do this.

Thanks


Don Guillett

Displaying data using a variable
 
If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Maracay" wrote in message
...
Hi Guys,

I have stored in a variable (TXTFNAME) the name of fields table, the
table
is call BasicData and the field is call FNAME, I need to display the
information I have in FNAME but using TXTFANAME, I cant do rs!TXTFNAME
because I am getting item not found in this collection, I would really
appreciate if someone shows me how to do this.

Thanks




All times are GMT +1. The time now is 04:46 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com