mike623317 Registered: 10/28/09
Posts: 11
|
| | 11/06/09 at 07:21 AM | Reply with quote | #1 |
|
Does anyone know why ISD doesn't import or trigger the macro from an access database?
It imported the tables and queries just fine.
Thanks Michael
|
| Loading... | |
akeshgupta

Iron Speed MVP Consulting Organization
Registered: 04/25/04
Posts: 4,244
| |
mike623317 Registered: 10/28/09
Posts: 11
|
| | 11/06/09 at 08:32 AM | Reply with quote | #3 |
|
Hi Akesh,
I have a 'universal table' from which a new user would select items they want. My macro basically copies the 'itemID' of the the ones they selected and copies it to a 'customer table' along with their 'customerID'. As ISD doesnt appear to recognised my macro, i'm wondering how to make that fuction work.
Thanks Mike
|
| Loading... | |
akeshgupta

Iron Speed MVP Consulting Organization
Registered: 04/25/04
Posts: 4,244
| |
mike623317 Registered: 10/28/09
Posts: 11
|
| | 11/06/09 at 11:05 AM | Reply with quote | #5 |
|
I will not know the ItemIDs. Different customers will select different items and therefore different ItemIDs.
So... how to amend the code to generate records in a table when the ItemID is not known in advance. Anyone? Dim myRecord as new CustomerItemRecord myRecord.CustomerID = ? myRecord.ItemID = ? myRecord.Save
Michael
|
| Loading... | |
akeshgupta

Iron Speed MVP Consulting Organization
Registered: 04/25/04
Posts: 4,244
| |
mike623317 Registered: 10/28/09
Posts: 11
|
| | 11/06/09 at 04:50 PM | Reply with quote | #7 |
|
Hi Akesh,
Here is my Macro code : INSERT INTO tblCustomerOrder SELECT tblUniversalInv.* FROM tblUniversalInv WHERE AddtoMyOrder = -1 Table tblUniversalInv - contains all of the items. Customers select a check box which is a field called "AddtoOrder". Macro appends the records from tblUniversalInv to tblCustomerOrder where the AddtoOrder field = Yes.
I am trying to find how to do this function in ISD.
Thanks for your help. Mike
|
| Loading... | |
akeshgupta

Iron Speed MVP Consulting Organization
Registered: 04/25/04
Posts: 4,244
| |
mike623317 Registered: 10/28/09
Posts: 11
|
| | 11/07/09 at 11:06 AM | Reply with quote | #9 |
|
Thank you very much for the code.
.. However, where exactly do i place this in ISD? In code customization?
|
| Loading... | |