10-13-2018, 08:09 PM
|
#1
|
Newly Registered User
Join Date: Dec 2009
Posts: 423
Thanks: 230
Thanked 1 Time in 1 Post
|
Sub Form controls
In our MsAccess 2003 database we want to use the form = Investment_Transactions_Main = to allow the continuous entries of (Buying & Selling) transaction.
My problem is that when I choose a = Stock Name = or Symbol Stock = the corresponding data for the chosen equity is not grouped in the sub form and I can not enter new records.
Your assistance is appreciated.
Thank you
Mary Jane
|
|
|
10-13-2018, 10:49 PM
|
#2
|
Newly Registered User
Join Date: Mar 2014
Posts: 1,273
Thanks: 0
Thanked 307 Times in 307 Posts
|
Re: Sub Form controls
First, advise you not use special characters such as #, $, / in names. Use Num or No for #, just drop the $, use _ instead of /.
If you want to enter data into record with those two comboboxes, they should be in the Detail section. Really shouldn't save Stock_Name or Symbol_Stock or Symbol_Stock_Y, just Investmentl_ID.
If those controls are for input of filter criteria then they should be UNBOUND.
And what do you mean by 'grouped'? Forms do not group records. You can sort and filter. Reports can group records.
__________________
To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression. Attachment Manager is below Advanced editor window, click Go Advanced below Quick Reply window.
Last edited by June7; 10-14-2018 at 12:39 AM.
|
|
|
The Following User Says Thank You to June7 For This Useful Post:
|
|
10-13-2018, 11:07 PM
|
#3
|
Registered User
Join Date: May 2009
Location: somewhere out there
Posts: 6,982
Thanks: 56
Thanked 2,239 Times in 2,149 Posts
|
Re: Sub Form controls
add a Sort Order to your subform 's recordsource.
__________________
"Never stop learning, because life never stops teaching"
|
|
|
The Following User Says Thank You to arnelgp For This Useful Post:
|
|
10-14-2018, 09:15 PM
|
#4
|
Newly Registered User
Join Date: Dec 2009
Posts: 423
Thanks: 230
Thanked 1 Time in 1 Post
|
Re: Sub Form controls
Thank you for your suggestions, of not using the symbols you advised us of. Our problem is that these characters have been used for over 10 years and to change them is very difficult, BUT we will not be using these characters in the future.
===
Please advise us as to how we can use the chosen Stock Name or Stock Code to group the equities in the Sub Form?
Where should the combo boxes be so that we can use them to group the equities together for editing?
Your assistance is appreciated.
Nicole
|
|
|
10-14-2018, 10:10 PM
|
#5
|
Registered User
Join Date: May 2009
Location: somewhere out there
Posts: 6,982
Thanks: 56
Thanked 2,239 Times in 2,149 Posts
|
Re: Sub Form controls
here. view the code on the AfterUpdate event of those combos on the main form.
__________________
"Never stop learning, because life never stops teaching"
|
|
|
The Following User Says Thank You to arnelgp For This Useful Post:
|
|
10-17-2018, 05:43 PM
|
#6
|
Newly Registered User
Join Date: Dec 2009
Posts: 423
Thanks: 230
Thanked 1 Time in 1 Post
|
Re: Sub Form controls
Thank you for your assistance and what you have supplied us with works.
Could you please look at the attached RTF document for some changes that our Volunteers would like to have, if you could do them for us.
If you happen to be in Cebu, one of our staff is going there soon and could bring you a bottle of Canadian Maple Syrup.
I/We do appreciate your assistance.
Nicole
|
|
|
10-17-2018, 05:47 PM
|
#7
|
Newly Registered User
Join Date: Dec 2009
Posts: 423
Thanks: 230
Thanked 1 Time in 1 Post
|
Re: Sub Form controls
I am sorry but the RTF file was not uploaded
|
|
|
10-17-2018, 10:26 PM
|
#8
|
Registered User
Join Date: May 2009
Location: somewhere out there
Posts: 6,982
Thanks: 56
Thanked 2,239 Times in 2,149 Posts
|
Re: Sub Form controls
what do you mean by Group? summarized?
Quote:
Create new record does not work
|
done.
Quote:
Up and Down scroll bar does not work on the Sub Form
|
done, but you must be inside the subform. use Up, Down arrow keys.
Quote:
Up and Down scroll bar does not work on the Main Form
|
done. use the Up, down Image.
Quote:
How can we have a comma added to the numeric stock quantity
|
Quote:
Quote:
Where does the “NZ” go in case there is no quantity for = Shares Bought = Shares Sold = in the Shares Currently Owned
|
|
see the controls Format Property.
__________________
"Never stop learning, because life never stops teaching"
|
|
|
The Following User Says Thank You to arnelgp For This Useful Post:
|
|
10-18-2018, 11:38 PM
|
#9
|
Newly Registered User
Join Date: Dec 2009
Posts: 423
Thanks: 230
Thanked 1 Time in 1 Post
|
Re: Sub Form controls
Thank you for your assistance.
===
Create new record (my code) does not work
We purchase a new Equity for example, Arnelgp, how do we enter the purchase details?
===
Thank you for fixing
Up and Down scroll bar does not work on the Sub Form
Up and Down scroll bar does not work on the Main Form
===
How can we have a comma added to the numeric stock quantity?
Our Volunteer group manager would like to see the
= Shares Bought Total = Shares Sold Total= and Shares Currently Owned Total= values for each equity group with a comma separator ie; 2,345.
===
“NZ”
In some cases there is no quantity in the field Shares Sold #, therefore I thought we had to have =NZ = in the totaling code
===
I/We do appreciate your assistance.
Nicole
|
|
|
10-19-2018, 05:56 PM
|
#10
|
Registered User
Join Date: May 2009
Location: somewhere out there
Posts: 6,982
Thanks: 56
Thanked 2,239 Times in 2,149 Posts
|
Re: Sub Form controls
sorry my access is complaining when adding code to the new form i made. there is incompatibility issue. i only have a2016 x64. your db is created in earlier ver.
__________________
"Never stop learning, because life never stops teaching"
|
|
|
The Following User Says Thank You to arnelgp For This Useful Post:
|
|
10-19-2018, 09:33 PM
|
#11
|
Newly Registered User
Join Date: Dec 2009
Posts: 423
Thanks: 230
Thanked 1 Time in 1 Post
|
Re: Sub Form controls
Hello and thank you for your note.
One of our machines has Office 2017, should I try and convert the file for you?
Thank you.
Mary Jane
|
|
|
10-20-2018, 01:53 AM
|
#12
|
Registered User
Join Date: May 2009
Location: somewhere out there
Posts: 6,982
Thanks: 56
Thanked 2,239 Times in 2,149 Posts
|
Re: Sub Form controls
yes please.
__________________
"Never stop learning, because life never stops teaching"
|
|
|
The Following User Says Thank You to arnelgp For This Useful Post:
|
|
10-26-2018, 03:58 PM
|
#13
|
Newly Registered User
Join Date: Dec 2009
Posts: 423
Thanks: 230
Thanked 1 Time in 1 Post
|
Re: Sub Form controls
All of the later versions of the MsAccess software programs we have, find that the file that you have been helping us with is buggy and we will start anew.
Paul
|
|
|
Thread Tools |
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
All times are GMT -8. The time now is 06:08 PM.
|
|