DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = In Excel, how can I force it to update the CodeName property of a new sheet - iTechForums
Login
Search
Welcome to the iTechForums.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
To register now click here.
Latest Threads
Advertisements
Forum Statistics
Threads:
Posts: 1
Members:
Number of Users Online:
Welcome to our newest member,
Reply
 
Thread Tools Display Modes
  #1  
Old 05-06-2008, 05:25 PM
alex m alex m is offline
Junior Member
 
Join Date: May 2008
Posts: 10
Default

In Excel, how can I force it to update the CodeName property of a new sheet


without the Visual Basic Editor? In Excel 2003 The CodeName property of a new sheet appears to be blank until the Visual Basic editor is opened. This is a problem for a program I am writing because it wants to use the CodeName property for new sheets without the user having to have the Visual Basic editor open, and without having to check the "Trust Access to Visual Basic project" tab of the security settings. I found a solution, but unfortunately it is unacceptable because it requires the Trust Access to VB Project option to be selected. Please help if you can! Thanks very much.
I subsequently found a fairly complete discussion of this issue that answered my question here:
http://www.pcreview.co.uk/forums/thread-961793.php
Tim, thanks for your answer. I agree with you when you say the sheet name should be used instead of the CodeName, although not for the reason you state. The CodeName can be changed in runtime but only if the user has enabled "Trust Access to the Visual Basic Project" via the Macro / Security options of Excel.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Your Ad Here

All times are GMT. The time now is 08:00 PM.