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

Macro opens popup form but displays all records or no records

I've been stuck on this for 2 days. Here's the deal.
I am working (3 levels down/deep)in a subform within a tab object that
is within another tab obeject. Everything works great!
Except here:
1) 3 levels down I have a command button labled "show client address"
that launches a macro that evaluates a yes/no condition in a field on
the same form labeled "Same a Customer address".
2)If the Data in the field is "Yes" it opens the "customer address
popup form" and if "No" it launches the "client address form" This
part works. It does bring up the correct form.
3) My problems is that the form does not open the correct record. It
displays all the records, when I apply a filter to the marco or it
displays no records
4)Both popup forms "Client & Customer Address" contain the relating
field that binds it to the parent form via the parent forms primary
key field.
NOTE: If I launch the popup forms from command buttons they will
display the correct record.
Does anyone know what I am doing wrong. I feel like such a dork.
Nov 13 '05 #1
0 1144

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Edgar | last post by:
I want to go from viewing a form (record number "x") to the same record ("x") in a report. Of course, when I open the report, it opens to the first record, not record "x". I don't know VBA,...
8
by: MLH | last post by:
My autoexec macro in an Access 2.0 database has 2 lines. The first runs DoMenuItem - Database - Window - Hide. The second lines is Runcode - Initialize(). Initialize is a procedure in a global...
1
by: Dlady2004 | last post by:
I am trying to create a macro that opens a form and displays a message box and records if the condition holds true if no records match I want it to go to the next criteria in another form here is...
1
by: meganrobertson22 | last post by:
Hi Everyone- I am trying to use a simple macro to set the value of a combo box on a form, and I can't get it to work. I have a macro with 2 actions: OpenForm and SetValue. I can open my form,...
0
by: dynfax | last post by:
When I use Access 97 with Terminal Services, and the terminal window is minimized, the popup form displays - and when i reset the focus to the terminal window the popup form displays. In...
2
by: Amir Shaz | last post by:
Hi, Ive a requirement to display the details in a Modal Window. I open that window using JavaScript and it displays the required details. I need to save these details. For this purpose, Ive...
1
by: Mac via DotNetMonster.com | last post by:
Hi all, I have an MDI application with a function that displays a popup window (through the showdialog method) which displays all the current MDI child windows. I know how to get a list of...
4
by: JayDawg | last post by:
I created a macro to delete the contents of a particular table when closing Access. How do I turn off the function that gives the warning messages so it just does it without having to hit OK?
5
by: Bill | last post by:
This database has no forms. I am viewing an Access table in datasheet view. I'd like to execute a macro to execute a function (using "runcode"). In the function, I'll reading data from the record...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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: 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
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...

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.