ColeChaW
Charlie
- Local time
- Today, 14:51
- Joined
- Aug 10, 2006
- Messages
- 36
Just wondering on the best practice for linking an Access form to the Access tables. There is the default link access creates directly to the tables in the database. To get at information you can also set up a DAO or ADO recordset and save the data to variables.
The second method seems safer because you can play around with the strPhoneCell and not mess up the data stored in PhoneCell in your table. Then, when they save the data, you can just replace the data using you DAO.
However, I'm not sure if this is overkill, using it on every form or if there's a general rule out there. I'm a paramedic by trade, so I might be overlooking some very general development issues here. If something doesn't work right at my job we just shock it.
Also, the dcount dlookup ect. commands are real good at getting info quick, should I use a DAO connect for this info too or are the 'd' commands a good way to get a quick single peice of information?
Thanks for sharing your brains.
The second method seems safer because you can play around with the strPhoneCell and not mess up the data stored in PhoneCell in your table. Then, when they save the data, you can just replace the data using you DAO.
However, I'm not sure if this is overkill, using it on every form or if there's a general rule out there. I'm a paramedic by trade, so I might be overlooking some very general development issues here. If something doesn't work right at my job we just shock it.
Also, the dcount dlookup ect. commands are real good at getting info quick, should I use a DAO connect for this info too or are the 'd' commands a good way to get a quick single peice of information?
Thanks for sharing your brains.
