I want to copy my whole db file.. tables, forms, code, etc.. into another db file but when I try to import and then look at the code it gives me an error that it cant find the file. Does the VB code get imported too?
thanks for the advice.. im a little confused about how to write this left join. I want to have the code under a button and was just wondering if you could help me write it out fully as I not that familiar with this.
hrmm.. thats not a bad idea.. take the unmatched query, append a blank table with the Yes/No field set to default YES and then do an update query on the table i am using.. that may work. that may be tricky.. ideas?
I want to run a query between two tables to see if there is a matching record or not. If there is no record, I have a Yes/No field in the table called "notInSystem" that I want to be clicked YES then. How would I go about this?
ex:
student table:
ID NAME notInSystem
1 Tom...
I want for the user to be able to choose his or her own path for the exported table to go to instead of statically stating it in the code. I know I can have a textbox to put the path in but I want to click on a button and be able to dynamically select the path as you would for example opening a...
this is for adding new records. Ideally, I dont ever want the error to occur but there may be times when someone enters a duplicate ID. This just makes sense. How would I use a combo box?
sweet! I did a search before and found a few examples but I just didnt understand why I needed the " ' " with the string. didnt make sense but it works now. I must have had the syntax wrong before. Thanks!!!
Why would the following code say data type mismatch in criteria expression?
Private Sub StudentID_AfterUpdate()
On Error GoTo Err_Handler
If Not IsNull(DLookup("[StudentID]", "tblStudent", "[StudentID]= " & Me!StudentID)) Then
MsgBox "Student Record already exists...