Link to home
Start Free TrialLog in
Avatar of Rayne
RayneFlag for United States of America

asked on

Table Column to Form- VBA

Hello

There is a table with 4 columns (lets say)
When i made a form initially, the table had 3 columns. so the form had 3 fields. Now how do i use vba to add the 4th new column to the form?

Thank you
Avatar of Norie
Norie

How are you displaying the table on the form?
Avatar of Rayne

ASKER

Hello Imnorie,
The form has to be in datasheet view always
ASKER CERTIFIED SOLUTION
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Open the form in design view, open the Field List and add the new field to the form.

Oops, think that's already been suggested.
Avatar of Rayne

ASKER

Hello Scott,

Yes totally agree, creating it in runtime is not logical. But I would want to have a button that i could press sometimes that does the form refresh and I think this serves that purpose

Thank you :)