Lee Baird Posted November 7, 2004 Posted November 7, 2004 I have a calendar solution (file A) that shows events from file B by having a different realtionship for each day of the month. When I select a date on the calendar, it goes to the related record in file B. But when I click on a date that does not have an event it still goes to the last date selected in file B. Instead I want a custom dialog box to pop up saying "This date does not exist. Would you like to add it? I know how to script the dialog box and the choices. I can't figure out how to check for a valid date in the calendar (file A) with a valid date in file B.
David Holmberg Posted November 7, 2004 Posted November 7, 2004 This works for me... If(count(fileB::anyfield)>0) go to related record Else Show dialog box End If
-Queue- Posted November 7, 2004 Posted November 7, 2004 not IsEmpty(relationship::keyfield) will be faster, especially if there may be more than one related record.
Recommended Posts
This topic is 7390 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now