473,765 Members | 2,070 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Ms Access and VB code

553 Contributor
Hello Experts

I have created a form and 2 buttons on a Form. When i select either of button and then press ALT+F11 to goto VB sceen in order to add some code for the button , i see no code window at all.

On left hand side, there is name of my mdb file under acwzmain but nothing else.

why code window is not showing at all??

quick answer would be appreciated

thanks
Jul 4 '07 #1
2 1576
NeoPa
32,572 Recognized Expert Moderator MVP
You should see a [+] next to the name of your project (database) in the left pane (Explorer Pane).
From here you need to navigate to the correct object and double click on it to show your VBA code in the Code Pane.
Jul 5 '07 #2
NeoPa
32,572 Recognized Expert Moderator MVP
Debugging in VBA may provide more helpful info on this for you.
Jul 5 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
5731
by: Robin Lewis | last post by:
I have a simple Access database set up and a form and I need to compare two textboxes, 'email1' and 'email2', on the form. If the two textboxes do NOT match I need to change the background colour of 'email1' to RED to bring this to my attention. This needs to change on a 'per record' basis, so as I scroll through the records using the standard 'next' and 'previous' buttons I can quickly see which ones are and are not matched!
1
2883
by: nickel | last post by:
I can access Microsoft Access database via ODBC on Windows 2000 using C++. Now, I would like to use the SAME piece of code to access MS SQL on Windows. Can I achieve this without any modification to my existing codes? Then, I would like to use the SAME piece of codes to access Oracle on Windows? Is it possible? Thanks in advance!
2
1834
by: nickel | last post by:
I can access Microsoft Access database via ODBC on windows 2000 using C++ . Now, I would like to use the SAME piece of code to access MS SQL on Windows. Can I achieve this without any modification to my existing codes? Then, I would like to use the SAME piece of codes to access Oracle on Windows? Is it possible? thanks in advance
1
1507
by: Rocky A | last post by:
I need to open an excel workbook and import info to my access program. That isn't the problem, I've got the code down for doing what I want to do. I'm declaring the variable and setting it like this. Dim objEx As Object Set objEx = CreateObject("Excel.Application") My problem is after I'm done and exit the access code module and I shut the excel file down like this
4
1575
by: hendafe | last post by:
I have a problem of removing '/' in Access. I have a field with this record BD/02/1234. I want to automatically remove the '/' and save it in a new field record for another purpose. Presently this is done in Excel. I am using Access 2000. Any Access VBA codes to remove this '/' will be appreciated.
6
9862
by: geronimo_me | last post by:
Hi, I am trying to run an Excel macro from an Access module, however when I run the code the macro runs but then I get an error in Access. The error is: Run-time error "440", Automation error. My code is: Sub Run_Excel_Macro() Dim xls, xlWB As Object
2
2094
by: Vinayak Raghuvamshi | last post by:
I have a file that has been created using shared read/write access. But C# code never is able to open this file for read and keeps throwing "...cannot open file as it is being used by another process...". I verified that the file is indeed available for shared reading. here is my code snippet. is there a bug in C# that i dont know, or is there a bug in my code? FileIOPermission perm = new FileIOPermission(PermissionState.None);
3
2579
by: italia | last post by:
I have a database with 2 columns and more than million rows. The first column is the id Example of the data (2 columns)- 04731 CRM 04731 CRM 04731 CRM 04731 RVB 04731 RVB
10
2411
by: Stefan Weber | last post by:
Hi, I'm trying to access the JavaScript code contained in a <scripttag via its "text" attribute. This works well, if the code is embedded in the HTML page. However, when the code is in an external file with the "src" attribute, it does not work anymore. Does anybody have an idea if there is any way (be it clean and simple or as a workaround) to access the code of external scripts as well? I read, that if there is something like
1
1254
by: BhupendraNVyas | last post by:
Dear All, I want to send Out standing E-Mail detail to customer's throug ms access code .....can you help me for genrate a mail and attach a file from local hard disk drive. Regards, Bhupendra
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9398
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10156
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
7375
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5275
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5419
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2805
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.