473,395 Members | 1,639 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

move next commands

140 100+
one sequenceid has many panels how to track records of that.

pls give coding for this

my coding is when i select sequence it will populate other fields but panel has more rows in its i want to view that also. how to do that. movenext and previous buttons are there.

Expand|Select|Wrap|Line Numbers
  1. Private Sub sequcombo_Click()
  2.  
  3.  myconnection
  4.  
  5.  myquery = sequcombo.Text
  6.  
  7.  Call rLOAD
  8.  Do While storyboard!sequence <> myquery
  9.  storyboard.MoveNext
  10.  If storyboard!sequence = myquery Then
  11.  scenecombo.Text = storyboard!scenes 'sceneid depends on the table(sequence)
  12.   panel_txt.Text = storyboard!Panel
  13.  action_txt.Text = storyboard!Action
  14.  dialogue_txt.Text = storyboard!dialogue
  15.  Image1.Picture = LoadPicture(storyboard!Filename) 'somtimes produce errror.
  16.  noofpanel.Text = storyboard.RecordCount 'panelcount not displaying exact count of particular sequence, displaying total row count
  17.  End If
  18.  Loop
  19.  
  20.  accdb = "SELECT DISTINCT sequence FROM sequence WHERE seqid = '" & myquery & "' "
  21. 'Load SQL query into a variable
  22.  
  23. Set storyboard = CON.Execute(accdb, adOpenStatic)
  24. End Sub
Feb 13 '07 #1
1 974
willakawill
1,646 1GB
one sequenceid has many panels how to track records of that.

pls give coding for this

my coding is when i select sequence it will populate other fields but panel has more rows in its i want to view that also. how to do that. movenext and previous buttons are there.

Expand|Select|Wrap|Line Numbers
  1. Private Sub sequcombo_Click()
  2.  
  3.  myconnection
  4.  
  5.  myquery = sequcombo.Text
  6.  
  7.  Call rLOAD
  8.  Do While storyboard!sequence <> myquery
  9.  storyboard.MoveNext
  10.  If storyboard!sequence = myquery Then
  11.  scenecombo.Text = storyboard!scenes 'sceneid depends on the table(sequence)
  12.   panel_txt.Text = storyboard!Panel
  13.  action_txt.Text = storyboard!Action
  14.  dialogue_txt.Text = storyboard!dialogue
  15.  Image1.Picture = LoadPicture(storyboard!Filename) 'somtimes produce errror.
  16.  noofpanel.Text = storyboard.RecordCount 'panelcount not displaying exact count of particular sequence, displaying total row count
  17.  End If
  18.  Loop
  19.  
  20.  accdb = "SELECT DISTINCT sequence FROM sequence WHERE seqid = '" & myquery & "' "
  21. 'Load SQL query into a variable
  22.  
  23. Set storyboard = CON.Execute(accdb, adOpenStatic)
  24. End Sub
How many more rows?
Feb 15 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Marco Lazzeri | last post by:
Hi, I need some examples of INSERT and UPDATE of DATE columns using 'ALLBALLS' and 'INFINITY' values. I could not find examples on the net. I need, also, to move columns in tables (just like the...
4
by: Alienz | last post by:
I have a subform where I have a subform with 20 options to select from. When I set the multiselect property to simple and select multiple options, nothing is stored. I have another table with...
1
by: Phil Endecott | last post by:
Dear Postgresql experts, According to the documentation for MOVE, it returns the number of rows that it has moved over. It seems to me that this is true for MOVE FORWARD n, but not for MOVE...
55
by: indhu | last post by:
HI all one sequence has many panels. when i select combo it displays all the fields but panel has more rows. i want to view that also. how to do that? move next and previous commds are there...
3
by: jaeden99 | last post by:
I was wandering if nyone has a script to move files older than x days old? i've seen several to delete, but I don't want to delete. I would like to create a backup of the files first verify with...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.