473,405 Members | 2,415 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,405 software developers and data experts.

recordcount for textfield is it possible

140 100+
hi

table:shot

dim storyboard as ADODB.recordset

recordcount shld populate in textbox.

panel: A, B C,D(am using combobox)
Noofpanel=4txtbox or label is this possible.

i tried using scene_txt(combobox name)
but didn't work anything.

Expand|Select|Wrap|Line Numbers
  1. Private Sub scene_txt_change()
  2. Label12.Caption = "shot" & panel_txt.Recordset.AbsolutePosition + 1 & _
  3. "of" & panel.Recordset.RecordCount
  4. End Sub
am going in a wrong direction,direct me pls
Feb 7 '07 #1
3 1346
hariharanmca
1,977 1GB
hi

table:shot

dim storyboard as ADODB.recordset

recordcount shld populate in textbox.

panel: A, B C,D(am using combobox)
Noofpanel=4txtbox or label is this possible.

i tried using scene_txt(combobox name)
but didn't work anything.

Expand|Select|Wrap|Line Numbers
  1. Private Sub scene_txt_change()
  2. Label12.Caption = "shot" & panel_txt.Recordset.AbsolutePosition + 1 & _
  3. "of" & panel.Recordset.RecordCount
  4. End Sub
am going in a wrong direction,direct me pls

which connection you are using?
Feb 7 '07 #2
indhu
140 100+
which connection you are using?

Expand|Select|Wrap|Line Numbers
  1. Public Sub myconnection()
  2.  
  3. Set CON = New ADODB.Connection
  4.  
  5.     CON.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\storyboard.mdb;Persist Security Info=False"
  6. End Sub
Feb 7 '07 #3
hariharanmca
1,977 1GB
hi

table:shot

dim storyboard as ADODB.recordset

recordcount shld populate in textbox.

panel: A, B C,D(am using combobox)
Noofpanel=4txtbox or label is this possible.

i tried using scene_txt(combobox name)
but didn't work anything.

Expand|Select|Wrap|Line Numbers
  1. Private Sub scene_txt_change()
  2. Label12.Caption = "shot" & panel_txt.Recordset.AbsolutePosition + 1 & _
  3. "of" & panel.Recordset.RecordCount
  4. End Sub
am going in a wrong direction,direct me pls

yes, You are going in wrong way,

Label12.Caption = "shot" & panel_txt.Recordset.AbsolutePosition + 1 & _
"of" & panel.Recordset.RecordCount

in this code

panel_txt.Recordset
panel.Recordset
may not be same value
Feb 7 '07 #4

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

Similar topics

2
by: C. Armour | last post by:
Help me, I'm suffering! Situation: I have a load() function which loads a bunch of TextFields with values. There are TextListeners registered for each of these TextFields. Thus, changing the...
6
by: nboutelier | last post by:
Is it possible to apply multiple css styles to a textfield. Eg, if the value of the textfield is "foo bar" id like for 'foo' to be arial and 'bar' to be verdana. Or... id like for 'foo' to be...
1
by: Suresh | last post by:
How do I insert a char into the textfield on the keypress event of another textfield? I have two textboxes, "text1" and "text2". Important: "text1" is outside the table. "text2" is inside...
3
by: Sidney Linkers | last post by:
Hi, I'm trying to make a calculated text field in a query where the textvalue is being populated from multiple records. I already use a VBA function to loop through records and concatenate the...
1
by: platostoteles | last post by:
Hallo NG, I am new to JavaScript and would really appreciate any help to solve my problem. I am using the blow code in my form to validate form fields. What I would like to accomplish is that...
7
by: mosscliffe | last post by:
Is it possible to get at the TextField Contents of a SelectedValue in a DropDownList in ASP ? Thank You
2
by: ChasW | last post by:
I am trying to get a correct recordcount from a recordset that references a linked table as the source. Here is the code: Dim db1 As DAO.Database Dim rs1 As DAO. Recordset Set db1 =...
2
by: anis2007 | last post by:
Hi to all of you, my problem is : i have two radio button(Yes, No) and two text field below this radio button. How it is possible when we click in Yes, then both...
9
by: learning | last post by:
Hi! Here's my situation: I have one textfield with one 'submit' button in PAGE1.PHP. When I click on the 'submit' button I am sent to PAGE2.PHP where I have a "switch" routine that checks...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.