Click here to Skip to main content
15,889,877 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to add custom control to designer like tooltip Pin
mo149227-Mar-18 2:30
mo149227-Mar-18 2:30 
AnswerRe: How to add custom control to designer like tooltip Pin
Dave Kreskowiak27-Mar-18 5:08
mveDave Kreskowiak27-Mar-18 5:08 
GeneralRe: How to add custom control to designer like tooltip Pin
mo149227-Mar-18 5:15
mo149227-Mar-18 5:15 
QuestionHow do I link two forms together in VB 2010? Pin
Lost25-Mar-18 3:36
Lost25-Mar-18 3:36 
AnswerRe: How do I link two forms together in VB 2010? Pin
Eddy Vluggen25-Mar-18 19:18
professionalEddy Vluggen25-Mar-18 19:18 
Questionentity framework How to remove some items from local entities Pin
desanti23-Mar-18 8:59
desanti23-Mar-18 8:59 
QuestionRe: entity framework How to remove some items from local entities Pin
Eddy Vluggen24-Mar-18 13:39
professionalEddy Vluggen24-Mar-18 13:39 
QuestionCould someone help me with a Database question? Pin
D. Doulas22-Mar-18 12:01
D. Doulas22-Mar-18 12:01 
I'm sorry to bug people about this but I'm still having a slight problem with a Database programming question with Visual Basic 6/Net. I took the advice of someone else on this message board (thanks) about instead of using a combo box as a control but use a simple textbox/command button to control a database pointer in a database program that controls what table to use within the database. Here is the following code I'm using now...

Private Sub cmdSelectedLeagueGameBack_Click()
Dim DataPointerIndicator As Integer
Dim DataIndexNumber As Integer

DataPointerIndicator = DataPointerIndicator - 1
If DataPointerIndicator <= 0 Then DataPointerIndicator = 1
Select Case DataPointerIndicator
    Case Is = 0: DataIndexNumber = 0
    Case Is = 1: DataIndexNumber = 1
    Case Is = 2: DataIndexNumber = 2
End Select
    
Data1.RecordSource = DataIndexNumber
Text1.Text = Data1.RecordSource

End Sub


The problem I'm having is that I can't figure out how to use the "DataIndexNumber" varible to connect to the "Text1.Text = Data1.RecordSource" so that I can display each table within the Connected Database. The table display properly within the Text1 Object, but I have no idea how to make a "Pointer" within the Database and how to control the "Pointer".

Any help would be most appreciated.
AnswerRe: Could someone help me with a Database question? Pin
Richard MacCutchan22-Mar-18 23:55
mveRichard MacCutchan22-Mar-18 23:55 
GeneralRe: Could someone help me with a Database question? Pin
D. Doulas24-Mar-18 8:23
D. Doulas24-Mar-18 8:23 
GeneralRe: Could someone help me with a Database question? Pin
Richard MacCutchan24-Mar-18 21:11
mveRichard MacCutchan24-Mar-18 21:11 
GeneralRe: Could someone help me with a Database question? Pin
D. Doulas1-Apr-18 10:20
D. Doulas1-Apr-18 10:20 
GeneralRe: Could someone help me with a Database question? Pin
Mycroft Holmes1-Apr-18 13:42
professionalMycroft Holmes1-Apr-18 13:42 
GeneralRe: Could someone help me with a Database question? Pin
D. Doulas7-Apr-18 13:56
D. Doulas7-Apr-18 13:56 
GeneralRe: Could someone help me with a Database question? Pin
Mycroft Holmes7-Apr-18 15:38
professionalMycroft Holmes7-Apr-18 15:38 
SuggestionRe: Could someone help me with a Database question? Pin
Richard Deeming23-Mar-18 2:30
mveRichard Deeming23-Mar-18 2:30 
GeneralRe: Could someone help me with a Database question? Pin
D. Doulas24-Mar-18 8:20
D. Doulas24-Mar-18 8:20 
GeneralRe: Could someone help me with a Database question? Pin
Dave Kreskowiak24-Mar-18 8:36
mveDave Kreskowiak24-Mar-18 8:36 
GeneralRe: Could someone help me with a Database question? Pin
Mycroft Holmes24-Mar-18 13:17
professionalMycroft Holmes24-Mar-18 13:17 
GeneralRe: Could someone help me with a Database question? Pin
Eddy Vluggen24-Mar-18 13:35
professionalEddy Vluggen24-Mar-18 13:35 
QuestionReading Multiple text file from a folder and count specific words Pin
Member 1373342222-Mar-18 6:14
Member 1373342222-Mar-18 6:14 
QuestionRe: Reading Multiple text file from a folder and count specific words Pin
Eddy Vluggen22-Mar-18 7:02
professionalEddy Vluggen22-Mar-18 7:02 
AnswerRe: Reading Multiple text file from a folder and count specific words Pin
Member 1373342222-Mar-18 7:52
Member 1373342222-Mar-18 7:52 
AnswerRe: Reading Multiple text file from a folder and count specific words Pin
Richard MacCutchan22-Mar-18 8:52
mveRichard MacCutchan22-Mar-18 8:52 
QuestionRe: Reading Multiple text file from a folder and count specific words Pin
Member 1373342222-Mar-18 17:01
Member 1373342222-Mar-18 17:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.