Ask Experts Questions for FREE Help!
Answer   ||    Advanced Search

Ask your question or search...
International Sites: Nederlandse experts vragen
User Name 
Password 
Join   Forgot password? 

Home > Computers & Technology > Programming > Compiled Languages > Visual Basic   »   Is this Weird Or Am I Missing Sumthing?

Question
 
 
#1  
Old Aug 17, 2009, 03:36 AM
Firestorm
New Member
Firestorm is offline
 
Join Date: Aug 2009
Posts: 1
Firestorm See this member's comment history on his/her Profile page.
Is this Weird Or Am I Missing Sumthing?

Here is my code...

'Works Fine Adding Items
Private Sub Command1_Click()
If Text2.Text = "" Then
MsgBox "Please Enter Item Name"
Else
Data1.Recordset.AddNew
End If
End Sub

'Works Fine Updating Items
Private Sub Command2_Click()
Data1.Recordset.Update
End Sub

'This Is The Problem
Private Sub Command3_Click()
Data1.Recordset.Find ("Barcode = 'Text5.text'")
End Sub

If i Type 123456789 in the textbox, it returns blank textboxs (There should beItem Code and Stock)

However, if i change the code to this

Private Sub Command3_Click()
Data1.Recordset.Find ("Barcode = '123456789'")
End Sub

Thn it returns all information regarding that Item?

Please help me, i need it to locate the item from the Txtbox at runtime, But it will only do it ifthe number required is built in the code???

Reply With Quote
 
     


Your Answer
Email me when someone replies to my answer
Join Login



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Ask your question or search...



Similar Threads
Weird '''''''s.
(2 replies)
am i weird?
(12 replies)
Is it weird?
(23 replies)
How should i tell my other half that i want sumthing serious?
(0 replies)
I love her to death but should i stay n sumthing that dont exist
(1 replies)

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Search this Thread

Advanced Search

Bookmarks





Copyright ©2003 - 2009, Ask Me Help Desk.
All times are GMT -8. The time now is 05:37 PM.