C4 - working with dates 
Author Message
 C4 - working with dates

For you one special date, what you can do is as follows
In your file, declare a byte. This will be a +15 to ??Date field flag.
On the form, just stick a check box for +15 days. Use this to fill in
your +15 day flag. For all calculations, and for displays, just use
??Date + ( Flag * 15 ). The only problem with this approach is it
doesn't work well if your ??Date is in a KEY. If that is the case, you
would need the byte to tell you if you should add/subtract 15 days from
your field.

HTH!

P.S. Are you using ABC or Legacy? Just asking because if you need an
example, I'll try and whip one up.



Mon, 26 Mar 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Select a record in browse by date? (C4)

2. C4 Date Format Help!

3. C4 PE market release date

4. C4 PE market release date

5. C4 ABC - NOMEMO() doesn't work with me

6. C4 ABC - NOMEMO() doesn't work?

7. C4 - FileDropCombo, Update does not work

8. File Creation error - it worked in C4 but not in C5

9. C4: {PROP:Value} don't work

10. C4: The {PROP:Value, n} don't work

11. Threaded file access working in C4 ABC??

12. C4 APP does not work correctly under New XP

 

 
Powered by phpBB® Forum Software