Solved

get data from row on a subform in access

Posted on 2014-09-30
14
137 Views
Last Modified: 2014-10-13
I have a subform on a main form and i have used the double click event on the row of the subform, what I want to do is grab the string in that row, how do I do that in vba?
0
Comment
Question by:PeterBaileyUk
  • 9
  • 4
14 Comments
 

Author Comment

by:PeterBaileyUk
ID: 40353965
i tried this but this only reveals the record number:
WordArray() = Split(Me.CurrentRecord)
0
 

Author Comment

by:PeterBaileyUk
ID: 40354022
ok i worked it out

WordArray() = Me.[DecodeResult].Value


so maybe the question can be closed by moderator.
0
 

Accepted Solution

by:
PeterBaileyUk earned 0 total points
ID: 40354023
WordArray() = split(Me.[DecodeResult].Value)
0
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 40354028
Yes. Just click Request Attention top-right.

/gustav
0
 

Author Comment

by:PeterBaileyUk
ID: 40354759
well again short thrift from a moderator this time, I really don't understand why i get the "telling off" if you don't want me on here then make a payment adjustment and close the account. I don't know all the rules.

Certainly a bit of courtesy to the people who pay wouldn't go amiss.

If you all carry on this way you will drive the payers away.
0
 

Author Comment

by:PeterBaileyUk
ID: 40354760
And I just went to close it myself as "ordered" and it wants me to justify the decision. Now are you getting the conflict here. I dont win.
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 49

Expert Comment

by:Gustav Brock
ID: 40354775
Sorry, forgot that.
I don't post that many questions myself, and normally just close them marking as answered.

Peter, don't forget some of us pay with our time.

/gustav
0
 

Author Comment

by:PeterBaileyUk
ID: 40354824
I never forget the experts generosity of time, that's why I always treat them with courtesy. The mods reply was appalling.
0
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 40354877
Then feel lucky this isn't UtterAccess. It's like driven by a sect, and pitty you should you step sideways. The priests will cut your hands or ban you.
At EE a decent staff runs the shop. And they communicate like ordinary people.

/gustav
0
 

Author Comment

by:PeterBaileyUk
ID: 40354935
Well i've made my feeling clear on this. I couldn't do right for doing wrong. His or her reply comes across as "don't waste my time calling me with this nonsense"

Moderate yes but not like that.
0
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 40354940
OK, but forgive. I'm sure it wasn't meant that way.

/gustav
0
 

Author Comment

by:PeterBaileyUk
ID: 40368067
Absolutely nothing wrong with forgiveness but what bugs me more is the air of arrogance of the moderator. They dont apologise or anything but I guess if they think they are god.
0
 

Author Closing Comment

by:PeterBaileyUk
ID: 40376595
i worked it out
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now