A
anasser
In my Access 2002 database, I have a table that the users call from a
button. My question is: How can I make the data in a column on that
table defaulting to only one value based on a specific criterion in my
VBA code, or have it as any normal column based on other criteria in my
VBA code without putting the table in a form.
Example:
Table A structure:
Column1 Column2 Column3 Column4
VBA Button Click:
if x = 1 then
'Code to make entries to Column3 limited to the value "00000000"
end if
if x = 2 then
'Code to make entries to Column3 unlimited and normal like all the
rest of the columns
end if
Any ideas on this matter is appreciated,
Thanks
button. My question is: How can I make the data in a column on that
table defaulting to only one value based on a specific criterion in my
VBA code, or have it as any normal column based on other criteria in my
VBA code without putting the table in a form.
Example:
Table A structure:
Column1 Column2 Column3 Column4
VBA Button Click:
if x = 1 then
'Code to make entries to Column3 limited to the value "00000000"
end if
if x = 2 then
'Code to make entries to Column3 unlimited and normal like all the
rest of the columns
end if
Any ideas on this matter is appreciated,
Thanks