13bd6 Access 2000 compiler problem
Sign Up |  Live StatsLive Stats    Articles 37,464| Comments 178,573| Members 19,492, Newest sikh15| Online 508
Home Contact
 (Forgotten?): 
    10 years of Excellence
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Click Here to Register/Sign Up Daily Hukamnama Member Blogs Downloads Website Navigation Help Fonts Tags

Access 2000 compiler problem

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 0 USD (0%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
Access 2000 window problem Kevin Sebring Information Technology 0 28-Jul-2006 08:33 AM
Access 2000 problem Steph Information Technology 0 28-Jul-2006 08:17 AM
Access 2000 Form View Problem Kathy L Information Technology 0 19-Nov-2005 22:00 PM
Access 2000 - Multi-Paged Form Problem Cascot Information Technology 2 18-Nov-2005 14:00 PM
Access 2000 view Outlook 2000 Inbox error bobdydd Information Technology 3 02-Nov-2005 11:47 AM


Tags
2000, access, compiler, problem
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:01 AM
John Melbourne news's Avatar John Melbourne news
Guest
 
Posts: n/a
   
   
Access 2000 compiler problem

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
Possible Access 2000 Visual Basic Bug

I have an access database with a reasonable quantity of VB code behind the
forms.

One event sequence requires opening a text file and reading a few hundred
characters. I was getting 'runtime error 458 -- variable uses an
automation type not supported in visual basic'

Since I had used that particular bit of code in other places without any
problem I tried to find out what was causing it. The result is very odd
indeed.


I normally declare all variables at the top of a code page:
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/9338-access-2000-compiler-problem.html
Including the line:-

Dim aaA, bbB, ccC As String

resulted in the error 458 when attempting to open the text file but using
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9338
the two lines:-

Dim aaA, bbB As String
Dim ccC As String

worked with no problem!

Can anyone explain

John Melbourne





Got anything to share on This Topic? Why not share your immediate thoughts/reaction with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:01 AM
'69 Camaro's Avatar '69 Camaro
Guest
 
Posts: n/a
   
   
Re: Access 2000 compiler problem

  Donate Today!  
Hi, John.

> Dim aaA, bbB, ccC As String
>
> resulted in the error 458 when attempting to open the text file


aaA and bbB are declared as Variants. ccC is declared as a String data
type.

> Dim aaA, bbB As String
> Dim ccC As String
>
> worked with no problem!


aaA is declared as a Variant, but bbB and ccC are declared as String data
types. You haven't shown how these variables are used in your code, but I
suspect you were having the problem with bbB. Were you not?

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
http://www.Access.QBuilt.com/html/ex...ributors2.html for contact
info.


"John Melbourne news" wrote in message
news:BVo8g.5712$pj4.3948@newsfe1-win.ntli.net...
> Possible Access 2000 Visual Basic Bug
>
> I have an access database with a reasonable quantity of VB code behind the
> forms.
>
> One event sequence requires opening a text file and reading a few hundred
> characters. I was getting 'runtime error 458 -- variable uses an
> automation type not supported in visual basic'
>
> Since I had used that particular bit of code in other places without any
> problem I tried to find out what was causing it. The result is very odd
> indeed.
>
>
> I normally declare all variables at the top of a code page:
> Including the line:-
>
> Dim aaA, bbB, ccC As String
>
> resulted in the error 458 when attempting to open the text file but using
> the two lines:-
>
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9338
> Dim aaA, bbB As String
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9338
> Dim ccC As String
>
> worked with no problem!
>
> Can anyone explain
>
> John Melbourne
>
>
>



Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
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

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

» Active Discussions
English Sri Guru Granth Sahib Ji and SRM
Today 12:27 PM
2 Replies, 17 Views
Edward Snowden: the...
Today 11:30 AM
2 Replies, 59 Views
What Is Difference...
Today 09:18 AM
6 Replies, 150 Views
First There is Water by...
By Ishna
Today 05:03 AM
3 Replies, 182 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 03:11 AM
403 Replies, 9,340 Views
Difference in Bowing...
Today 02:18 AM
8 Replies, 164 Views
Cooking Without Alcohol
Today 02:12 AM
12 Replies, 165 Views
Learning from Baba...
Today 01:38 AM
0 Replies, 302 Views
Eckhart Tolle
Yesterday 18:08 PM
2 Replies, 110 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Yesterday 17:21 PM
252 Replies, 5,966 Views
Thought of the Moment!
Yesterday 16:35 PM
115 Replies, 6,050 Views
New Quantum Dot...
Yesterday 09:38 AM
0 Replies, 56 Views
Girl, 5, Collects...
Yesterday 06:48 AM
0 Replies, 82 Views
No Secrets! Metadata...
Yesterday 06:01 AM
2 Replies, 71 Views
My Dad's a Dude! ......
By Aisha
16-Jun-2013 22:08 PM
4 Replies, 280 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 13:17 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.47976 seconds with 32 queries
0