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

Recurring problem with conditions...

Hi folks;
Bit of an intangible problem this, I'm not sure if there's to simple a solution out there. I have a couple of tables represented by a couple of forms, and I want a checkbox on master form A to go "Yes" if (and only if) a particular text value in a drop-down box on sub-form B is selected.

At the moment I'm doing it by using a simple SetValue macro in the After Update property of the text box on form B. Having it on After Update isn't ideal because it doesn't always stick.

So here's the question - is there a way of declaring some kind of global condition in Access that says "if formB!ValueX="text" then FormA!ValueY=Yes" No more depending on After Update, On Load or After Render, just a simple declaration tucked away in the backgrund. I imagine one could do it with VB or SQL but I don't really know either of them. If there's a simpler way, does anyone know it?

Thanks!
Aug 2 '07 #1
6 1236
Rabbit
12,516 Expert Mod 8TB
If the checkbox is an unbound control then you can use the control source to populate the checkbox. If not then you'll need code, if After Update isn't working all the time, then use On Change.
Aug 2 '07 #2
Unfortunately the checkboxes are bound to a control already. how much code would be required do you think? I need to bite the bullet and get a bit more familiar with it anyway...
Aug 2 '07 #3
Rabbit
12,516 Expert Mod 8TB
You won't have to do much, whatever you're using in the After Update, use it in the On Change event instead.
Aug 2 '07 #4
Cheers guys, I'll try that and see if it works!
Aug 3 '07 #5
In the end I just put together a few update queries that run on startup and ensure everything's in order. Maybe one day I'll learn VB and I can stop doing it all the point-and-click way...

Cheers guys!
Aug 7 '07 #6
Rabbit
12,516 Expert Mod 8TB
In the end I just put together a few update queries that run on startup and ensure everything's in order. Maybe one day I'll learn VB and I can stop doing it all the point-and-click way...

Cheers guys!
Glad you got it working, good luck.
Aug 7 '07 #7

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

Similar topics

5
by: Shabam | last post by:
I'm having a calendar feature developed whereby users can add recurring events. These recurring events can have start and end dates, meaning they will recur only within a date range. For...
5
by: gil | last post by:
I initially tried building a coded system where numbers 1 through 10 referenced a certain type of recurring appointment, and would then call a specific function for each, but as more appointments...
1
by: antao | last post by:
I'm keeping in the database a log of all the sessions for my application. I'm trying to write a stored procedure that returns all the sessions that; the login contains a certain string, loggedin...
1
by: steve | last post by:
Hi All I am writing a program for a gymnasium for membership control It is the first time I have had to deal with appointment diaries and I want to know the best way to store recurring...
2
by: nepdae | last post by:
Please forgive me, this is a long one. My 11-user Access 2000 database is having recurring corruption problems. The symptoms include the following: 1) corrupted fields in recently created or...
1
by: TC | last post by:
Hi, I have an app that is going to require recurring diary entries, it's a relatively simple app but I have no idea how to go about the recurring entry side of things. The functionality needs to...
0
by: =?Utf-8?B?TWVlbWEgSnVkeQ==?= | last post by:
I have a Verizon Palm Treo 755p and use Outlook 2002 on my new HP Pavilion (Vista 64-bit). When I was syncing on my old XP PC, everything worked fine. On the Vista PC, when I finally got it to...
2
by: Kshetra | last post by:
Hi All, I wanted to know more about how monthly recurring of payments is done through paypal.I need to integrate payments through paypal in my application such that No where I will track the...
23
by: CFFAN | last post by:
Is it possible recurring payment using PayPal Pro? How to use paypal.cfc? Is paypal java sdk needed for this? can anyone gve detail description to applay paypal in coldfusion?
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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...
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...

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.