Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact
A1VBCode Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      

Home » Classic Visual Basic (VB 6 or earlier) » General Visual Basic » Need to move to next line or record on a...


Need to move to next line or record on a...Expand / Collapse
Author
Message
Posted 7/13/2006 2:18:22 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/20/2006 2:35:54 PM
Posts: 2, Visits: 5
I had a form with a subform. I placed a cmd button that when on click, a
value on a designated field move to a field on a subform and go to the next
line or record waiting to recieve another value or keep the default value.
Need to move to the next line, at the moment all value are on the first line
or record. Hope you can help. Thanks.
Post #19393
Posted 7/14/2006 8:19:22 AM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 12/13/2006 8:33:08 AM
Posts: 72, Visits: 60
You'll have to explain what you mean by "field on a form".  Are you talking about variable values?  Values in a textbox? A label?  A datasource control?  Records obtained from a database and sored on some kind of control on your form(s)?

You need to be a little more specific.

Post #19404
Posted 7/14/2006 12:59:03 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/20/2006 2:35:54 PM
Posts: 2, Visits: 5
It is a text box (currency). Data enter on a text box on the form need to move on a text box on the subform, do some calculations and move to the next line on the subform (datasheet view) waiting for another value to be enter or keep the default values on them. Another text box is incremented by 1 every time the data is move to the subform, but right know everything happens on the first row of the datasheet and the other data is lost.

Thanks.
Post #19408
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Admin, Mod, Mark, Keithuk

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 3:30am