Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transferring values from a form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00052322
Message ID:
00052344
Views:
32
>I read T. Brown's question regarding using activate or init when declaring a variable. One answer was to create an object to hold the value.
>
>I am working on an app. and I have a form gathering information from the user. This infor is gathered in checkboxes. I want to transfer the info for the checked checkboxes to my data entry form. If I use the default data session and link the info in the form to a field in my table, will it transfer the value to the current record in my table?
>
>Thanks in advance for your help.
>
>Audie

Audie, are your checkboxes linked to data fields in the control source? If so, then this data is written directly to the fields. If you are using buffering, then save the data from the buffer with TableUpdate().

If the checkboxes are NOT linked directly to fields, you will need a program which translates the checkbox values to field data. Write the code into a form method (call it BoxSave or something mnemonic). That way you can call the method from the SAVE button, and also from your Next/Prev/ buttons if you want to save data before moving to another record.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform