Visual Basic
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Iron Speed
Go Back   Tutorialized ForumsDesktop ProgrammingVisual Basic

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Tutorialized Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old December 3rd, 2007, 12:53 AM
gupta.sw gupta.sw is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Dec 2007
Posts: 1 gupta.sw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 5 sec
Reputation Power: 0
How to select a particular Row in MSH Flex Grid Control at Runtime.

How to select a particular Row in MSH Flex Grid Control at Runtime .and what is the bookmark property of flex grid control.i want to select the particular row which letter i type in the text box and row shud be selected automatically in the flexgrid.

Reply With Quote
  #2  
Old January 16th, 2008, 02:52 PM
jx_man jx_man is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Jan 2008
Location: Jogjakarta
Posts: 3 jx_man User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 43 m 54 sec
Reputation Power: 0
Send a message via Yahoo to jx_man
Cool

if u use access as your database, try this following code :
Code:
Private Sub fg1_Click()
With fg1
 .Col = 0 'start from column 1
  txtIdUser.Text = .Text
End With
Set db = OpenDatabase(App.Path + "\yourDbName.mdb")
Set rs = db.OpenRecordset("YourTableName")
If (rs.RecordCount >= 1) Then
Do While Not rs.EOF
   If rs.Fields("Index") = txtIdUser.Text Then
      txtIdUser.Text = rs.Fields("Index")
      txtUserName.Text = rs.Fields("Name")
      
    Exit Do
    End If
    rs.MoveNext
Loop
End If
End Sub

OK. all for the best.

Reply With Quote
Reply

Viewing: Tutorialized ForumsDesktop ProgrammingVisual Basic > How to select a particular Row in MSH Flex Grid Control at Runtime.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway