Results 1 to 4 of 4
  1. #1
    veereshrk is offline Novice
    Windows Vista Access 2003
    Join Date
    Sep 2011
    Posts
    2

    Multiplication of txt box to table field


    HI guys,

    I m doing one project on the access and i have stuck at point plz do help me with this,

    I have a form in which i have taken a txt box to add any value in it and then i have used a command button, This command button once pressed then it should multiply the value typed in txt box with the whole field present in one query,

    This query field which is to be multiplied contains only one field there are no other fields in it, The field contains several rows with some values in it, the multiplication should be done to all the values,

    I am trying to write the code for this,,,,,,
    plz help me with this guys,

  2. #2
    goodguy is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Dec 2010
    Location
    Zanzibar, Tanzania
    Posts
    229
    Currentdb.Execute "UPDATE tblTarget SET fldTarget = fldTarget * " & txtSourceTextBox

  3. #3
    veereshrk is offline Novice
    Windows Vista Access 2003
    Join Date
    Sep 2011
    Posts
    2

    thanks goodguy

    Quote Originally Posted by goodguy View Post
    Currentdb.Execute "UPDATE tblTarget SET fldTarget = fldTarget * " & txtSourceTextBox
    Wel the code seems like understandable to me,,,,, but i even want to know how to make table or query as a currentdb

  4. #4
    goodguy is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Dec 2010
    Location
    Zanzibar, Tanzania
    Posts
    229
    I am not able to mke sense of your request.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 08-31-2011, 04:03 PM
  2. Replies: 3
    Last Post: 08-26-2011, 12:11 PM
  3. Replies: 4
    Last Post: 05-11-2011, 03:06 AM
  4. Selecting a corresponding table field based on text field.
    By michaeljohnh in forum Programming
    Replies: 5
    Last Post: 10-08-2010, 10:33 AM
  5. simple multiplication question
    By aaronmarsh632 in forum Access
    Replies: 1
    Last Post: 10-08-2009, 04:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums