e = entry(),o = libByName("Out");newo = new Object();//newo [] = e.field("");newo["Name"]=e.field("Name");newo["Pic"]=e.field("Pic").join();newo["BarCode"]=e.field("Barcode");newo["Qty in"]=e.field("Qty in");o.create(newo);
I let you search a little after I will give you the solution
anotherLib = libByName("Out");
entries = anotherLib.find(query + "*");
resultArray = [];
for(i in entries )
{
object = {};
object["name"] = entries[i].field("name");
object["Pic"] = entries[i].field("Pic");
object["title"] = entries[i].title;
object["Barcode"] = entries[i].field("BarCode");
object["Qtty In"] = entries[i].field("Qtty In");
resultArray.push(object);
};
--
You received this message because you are subscribed to the Google Groups "mementodatabase" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mementodataba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mementodatabase/20ab5f6a-cd33-4e06-9bbc-b0a05ffa14e7%40googlegroups.com.
Ok Sinar....1 : un Inn databaseAuto fill -> + -> by title -> Javascript -> choose the "name" field
--
You received this message because you are subscribed to the Google Groups "mementodatabase" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mementodataba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mementodatabase/1aaac0e8-f3cd-4dec-be61-fb6fa44df58b%40googlegroups.com.
object["Qty in"] = entries[i].field("Qty in");
Not "Qtty In"...
--
You received this message because you are subscribed to the Google Groups "mementodatabase" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mementodataba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mementodatabase/de924bb1-0bed-4e52-845d-421f7aebffe9%40googlegroups.com.
Try my code...
--
You received this message because you are subscribed to the Google Groups "mementodatabase" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mementodataba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mementodatabase/399f6dfe-5778-4dfb-b3c5-3266cbf4ffb8%40googlegroups.com.
One error in my script...
var o = libByName("Out"),
id = e.field("I.D.");
oEntry = o.findById(id); //search an entry in Spp by ID
if (oEntry != null)
oEntry.trash(); //delete the entry
{
And the reste of script....
--
You received this message because you are subscribed to the Google Groups "mementodatabase" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mementodataba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mementodatabase/399f6dfe-5778-4dfb-b3c5-3266cbf4ffb8%40googlegroups.com.
Wait step by step....
--
You received this message because you are subscribed to the Google Groups "mementodatabase" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mementodataba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mementodatabase/0bf1b22d-cf53-43c9-95d8-19dd71fae667%40googlegroups.com.
Now you add 2 field text "I.D."
--
You received this message because you are subscribed to the Google Groups "mementodatabase" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mementodataba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mementodatabase/355f9fac-4a69-4fdd-a716-430c6ef84679%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mementodatabase" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mementodataba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mementodatabase/88f5f4bd-1404-44c6-9b8c-6bf4faf2fd86%40googlegroups.com.