Click here to Skip to main content
15,899,825 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to check if file existe? Pin
qnguyen14-May-03 5:44
qnguyen14-May-03 5:44 
GeneralRE: URLdownloadToFile Pin
rmurali13-May-03 11:51
rmurali13-May-03 11:51 
GeneralRe: RE: URLdownloadToFile Pin
John Kuhn13-May-03 14:05
John Kuhn13-May-03 14:05 
Generaldate functions Pin
Anonymous13-May-03 11:01
Anonymous13-May-03 11:01 
GeneralRe: date functions Pin
John Kuhn13-May-03 13:35
John Kuhn13-May-03 13:35 
QuestionHow to get a Picture in picturebox from a WebCam in VB.Net. Pin
Tajinder13-May-03 4:04
Tajinder13-May-03 4:04 
AnswerRe: How to get a Picture in picturebox from a WebCam in VB.Net. Pin
John Kuhn13-May-03 13:38
John Kuhn13-May-03 13:38 
Questiongetting a String from a Table? Pin
Anonymous12-May-03 6:12
Anonymous12-May-03 6:12 
Hello all,

I have what I hope is a quick question. In my Access 2000 database I have a Table called Candidates. In this table there is a Field called LName. How can I get the data in this field without opening the table?

This what I am trying to do. In the Main Form of my database, you can eneter a Last Name and hit the Command button and it will open the Candidate Table to the first occurence of the person with that last name. I'd like to write an autofill ability in the Main Form. This way when I type A into the space where you type in the last name, it will automatically fill the text to Aardvark for instance. And then if I hit another letter, like b and the string in there is "ab" it would return the first last name with Ab, for instance Aba.

Now, I know the logic behind how to do what I want, but I need the syntax.
How can I make a string equal the text in the last name field?
Would it be:

Dim lastName as String
lastName = [Candidate].[LName] ??

Any help you can offer me would be great.

And one more quick question.
Is there a way to access the characters in a string?
Can I type lastName[1] and get the first letter of the string?

Again thank you very much.


Nick
AnswerRe: getting a String from a Table? Pin
Ray Cassick12-May-03 16:00
Ray Cassick12-May-03 16:00 
GeneralVB interview Pin
Sarvesvara (BVKS) Dasa12-May-03 2:40
Sarvesvara (BVKS) Dasa12-May-03 2:40 
GeneralRe: VB interview Pin
Villly13-May-03 22:26
Villly13-May-03 22:26 
GeneralRe: VB interview Pin
Sarvesvara (BVKS) Dasa14-May-03 5:06
Sarvesvara (BVKS) Dasa14-May-03 5:06 
GeneralWindows Message Queue Pin
Jim Taylor11-May-03 12:19
Jim Taylor11-May-03 12:19 
GeneralRe: Windows Message Queue Pin
Villly13-May-03 22:18
Villly13-May-03 22:18 
GeneralRe: Windows Message Queue Pin
Jim Taylor13-May-03 22:47
Jim Taylor13-May-03 22:47 
GeneralI am lost Pin
Anonymous10-May-03 18:23
Anonymous10-May-03 18:23 
GeneralRe: I am lost Pin
Nick Parker11-May-03 3:12
protectorNick Parker11-May-03 3:12 
GeneralRe: I am lost Pin
John Kuhn14-May-03 8:06
John Kuhn14-May-03 8:06 
GeneralVBA and Business Objects Pin
nicholas.gionfriddo9-May-03 4:41
nicholas.gionfriddo9-May-03 4:41 
GeneralHorizontal bar disappearance and text being wrapped in html/codeview Pin
artikworld8-May-03 23:41
artikworld8-May-03 23:41 
GeneralCalling API function from VB Pin
Miszou8-May-03 11:05
Miszou8-May-03 11:05 
GeneralRe: Calling API function from VB Pin
J. Dunlap8-May-03 11:23
J. Dunlap8-May-03 11:23 
GeneralRe: Calling API function from VB Pin
Miszou8-May-03 11:58
Miszou8-May-03 11:58 
GeneralI think I've got it! Pin
J. Dunlap8-May-03 13:37
J. Dunlap8-May-03 13:37 
GeneralRe: I think I've got it! Pin
Miszou9-May-03 5:22
Miszou9-May-03 5:22 

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.