Link to home
Start Free TrialLog in
Avatar of francodhs
francodhsFlag for United States of America

asked on

Add Multiple Records to Table from Data Entry Form in Access 2003

I would like to create a form that the user can enter data to a table.  This form would require certain fields to be filled out with two date paramater fields in order to create multiple records in one shot.  For example, the user enters flight information for an airline.  The aircraft will arrive every Monday and Wednesday for the month of May.  The user would simply enter the flight#, and the dates (to and from), and the table would receive mutliple records for the month of May with only the dates changing for Mondays and Wednesdays, but the flight# would stay the same for all rows.  This seems like it would require extensive coding, but I'm hoping someone can walk me through this process.  My programming skills are limited, but i learn quick.  Thanks.
Avatar of dqmq
dqmq
Flag of United States of America image

That sort of insert can be done with SQL from the data entry form, provided you have access to the scheduled dates for the flight #.  More commonly, however, it is done by passing parameters to a stored procedure and doing all the database work in the backend.  Another option is to use the .NET object classes for data access.

Avatar of francodhs

ASKER

Thanks for responding.  I would like to see sample code in order to customize it.  As previously mentioned, my programming skills are limited.
ASKER CERTIFIED SOLUTION
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia 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
I still don't understand how the question reopening will help.

This question is ONE YEAR OLD and its position in unanswered questions list is far far at the bottom, so I suppose nobody will read it again.

The zone change is correct but you should do something which will help to answer the problem and this action isn't really the right solution.
I would presume that by posting this comment requesting to close the question will do the trick. If not, please advise.
Not a complete solution.