By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,504 Members | 2,318 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,504 IT Pros & Developers. It's quick & easy.

Setting a field value from a slider control

P: 1
I need to set the value of 10 fields in a table from a slider control on a form. The slider controls do not let me bind them to a field. I was trying to use a macro with setvalue and I keep getting the "object doesn't contain the Automation object" error. It's clear though that the error is being generated on the table side and not with the slider control because I have tested the setvalue procedure with a simple number as the expression. Any suggestions would be greatly appreciated.
Feb 15 '12 #1

✓ answered by Mihail

Use a text box bind to field.
When you open the form (Open event) set the slider value based on the text box value.
When you modify the slider value (by dragging the cursor) update the value in text box. That will update too the value in the table.

The text box can or can not be visible.

Share this Question
Share on Google+
1 Reply


100+
P: 759
Use a text box bind to field.
When you open the form (Open event) set the slider value based on the text box value.
When you modify the slider value (by dragging the cursor) update the value in text box. That will update too the value in the table.

The text box can or can not be visible.
Feb 15 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.