G
Guest
I have been working for several days on a macro trying to get it to recognize
a field in a table. I want the macro to open the table, go to a record, go to
a control, and then be able to tell if the field content is "true" or "false"
according to the conditions that I have set. I'm not sure what I'm doing
wrong but it isn't working. My conditions bring back the same results no
matter what the data in the field is.
Basically I have numbers in the “cal†field and I want to know if the field
equals 0, if the field is greater than 0, or if the field is less than 0
(negative number). When I run the macro and the filed has any number other
than 0 all of the results will return “true†and when the field has 0 the
result will be “falseâ€.
Any help would be appreciated!
OpenTable Production Parts
GoToRecord Last
GoToControl cal
[cal]=0 Runmacro 001
[cal]<0 Runmacro 002
[cal]>0 Runmacro 003
a field in a table. I want the macro to open the table, go to a record, go to
a control, and then be able to tell if the field content is "true" or "false"
according to the conditions that I have set. I'm not sure what I'm doing
wrong but it isn't working. My conditions bring back the same results no
matter what the data in the field is.
Basically I have numbers in the “cal†field and I want to know if the field
equals 0, if the field is greater than 0, or if the field is less than 0
(negative number). When I run the macro and the filed has any number other
than 0 all of the results will return “true†and when the field has 0 the
result will be “falseâ€.
Any help would be appreciated!
OpenTable Production Parts
GoToRecord Last
GoToControl cal
[cal]=0 Runmacro 001
[cal]<0 Runmacro 002
[cal]>0 Runmacro 003