Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox Delimma
Message
De
26/10/1999 18:28:07
Jimmy Ditta
Twin City Electronics
Monroe, Louisiane, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00281744
Message ID:
00281911
Vues:
22
Yes,

the items in the table ALL must be saved. this program is used for buying lumber. lumber comes on trucks packed in bundles. the size of the boards determine how many pieces in the bundle. that plus the length of the board times a conversion factor gives what is known as boardfeet. boardfeet is the unit lumber is priced by.

combo1=#of bundles
combo2=boardsizearray (if you choose column1("2x4"), that has column2(192 pieces) and column3(conversion factor .667)
combo3=bundle length
textbox1=combo1*combo2column2*combo2column3*combo4=boardfeet
textbox2=price per thousand boardfeet (the user input i'm having trouble with)
textbox3=textbox1*textbox2

it's really a simple program. just my lack of expertise at Foxpro is keeping program production slow.

if you have any further suggestions as to what to do about my input problem they are much appreciated.

JD
>Ok, I think I remember seeing the other thread now. John Kozoil I think hit on the problem.
>
>You have a table in the forms DataEnvironment that has 1 record in it right? The textbox controlsource points at a field in the table. I think the problem is the pointer (which determines which record in the table we are working on) is not pointing at that record for some reason.
>
>Read some of the other posts in this thread that Ed and Tom posted they should help. And also John's reply to the other thread.
>
>While the form is running (as long as it's not modal) Click the window menu item and then DataSession. That will let you browse the see and browse the tables opened by the form.
>
>Also, can you explain a little more about what this form does? When the user uses it do you need to save all the itmes they've typed in a table for later use or is it just a calculator type app that never saves anything?
>
>hth
>
>>Roi,
>>No, the textbox value is not controlled by combos, it is intended for the user to be able to enter a value that will be used in one of the methods (math functions).
>>
>>the control source is set to a field (type currency) in the data environment.
>>
>>thanks for the advise.
>>JD
>>
>>
>>>>Why would a textbox be readonly if the property "readonly" is set to False, the data type in the field it's bound to is Currency, and the checkbox for readonly is not checked in builder?
>>>>
>>>>Thanks ahead of time,
>>>>JD
>>>
>>>Hi Jimmy,
>>>
>>>What is the controlsource property of the textbox set to? Is it one of the textboxes whose value is being set by another control?
>>>
>>>BTW I think I've seen you post about his problem before? If you keep posting to the same thread, you'll get a better response, and people helping will be able to see the other suggestions given and whether or not they worked.
>>>
>>>hth.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform