Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 03-06-2006, 08:31 PM   #1
Member (2 bit)
 
Join Date: Mar 2006
Posts: 2
Angry Fire Access DB

I keep getting the message;

Run-time error '3077':
Syntax error (missing operator) in expression.

behind the click() event of a command button on a form that is supposed to add details to the underlying recordset of the form which is set on form_load.

The code that is highlighted when I try to debug is;

recordset.FindFirst "VendorName='" & txtVendorNAme & "'"

I'm pretty sure I've got the syntax correct.

McDuk is offline   Reply With Quote
Old 03-07-2006, 07:55 AM   #2
Come in Ray...
 
faulkner132's Avatar
 
Join Date: Sep 2004
Posts: 1,668
Try using txtVendorName.Text (in access it may be txtVendorName.Caption) instead of just txtVendorName
faulkner132 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:06 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2