|
-
Jul 11th, 2000, 09:20 AM
#1
Thread Starter
Junior Member
I have two questions about DBGrids in VB5:
i. I have one column in a DBGrid which displays customer status as either (A,S,or I). I would like to have the form automattically change all the As to "Active, Ss to "Suspended" and all the Is to "Inactive". Is there a way I can do this when the form loads.
ii. Sometimes when I run a search the DBGrid returns more records then can be displayed. The scroll bar is visable but it is inactive. How do I make to scroll bar operational so that it can view all of the records associated with a search?
Thanks,
Brandr Beekman
[email protected]
-
Jul 12th, 2000, 04:27 AM
#2
Member
Do you use a data object or code as the source for your DBgrid?
For the second part.......
is the DBGrid enabled i.e. can you edit data in the cells?
-
Jul 12th, 2000, 05:32 AM
#3
if you are displaying data from a database, it would be wise to utilize the features of a relational db and load your data from a query, that does the desired maping from code to full text for you. if you are lading your data manualy, then again you should do the maping before loading the data.
best regards
Sascha
-
Jul 12th, 2000, 08:18 AM
#4
Thread Starter
Junior Member
Thanks for your help- I solved the problem! The thing with the scroll bar WAS because it wasn't enabled. Thanks again.
-Brandr
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|