Link to home
Create AccountLog in
Avatar of deer777
deer777Flag for United States of America

asked on

MS ACCESS VBA If Form textbox value in table and date is not null then

Need to write VBA to determine if a textbox value is in table then . . . update table
Avatar of deer777
deer777
Flag of United States of America image

ASKER

then I need to run stored procedure to insert into table on the SQL Server side
ASKER CERTIFIED SOLUTION
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
VBA doesn't directly access tables.  You would do this by creating an update query that selects the record you want to update if the value is null and sets the value to whatever you want.

I'm guessing that you are making this harder than it needs to be.  Are you not using a bound form?