User Profile
Collapse
-
Simplifying a fraction
I have to write a program in which I have two fractions. Each fraction has two variables, numerator and denominator. I have to add, subtract, multiply and divide with these fractions, and in the end the fraction has to be simplified. Can anyone here tell me what algorithm I can use to simplify these fractions? An example is if I have 5/10, in the end I need to show 1/2. I've thought of everything but I can't find a way. Thanks to those who ... -
I see. Well I guess I have no choice but to leave it like that then. Thanks so much for taking your time to check my program! -
Ok I attached the program here, I think (sorry still new to the website). If you could help me out here I would appreciate it a lot. Also there's a mixture of english and spanish there, so if you have any questions let me know....Leave a comment:
-
...Code:If Me.CardType = "Spell" Or Me.CardType = "Trap" Then Me.MonsterType.Visible = False Me.MonsterType_Label.Visible = False Me.Attack_Label.Visible = False Me.Attack.Visible = False Me.Defense.Visible = False Me.Defense_Label.Visible = False Me.Price.Left = 4.3333 * 1440 Me.Price_Label.Left = 4.3333 * 1440 Else Me.MonsterType.VisibleLeave a comment:
-
sigh. It didn't work, maybe what I'm trying to do is impossible. I've searched everywhere and tried everything.Leave a comment:
-
It still deletes the whole item. The only thing I need right now is a way to check a field of the report everytime it receives new information every time it writes a new item. That's the only thing I need so I can check and delete and put my code to work. If I have 4 cards to display, I need to check the field "CardType" 4 times to check if it's the type I want, that's all. Now, can anyone tell me how to do this? I tried report load...Leave a comment:
-
Yes, and my key fields are Card Name and the condition of the card.Leave a comment:
-
Ok, my inventory program is for trading cards called Yu-Gi-Oh. These cards are divided in three types: Monster, Spell and Trap. Monsters have monster type, attack and defense. Spells and Traps don't have these, so whenever it is a spell or trap, I have a N/A value in those three fields. In the report, I want to hide those three fields whenever the card type is spell or trap. I hope that makes things easier.
Hedges: I tried what...Leave a comment:
-
Question about Reports
I'm doing an Access inventory program. I already got practically everything done, but there's only one thing that's giving me trouble right now, and it involves the reports. I'm going to try to explain it as general as possible.
Suppose you have item#1, and item#1 has attribute#1, attribute#2, attribute#3 and attribute#4. Now, suppose you have item#2, and item#2 has attribute#2 and attribute#4.
Now, in the table, an item...
No activity results to display
Show More
Leave a comment: