I need my textboxes to not accept number or special characters but formatting my fill-ins/textboxes to "Allow Letters only" or "Allow Letters and Convert to Caps" gives me these errors:
** Character at position 4 must be a letter. (631)
** Data string ASD does not match format (629)
** The...
Hi. I need my program to not move when clicked and dragged from the title bar.
I tried the MOVABLE option, but it only works on widgets.
Any help would be appreciated. Thanks.
Thanks for the responses. I'm quite the one that still uses something even if it's old as long as it's working.
But I'm definitely going to upgrade my Progress.
Thanks again. :)
Hi. I recently upgraded to Windows 10.
My Progress 10.1B, which perfectly runs on the Windows 8.1, does not work anymore.
Is there a compatibility issue? Do I need to install a newer version of Progress?
Hi. I have designed an image that I have used as the background in all my programs.
It's a mix of some lines and a gradient of green and blue. But I'll be using some fill-ins to output some text in the window. My problem is, the fill-in isn't "transparent". How can I make the fill-in's bgcolor...
Hi. I am trying to do a free form query for a browse and I've been having a problem.
I have joined multiple tables in it and it seems to be working fine, but when one of the table's record is not found, the browse will not display the record even if there are records from the other tables.
To...
Wow. Great codes guys.
But I think what I really needed is what Tom said, the "Ceiling" procedure, which I think Progress doesn't have.
I'll try out all your codes with my procedure to check which fit/compute best.
Thank you all and God Bless. :)
So TRUNCATE just removes the decimal places and retains integer?
Hmm. So can I use TRUNCATE to my expressions and then add 1 for the automatic round off?
I need help about these two functions.
I can't differentiate them.
And also, I have this task wherein I need to automatically round off to the nearest ones whenever the digit has a decimal value. Is there a built-in function/procedure for that? I don't think Round and Truncate is correct to use...
Sorry about the first line, I actually erased that already.
This code is for a CHOOSE trigger of btnDraw.
iLastNum is an integer that I declared to get the total number of entries in the table Names.
TixNum(or Ticket Number) is the table field which has a corresponding name that will appear on...
Soory about that.
Here's a sample of my code:
ASSIGN fiWinner.
FOR EACH Names.
iLastNum = iLastNum + 1.
END.
IF btnDraw:LABEL = "Draw" THEN DO:
iRandom = STRING(RANDOM(1,iLastNum)).
FIND FIRST Names WHERE TixNum = iRandom AND Checker = NO.
IF...
Hi. Newbie programmer here.
I was assigned to create an electronic raffle program.
I created a table where all the entries that can be drawn by the program are saved there.
I also created a field where whenever the program draws the entry, it will be marked and will not be able to be drawn again...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.