ugggg, will I ever get things to work the first time out? OK that was a rhetorical question and does not require an answer LOL!
I am adding features to my client's db. They do NOT like the enter record feature that they get when using the lookup in the customer ID. So I have created a 'enter new customer' button for them.
When they click on the button my code saves the current invoice and opens the customer data entry form that I created specifically for coming from the invoice data entry form.
On my new customer form I have a button that returns to invoice. When clicking on this button the current form (new customer) checks to see if the record has been saved and saves it if it has not, then closes this form.
Since I did not close my invoice data entry form upon arrival to the new customer form, I am returned to the current invoice. All of this works great and as I need it to.
Here is my problem. Now that I am at the invoice that I began to enter, in the customer ID lookup field, if I type in the cust_id that I just entered, it does not appear in my list of available customers. I went back to my customer table and the new record has in fact been saved and is available.
Why is this new record not available in my lookup on the invoice form? I have tried adding show all records to the onarrive event of my cust_id field on the invoice form but that did not do anything.
I have tested further and went to a brand new invoice and the new records I added in the customer table are not available at all. I have closed the application and A5 and the new customers I added still are not available to me on my invoice form.
Any ideas as to why new customers do not show in my lookup?
I am adding features to my client's db. They do NOT like the enter record feature that they get when using the lookup in the customer ID. So I have created a 'enter new customer' button for them.
When they click on the button my code saves the current invoice and opens the customer data entry form that I created specifically for coming from the invoice data entry form.
On my new customer form I have a button that returns to invoice. When clicking on this button the current form (new customer) checks to see if the record has been saved and saves it if it has not, then closes this form.
Since I did not close my invoice data entry form upon arrival to the new customer form, I am returned to the current invoice. All of this works great and as I need it to.
Here is my problem. Now that I am at the invoice that I began to enter, in the customer ID lookup field, if I type in the cust_id that I just entered, it does not appear in my list of available customers. I went back to my customer table and the new record has in fact been saved and is available.
Why is this new record not available in my lookup on the invoice form? I have tried adding show all records to the onarrive event of my cust_id field on the invoice form but that did not do anything.
I have tested further and went to a brand new invoice and the new records I added in the customer table are not available at all. I have closed the application and A5 and the new customers I added still are not available to me on my invoice form.
Any ideas as to why new customers do not show in my lookup?
Comment