473,396 Members | 1,760 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,396 software developers and data experts.

Problem with MSFlexGrid in Visual Basic

I have a problem with msflexgrid. I have few field in a form and a msflexgrid with few rows. I want if i double click on the row then the information should go to the relevant field. I have done it but the problem is when i click 1st row or 2nd second then it is OK but when i click more than that means 3rd 4th... then the message is appear. "Subscript out of range" and when i click on debug then it is highlight

private sub msflexgrid1_dbclick()

row=.rowsel
with msflexgrid1

item_Name.text=.textmatrix(row,1)
item_code.text=.textmatrix(row,2)
item_generic.text=.textmatrix(row,3)
--
---
---
--
end sub
the problem is if i delete from itm_generic to the end then it is ok else it is highlight the third one show the message
please help me on this regard
Nov 18 '07 #1
0 862

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

Similar topics

5
by: MouseHart | last post by:
I've written a simple program in VB 6.0 to list all my MP3 files. To show them on the screen I used an MSFlexGrid named TextGrid (which is not associated with any table or text file) in the...
0
by: Schapopa | last post by:
I am using MS Access and VB 6.0 I am trying to create MSFlexGrid with the same data that I have in the Excel spreadshit, and that is: Jan03 Feb03 March03 Data1 2 3 4...
15
by: WStoreyII | last post by:
what do i need to make a reference to inorder to use this control on vb.net? WStoreyII
4
by: mc | last post by:
HI, I face a problem on using MSHFlexGrid currently. I have developed a grid using the MSFlexGrid control at office, it does work at my office machine. Later, I copy the whole source code...
2
by: Jyoti Khalap | last post by:
Hi, I am new to Visual Basics. Can anybody help me out to get the data in MSFlexGrid to be written to word file or a text file I have succesfully ran my visual Basic form to get the output in...
0
by: dasarinarendra | last post by:
hi to all, pls give some suggestion its urgent.............. how to Import Table contents from Html page to msflexgrid using visual basic 6.0
5
by: Ishmael | last post by:
Hi Is Been a 3 Yrs Now (I Still trying to do this) Please help me to do this with Visual Basic 6.0 using Msflexgrid Let say you are the Principal . You have 10 educators and 5 class (Grades)...
0
by: wankhusairi | last post by:
hallo sir .. i am still new on using vb and i have tried to load an excel using a visual basic interface.. but if i wanted to plot my excel data what should i do.. must i cahnge my program on loading...
7
by: godhulirbalaka | last post by:
Dear all, I have a problem with MSFlexGrid. I have few field and one MSFlexGrid So i want if i doubleclick any row then the datas of that row distribute to those field I already wrote the command...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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.