I have a table (shopping cart) with the following data in:
2;;Rotherham - Case Study;;1
1;;Wincanton - Case Study;;1
1;;Wincanton - Case Study;;1
2;;Rotherham - Case Study;;1
The user can add and remove any number of items from their list.
OK I can create a table from the text file:
basket = TextFile.ReadToTable("C:\\MyFile.txt");
I can return the indiviual rows:
Dialog.Message("Test", basket[1], MB_OK, MB_ICONNONE, MB_DEFBUTTON1)
Or
Dialog.Message("Test", basket[2], MB_OK, MB_ICONNONE, MB_DEFBUTTON1)
But how can I return the indiviual values from a row?
i.e.
Dialog.Message("Test", "Wincanton - Case Study", MB_OK, MB_ICONNONE, MB_DEFBUTTON1)
Or
Dialog.Message("Test", "1", MB_OK, MB_ICONNONE, MB_DEFBUTTON1)
Any takers?
2;;Rotherham - Case Study;;1
1;;Wincanton - Case Study;;1
1;;Wincanton - Case Study;;1
2;;Rotherham - Case Study;;1
The user can add and remove any number of items from their list.
OK I can create a table from the text file:
basket = TextFile.ReadToTable("C:\\MyFile.txt");
I can return the indiviual rows:
Dialog.Message("Test", basket[1], MB_OK, MB_ICONNONE, MB_DEFBUTTON1)
Or
Dialog.Message("Test", basket[2], MB_OK, MB_ICONNONE, MB_DEFBUTTON1)
But how can I return the indiviual values from a row?
i.e.
Dialog.Message("Test", "Wincanton - Case Study", MB_OK, MB_ICONNONE, MB_DEFBUTTON1)
Or
Dialog.Message("Test", "1", MB_OK, MB_ICONNONE, MB_DEFBUTTON1)
Any takers?
Comment