Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 17th, 2008, 04:20 PM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

Quote:
quote:... the apostrophe issue never comes up on internal government databases....
Hmmm...so you never have undersecretaries named "James O'Brien"??

<grin/>
 
Old November 17th, 2008, 04:26 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Good point. However, we have only ever had one O'something, and that was in a bound form, so no need to pass the values in a query string.

I am working more on this issue since it may well come up in the future. =)


mmcdonal

Look it up at: http://wrox.books24x7.com
 
Old November 17th, 2008, 06:19 PM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

BOUND FORM!

*THAT* is what I was thinking of, when I asked about "form fields used in queries".

So you have to pre-bind form fields in some way...to tables, presumably? So not as flexible as PHP. (Not that I'm enamored of PHP!)
 
Old November 18th, 2008, 09:13 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

It all makes sense now.

Yes, PHP has its own issues, too. See: http://www.securereality.com.au/studyinscarlet.txt for a good paper on PHP vulnerabilities.

Access has some built in string exploit protections. Like you can't do this for data entry: Smith'; DROP TABLE Employee;



mmcdonal

Look it up at: http://wrox.books24x7.com
 
Old November 18th, 2008, 03:09 PM
Registered User
 
Join Date: Nov 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks guys, Placed your suggestions into practice and all is well. Much appreciated. I placed a new post on selecting a record and placing it onto a recordset to populate the form. Basically the reversal of what you helped me with... the syntax strikes again.

If you have a free minute come on over as I sure it will be loads of fun :-)

http://p2p.wrox.com/topic.asp?TOPIC_ID=75165


Sincerely,

Luis






Similar Threads
Thread Thread Starter Forum Replies Last Post
Syntax Error on Insert dalezjc Classic ASP Basics 29 June 20th, 2007 06:50 PM
Syntax error INSERT INTO ITladybug ADO.NET 2 January 31st, 2006 07:50 AM
Syntax error in INSERT INTO statement. kingleon Classic ASP Basics 1 May 10th, 2005 06:25 PM
INSERT syntax error ss2003 PHP Databases 1 October 7th, 2004 05:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.