473,399 Members | 3,888 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,399 software developers and data experts.

continuous forms on popup only displaying one record unless I expand the window

Hello

I am fairly new to Access and am having a problem for which I am trying everything without success. It is access 2003.

I have a main form. When the user presses a button a modal popup comes up with a continuous form based on a database table. I am manually linking the table to the main form table rather than as a subform, but either way I get this problem. When the popup comes up, even though there are 3 records, I only see one. If I expand the popup downwards I see the other records. I want them to be shown from the start.

Properties for the popup form are:

Default View: Continuous forms
Allow Form View: Yes
Scroll Bars: Vertical Only
Record Selectors: Yes
Navigation Buttons: Yes
Dividing Lines: Yes
Auto Resize: No
Auto Center: No

the detail section of the popup form has:

Force New Page: None
New Row or Col: None
Keep Together: yes
Visible: yes
Display When: Always
Can Grow: Yes
Can Shrink: yes

I have tried every combination I can think of as well as enlarging the detail section but that just makes more space for each record in the popup. Any help would be appreciated.
Nov 19 '07 #1
5 5979
It suddenly works. All I did was make it a subform again, put it outside the visible part of the parent form, and make it so that, in design mode, the subform form is in the middle of the screen.

Anyway, I truied undoing anything I had done and it still works, justa s before nothing I did could make it work. Since I am not learning from my mistakes, I am doomed to repeat them, unless someone can shed light on this.

Thanks!
Nov 19 '07 #2
NeoPa
32,556 Expert Mod 16PB
You have (accidentally) posted this question in the Access Articles section. This is NOT an article.
I'm moving this to the main Access questions forum.

ADMIN.
Nov 19 '07 #3
Jim Doherty
897 Expert 512MB
It suddenly works. All I did was make it a subform again, put it outside the visible part of the parent form, and make it so that, in design mode, the subform form is in the middle of the screen.

Anyway, I truied undoing anything I had done and it still works, justa s before nothing I did could make it work. Since I am not learning from my mistakes, I am doomed to repeat them, unless someone can shed light on this.

Thanks!

Hi Kenneth,

As a workaround use this

Create a standard module and paste this below the Option Compare Database line

Expand|Select|Wrap|Line Numbers
  1.  
  2. Declare Function GetDesktopWindow Lib "user32" () As Long
  3. Declare Function GetWindowRect Lib "user32" (ByVal hWnd As Long, rectangle As RECT) As Long
  4.  
  5. Function getScreenResolution() As String
  6.     Dim r As RECT
  7.     Dim hWnd As Long
  8.     Dim retval As Long
  9.     hWnd = GetDesktopWindow()
  10.     retval = GetWindowRect(hWnd, r)
  11.     getScreenResolution = (r.x2 - r.x1) & "x" & (r.y2 - r.y1)
  12. End Function
  13.  
  14.  

Now for 'pop ups' and windows such as those I personally place them wherever I want dynamically but for 'starters' if you want to try this one you'll see what I mean.... it will place your popup top left of screen each time (out of the way so to speak and size the length to fit the resolution either 800x600 or 1024x768:

In the On Open event of the form place the following code

Expand|Select|Wrap|Line Numbers
  1. On Error Resume Next
  2. If getScreenResolution() = "1024x768" Then
  3. DoCmd.MoveSize 0, 0, , 10980
  4. Else
  5. DoCmd.MoveSize 0, 0, , 8500
  6. End If
Bit rough and ready but it ought to facilitate you for what you need

Regards

Jim :)
Nov 19 '07 #4
NeoPa
32,556 Expert Mod 16PB
Unfortunately, as we have no accurate log of all the changes you made, and in which order, there is little to go on to determine what caused it to start working I'm afraid.
I'm sorry to be unable to help as you've provided a lot of relevant info and laid it out carefully too.
Maybe someone else will see something I missed.
Nov 19 '07 #5
missinglinq
3,532 Expert 2GB
I think this is what's happened:

a modal popup comes up with a continuous form... When the popup comes up, even though there are 3 records, I only see one. If I expand the popup downwards I see the other records.
The form at this point was continuous, and in Design View, the OP had way too much empty space between the bottom of the text boxes and the bottom of the form, which meant that there was a lot of "white space" between each row of data, forcing the OP to expand the form to see all three records.

It suddenly works. All I did was make it a subform again, put it outside the visible part of the parent form, and make it so that, in design mode, the subform form is in the middle of the screen.
When the form was made into a subform again, the form was no longer a continuous form but rather a Datasheet form, which is the default view for a subform! Since Datasheet forms are formatted similar to spreadsheets or queries, all three rows were automatically "snugged" up to each other, resolving the problem. When a form is displayed in Datasheet mode, Access ignores any and all formatting that apperars in Design View and so the extra empty space disappeared. If the form is changed back to Continuous view I suspect the problem will re-appear.
Linq ;0)>
Nov 20 '07 #6

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

Similar topics

6
by: Logger | last post by:
Help, Want someone's option. I'm calling a popup screen, say form B, to add/edit a record. In, say form A, I call form B using javascript window.open in server side code. I need to know when I...
3
by: B | last post by:
I know there are several ways to speed up combo boxes and form loading. Most of the solutions leave rowsource of the combo box blank and set the rowsource to a saved query or an SQL with a where...
4
by: Dave Boyd | last post by:
Hi, I have two very similar forms each with a subform. The main form gets a few fields from the user and passes this back to a query that the subform is bound to. The requery is done when the...
9
by: Edwinah63 | last post by:
Hi everyone, Please let there be someone out there who can help. I have two BOUND combo boxes on a continuous form, the second being dependent on the first. I have no problem getting the...
1
by: blueheelers | last post by:
I have been researching for several hours on the best way to display images in continous forms in Access 2003. For example, I want to display employee name, email, phone, and picture for each...
6
by: TurnerTech | last post by:
Hi guys. I am struggling with this and I need it to complete a fairly cool facility for the users. I have a continuous form which is populated by a recordset generated by a "common" routine...
5
by: bittman | last post by:
I have code as follows: Dim conn As New ADODB.Connection Dim rst As New ADODB.Recordset conn.ConnectionString = "Provider=MSDAORA;Password=tr7025ds;User ID=system;Data Source=WIN10" conn.Open...
7
by: Dave | last post by:
Hello All, These one may be a bit tricky, and what I'd like to do may not even be possible. I would love to hear any ideas you guys have for solving this. Here is the situation: I have a form...
2
by: Steve | last post by:
I have a continuous form showing Product Code and Product Name. Product Code is five digits and is sequential. I have a textbox in the form header. What is the code to scroll the continuous form so...
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
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.