Search found 8 matches

by Bish99&@
Sun Sep 02, 2018 7:53 pm
Forum: BASIC programs
Topic: Creating an input form
Replies: 8
Views: 4570
Flag: United States of America

Re: Creating an input form

Thanks Henko, I will see if I can use these to help me figure out how to proceed. I really appreciate your help.

Steve
by Bish99&@
Sun Sep 02, 2018 4:18 am
Forum: BASIC programs
Topic: Creating an input form
Replies: 8
Views: 4570
Flag: United States of America

Creating an input form

I'm trying to create a form that I can use to collect input data for report creation. I really don't understand w
How to use the Page command to create an interactive input for. Are there any examples available from which I can learn?

I appreciate any help.

Thanks,
Steve
by Bish99&@
Tue Feb 06, 2018 11:54 pm
Forum: Other topics
Topic: Help please - date math
Replies: 39
Views: 27642
Flag: United States of America

Re: Help please - date math

I want to clarify my initial problem, it was not that the Date Calculaor code didn't work, it was that I couldn't figure out how to how to obtain the result of the function and use it in my program. When I ran the Date Calculator function by itself with a couple of input dates I received the correct...
by Bish99&@
Sun Feb 04, 2018 11:09 pm
Forum: Other topics
Topic: Help please - date math
Replies: 39
Views: 27642
Flag: United States of America

Re: Help please - date math

I don't know if I made I clear earlier, but I was able to resolve my problem with the code from Henko and Rbytes; which used functions written by Dutchman (date dunctions library, and date calculator). I really thank everyone who read my request and responded. You're a good bunch of guys.

Steve
by Bish99&@
Sun Feb 04, 2018 8:11 pm
Forum: Other topics
Topic: Help please - date math
Replies: 39
Views: 27642
Flag: United States of America

Re: Help please - date math

Thanks George for you help, but when I used this code it returned the wrong number. The difference between 1/21/2018 and 2/03/2018 should be 14 days, this function returned 24. I don't know what the problem is. PRINT g(2018,1,21) - g(2018,2,3) DEF g(y,m,d) m = (m + 9) % 12 y = y - m/10 nd = INT(365*...
by Bish99&@
Sat Feb 03, 2018 8:33 pm
Forum: Other topics
Topic: Help please - date math
Replies: 39
Views: 27642
Flag: United States of America

Re: Help please - date math

Thank you rbytes and henko, I really appreciate your help. I am working on figuring out how to implement your code into a function I can use in my program. Both of you are generous with your help, I doubt I'll get proficient enough but I hope I can help someone in the future.

Steve
by Bish99&@
Sat Feb 03, 2018 3:13 am
Forum: Other topics
Topic: Help please - date math
Replies: 39
Views: 27642
Flag: United States of America

Re: Help please - date math

Thanks for your reply. I have done a search for "date math" but nothing came that matched my requirements. I have been trying to use Dutchman's functions, but as I said I can't figure out how to get/find the interval value returned so I can use it in my program.

Thanks for your time,
Steve
by Bish99&@
Sat Feb 03, 2018 1:29 am
Forum: Other topics
Topic: Help please - date math
Replies: 39
Views: 27642
Flag: United States of America

Help please - date math

I am attempting to use the date functions posted in the forum to help me categorize input based on 7, 14, 30 day intervals. I'm hoping to read an input file with a date field and compare it to today's date in order to find the proper date category. I am not having any luck determining how the interv...