Hi, I have done a lot of research and have not quite found the solution to a problem I am having...hope someone can point me into the right direction.
I created a table using VBA to pull data from an Excel spreadsheet into my db. However, I only require select fields for the purpose of the db. So I then created a event that only captures the fields I need into a new table. The reason why I am doing this is to keep the original source data in tact. OK, so here's the problem: After the data is pulled in the SQL event, I want it to take the values of Field X (populated after the event) and determine if it is a specific value (say "YES"), then Field Y = "CASH", all others "CREDIT"
Is this possible to do? Any help is greatly appreciated! Thanks!
I created a table using VBA to pull data from an Excel spreadsheet into my db. However, I only require select fields for the purpose of the db. So I then created a event that only captures the fields I need into a new table. The reason why I am doing this is to keep the original source data in tact. OK, so here's the problem: After the data is pulled in the SQL event, I want it to take the values of Field X (populated after the event) and determine if it is a specific value (say "YES"), then Field Y = "CASH", all others "CREDIT"
Is this possible to do? Any help is greatly appreciated! Thanks!