473,386 Members | 1,752 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,386 software developers and data experts.

Subforms not opening in Add Mode

33
hi,
my prob is that ive done a form in which there are multiple sub forms,and when i click on "new" from the switchboard, only the first main form is displayed in the "add mode"....HOW DO I MAKE THE OTHER SUB FORMS IN 'ADD FORM 'TOO?

Eagerly waiting for your replies...
thnxx
Dec 19 '06 #1
3 2455
MMcCarthy
14,534 Expert Mod 8TB
hi,
my prob is that ive done a form in which there are multiple sub forms,and when i click on "new" from the switchboard, only the first main form is displayed in the "add mode"....HOW DO I MAKE THE OTHER SUB FORMS IN 'ADD FORM 'TOO?

Eagerly waiting for your replies...
thnxx
This is a bigger problem. It looks like you table relationships may not be right or else you haven't joined the subforms to your main form using the correct master/child relationship

Mary
Dec 20 '06 #2
godsent
33
This is a bigger problem. It looks like you table relationships may not be right or else you haven't joined the subforms to your main form using the correct master/child relationship

Mary
thanx mary,the subforms working perfect in add form..the relationship were ok, its just i had to reconsider how to link them in the subform...

Another prob is that, i have a form A,i need to click on a command button to reach another form B.Hence, when click the form in "ADD FORM",only the form A is in "ADD FORM", but not form B. I know i must write codes to do this (On click)...plz suggest how do i go about it..

Actually,its the first time am doing a system in Ms Access,hence will be grateful if i can get the codes. Is it the same as in VB.net?
Dec 20 '06 #3
MMcCarthy
14,534 Expert Mod 8TB
thanx mary,the subforms working perfect in add form..the relationship were ok, its just i had to reconsider how to link them in the subform...

Another prob is that, i have a form A,i need to click on a command button to reach another form B.Hence, when click the form in "ADD FORM",only the form A is in "ADD FORM", but not form B. I know i must write codes to do this (On click)...plz suggest how do i go about it..

Actually,its the first time am doing a system in Ms Access,hence will be grateful if i can get the codes. Is it the same as in VB.net?
If FormB has the Data Entry Property set to No then it won't open in Add mode.

Expand|Select|Wrap|Line Numbers
  1. DoCmd.OpenForm "FormName"
Will open the form

If you need anything else please clarify the situation further

Mary
Dec 20 '06 #4

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

Similar topics

0
by: Jeff Pritchard | last post by:
This is a twisted little problem. A client has an Access 2000 front-end using linked tables to a DNS to SQL Server 2000 back-end. With an Access 2000 back-end there is no problem. The problem...
4
by: Jeff | last post by:
I have a need to open a report in design mode immediately before opening it in preview, to change the Minimum and Maximum scale on an axis on a chart. This results in a flash of the report in...
4
by: microb0x | last post by:
I have an application with a master form with a tab control containing nine tabs, each tab contains a subform. I have command buttons on my main form including: Save , Cancel , Close. My...
2
by: collegekid | last post by:
Hi everyone, basically my problem is this: I am using an Access 2000 format. And--I have four subforms in my main form. (Purpose of this is to track projects.) So in my main form I enter the...
5
by: sparks | last post by:
I have a form that is broken down into 24 sub forms. these are all tied to one subform, they are filtered based on other things. But I need to change the sub forms source object based on a...
7
by: Edwin Martinez | last post by:
Hello I have a parent form but I want to create 4 forms that will be shown in a area inside the parent form when I click to buttons. +----------------------------+ | Parent Form ...
3
Ericks
by: Ericks | last post by:
I have several subforms (datasheet mode), each with a date. The default dates are that of the system but they can be altered at will by the user. I want these dates to remain sorted descending, that...
8
by: Steffen Beck | last post by:
Hi NG I need some help with a problem on my forms. If I have 2 related tables, for instance companies and employees, and want to display all companies on a continuous form with their...
31
by: matthewslyman | last post by:
I have an unusual design and some very unusual issues with my code... I have forced Access to cooperate on everything except one issue - record deletion. My form design involves a recursively...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
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...

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.