dbTalk Databases Forums  

Keep record from being accepted.

comp.databases.filemaker comp.databases.filemaker


Discuss Keep record from being accepted. in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
MuniciNET
 
Posts: n/a

Default Keep record from being accepted. - 11-02-2006 , 01:35 PM






Is there a way to keep a record from being accepted? I'm guessing with
vaildation somehow, but I can't get my mind to work!

I am putting a scheduling solution together. I can have a maximun of 50000
scheduled for each work day. If you try to enter more than is available on
that day, you can't enter the record and have to choose a new day or the
solution would suggest the next available work day.

Thanks in advance!



Reply With Quote
  #2  
Old   
MuniciNET
 
Posts: n/a

Default Re: Keep record from being accepted. - 11-02-2006 , 01:36 PM






Forgot: v8 and 8.5.


"MuniciNET" <dan (AT) mmsit (DOT) net> wrote

Quote:
Is there a way to keep a record from being accepted? I'm guessing with
vaildation somehow, but I can't get my mind to work!

I am putting a scheduling solution together. I can have a maximun of 50000
scheduled for each work day. If you try to enter more than is available on
that day, you can't enter the record and have to choose a new day or the
solution would suggest the next available work day.

Thanks in advance!




Reply With Quote
  #3  
Old   
Bill
 
Posts: n/a

Default Re: Keep record from being accepted. - 11-02-2006 , 03:37 PM



In article <lcedncDak9zA1NfYnZ2dnUVZ_tOdnZ2d (AT) lbdsl (DOT) com>,
"MuniciNET" <dan (AT) mmsit (DOT) net> wrote:

Quote:
Forgot: v8 and 8.5.


"MuniciNET" <dan (AT) mmsit (DOT) net> wrote in message
news:zvSdnTRz7NuC1NfYnZ2dnUVZ_t2dnZ2d (AT) lbdsl (DOT) com...
Is there a way to keep a record from being accepted? I'm guessing with
vaildation somehow, but I can't get my mind to work!

I am putting a scheduling solution together. I can have a maximun of 50000
scheduled for each work day. If you try to enter more than is available on
that day, you can't enter the record and have to choose a new day or the
solution would suggest the next available work day.

Thanks in advance!

A method that occurs to me is to make a self-join on table, using the
Date field for the relationship. The define a field that returns the
Count of the records in the related self-join table.Impose a validation
requirement on the key ID field or on the data field that displays a
message if the Count has reached the limit.

--
For email, change <fake> to <earthlink>
Bill Collins


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.