Here's the situtation:
I have data coming from an external tool which is populated into a "virtual" workspace called "MyData".
I want to take this data and update a field called "Begin_Weight" in my table, "tblMain".
There are only two fields in the table: Item_ID (which is the primary key) and Begin_Weight.
The problem is, I do not know how to write a module which would do the following:
- Identify which record is to be updated. (I visulize the user being prompted to enter the Item_ID.). Then MyData would populate the Begin_Weight field for this record.
- If the Item_ID is not found, then we will need to create a new record. Upon creating the new record, the user will be prompted to enter the Item_ID then, MyData would populate the Begin_Weight field for this new record.
Does this make sense? It seems so simple, but, I just can't get it. Can anyone assist?
I appreciate any feedback.
Thanks, and have a great day. Gawlowski
If I add a new record, I need the user to input the Record name, as well as populate the respective field within that new record with MyData.
[sig][/sig]
I have data coming from an external tool which is populated into a "virtual" workspace called "MyData".
I want to take this data and update a field called "Begin_Weight" in my table, "tblMain".
There are only two fields in the table: Item_ID (which is the primary key) and Begin_Weight.
The problem is, I do not know how to write a module which would do the following:
- Identify which record is to be updated. (I visulize the user being prompted to enter the Item_ID.). Then MyData would populate the Begin_Weight field for this record.
- If the Item_ID is not found, then we will need to create a new record. Upon creating the new record, the user will be prompted to enter the Item_ID then, MyData would populate the Begin_Weight field for this new record.
Does this make sense? It seems so simple, but, I just can't get it. Can anyone assist?
I appreciate any feedback.
Thanks, and have a great day. Gawlowski
If I add a new record, I need the user to input the Record name, as well as populate the respective field within that new record with MyData.
[sig][/sig]