473,406 Members | 2,954 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How to access this array in the main form when I press a SAVE button

22
Can I send a message in continuation with this one?

I have a sub form with that creates an array in the following manner:

Expand|Select|Wrap|Line Numbers
  1. Dim i As Integer
  2. Dim Arr1() As String
  3. Private Sub cbo_hdr_memid_Change()
  4. i = i + 1
  5. ReDim Preserve Arr1(1 To i)
  6. Arr1(i) = Me.cbo_hdr_memid.Text
  7. End Sub
How would I be able to access this array in the main form when I press a SAVE button?
Jun 21 '10 #1
1 1363
ADezii
8,834 Expert 8TB
@p4willi
How would I be able to access this array in the main form when I press a SAVE button?
Pass the Array to where?
Jun 22 '10 #2

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

Similar topics

0
by: Tai | last post by:
Hi all I have 2 forms, frmMain and frmChild. In frmMain, I declare a variable f as frmChid then Call f.ShowDialog() I want when the child form is minimized, the Main form is also minimized...
0
by: Bruna | last post by:
I'm working in vb.net 2005, and in a project we're working, we have a main form and a few other forms with different settings. One of them is User setting form with 3 settings, and one of them is...
3
by: deepalik | last post by:
I want to create a form in JSP that will accept the purchase order number and other details. Then i want to proceed to enter the list of items until I press the close button. Please Help me to solve...
6
by: Otis492 | last post by:
Hello, I have been struggling with this for a while. I am working on a rather simple database for claims in Access 2003. I have a table called claims that has a primary key field called Claim #. ...
3
by: Shaileshsharma | last post by:
Hi, I want when my cursor is in textbox and i press tab button a message will display or when i press tab the text in text box should save in database.Kindly help me how it is possible. ...
2
by: DeanL | last post by:
Hi everyone, I have a subform in datasheet view that is used to display the contents of a single table. I have another subform with a query feeding it to give a count of how many particular...
0
by: tilak p | last post by:
hiiiii i have a asp.net page which contains gridview after entering data to gridview and updating in gridview i have given a save button on pressing it the data in grid will be sent to save...
3
scootaman
by: scootaman | last post by:
I have a main form for adding or changing events called Trianing Events Details. On that form there is a subform that is tied to the Start Date field of the main form. I have the form setup this...
4
by: Big P | last post by:
I need to update a form everytime a button is clicked. My form has more than 20 buttons. So need i to find out what is the best event to do that. I am new to VB Express and now i have the time...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.