I
inACCESSable
i've inherited a table with tree diameters, among other things. i want to add
a new field to the table that has the area for each tree. i've created a new
query to pull out just the diameter. i tried to make a form that linked the
old field, DBH, and new field, BAI. i tried to make a macro for the equation
((d/2)^2)*3.1415. i don't have any idea how to:
-make the macro do the math. i can't get it to refer to the correct object,
"DBH". i don't even know if i'm supposed to use a macro or a "command" or
something else.
-get the data from the form into the new field in the table. the DBH field
(existing) shows in the form, but when i tab (tried a button with "on click",
but the action or whatever for the click wasn't right) to the BAI field, it's
totally blank. and even if it wasn't i don't know if i could get it fill the
table.
i don't know much at all about db or Access, so if i've overlooked some kind
of concept or used the wrong language, sorry. i looked at a book or two, got
some concepts, but don't have any methods down.
a new field to the table that has the area for each tree. i've created a new
query to pull out just the diameter. i tried to make a form that linked the
old field, DBH, and new field, BAI. i tried to make a macro for the equation
((d/2)^2)*3.1415. i don't have any idea how to:
-make the macro do the math. i can't get it to refer to the correct object,
"DBH". i don't even know if i'm supposed to use a macro or a "command" or
something else.
-get the data from the form into the new field in the table. the DBH field
(existing) shows in the form, but when i tab (tried a button with "on click",
but the action or whatever for the click wasn't right) to the BAI field, it's
totally blank. and even if it wasn't i don't know if i could get it fill the
table.
i don't know much at all about db or Access, so if i've overlooked some kind
of concept or used the wrong language, sorry. i looked at a book or two, got
some concepts, but don't have any methods down.