Posted on 2011-04-24
Last Modified: 2012-05-11
ok, in access in order to copy or read from a table i use DLOOKUP, very useful, or in forms i use
me.secondorm = forms!totherForm!secondtextbox, basically getting and moving values and text from one box to another is easy in access, but in visual studio 2008, i think i have ti use me,tableadapter.thisColumn or something of this sort! my question is........... How?!!!
Question by:ahashash
    LVL 83

    Expert Comment

    Do you mean reading values from a second table?
    LVL 84
    What sort of control are you working with in VS? You can refere directly to a Textbox, for example, like this:


    If that Textbox is on another form, you'd do this:


    If you're using a Datagrid, you can refer to a "cell" in that datagrid, but you would need to know the row/column of that cell.

    Author Comment

    @LMSCons. im referring actually to a text box and i need to refer to cell in  a datagrid,but i dont know how in vs2008, but i know in access, and the textbox is not on another form its in the same form but different tab, ( i use tabs and pages....)

    Author Comment

    @codecrusr.........not other table but different controls in different datagrids or pages
    in vs2008 do u recommend using the IDE wizards, or just do teh "do it ur self approach" and use sql statements and vb code ?
    LVL 83

    Expert Comment

    I personally do not like wizards. Coding everything myself gives me more control and I know what's going on behind the scenes.

    Author Comment

    @codecrusr. Will you plz direct me to a good book or tutorial or even methods that will assist me in becoming good in, finding resources and online stuff is kind of tuff coz they presume u know everything, and the beginner things are too beginner!! any tips plz?
    i agree with u i do prefer to code every thing, i feel wizards may turn loose and drop a rule or mess something up, i mean not as solid as coding am i right?
    LVL 83

    Accepted Solution

    >Will you plz direct me to a good book or tutorial or even methods that will assist me in becoming good in

    That is as generic a requirement as it could get :-). If you prefer books, search amazon, if you prefer online tutorials, Google is your best friend.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    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…
    Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
    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.
    In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

    758 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

    13 Experts available now in Live!

    Get 1:1 Help Now