... straightforward form
FormatTime( TimeString, Format )
{
FormatTime, FormattedTime , TimeString, %Format%
return Formattedtime
}
The following function is to convert a given SQ ...
Just a quick note as I use this function in various scripts. This adds the 1000th separator comma:
FormatAddCommas(val) {
Result:=val
StringLen, OutputVar, Result
NumLoop ...
I could just remember to search wikipedia for "Date (Unix)" or search my site for "Unix". This was easier.
Source: Wikipedia: Date (Unix)
Format specifiers (format string starts with +)
...
Thought I'd add a note as I was getting confused with the built-in function "FormatDateTime()". The example is shown as:
=FormatDateTime(Fields!BirthDate.Value, DateFormat.ShortDate)
The ...
I'm beginning a list as I've just spent an age trying to get PHP output to create a text file. Then my client showed me how she then opens the text file in Excel, so I said we could get the script to ...
The jury's still out on this one. I have noticed a slight improvement in my page loads but will have to carry out proper tests on the weekend.
Instructions to a hard-coder
The Google Chrome Frame ...
The Issue
If you've ever made PHP scripts to process data within a LAMP environment (Linux, Apache, MySQL, PHP) then this happens a lot. In the following example, our HTML form will allow the user to ...
The Issue
Basically you have a HTML form with an input field type of 'FILE' (ie. ) and want a PHP file to process this. This example applies to a Linux Apache MySQL PHP (LAMP) environment.
The ...
The Issue
You have a PHP page which generates a HTML form. When the user submits the form, you want the same PHP page to process the data.
Solution
I've seen a lot of people write CGI requests but ...
...
void fn_Joel_Test()
{
/***
- tried with getUrl() but this doesn't work.
- has to be an invokeUrl
- set param name required
- if file comes from a Creator form, no InvokeURL needed
c_Form ...
... I had this formula which seemed to do the same thing but unnecessarily moved the pointer to the start of the week. It could also error eventually if Zoho made it possible to change the start of the week ...
... key here to enable inventory tracking
m_CreateBooksItem.put("item_type","inventory");
//
// other less important values to include re purchase information
m_CreateBooksItem.put("product_type","goods");
m_CreateBooksItem.put("reorder_level",0);
m_CreateBooksItem.put("available_stock",v_QuantityAvailable.toLong());
m_CreateBooksItem.put("initial_stock",v_Quantity.toLong());
m_CreateBooksItem.put("initial_stock_rate",v_ItemPrice.toDecimal());
m_CreateBooksItem.put("inventory_account_id",m_Accounts.get("Inventor ...
... API for the eBay store
/*
Function: fn_eBay_GetOrderInfoCreateUpdateZohoSO(string p_eBayOrderRef)
Purpose: Queries eBay for information about an order and then creates item/contact/sales ...
... each index v_Increment in l_AddPages
{
l_Pages.add(v_Increment + 1);
}
v_TotalNumberOfPages = l_Pages.size();
//
// declare variables to store order details in a JSON or ZohoDeluge Map format
m_Response ...
... "id": "123456789000000123456789",
"type": "custom"
}
}
Tidied Up
Want that in a practical format for use in ZohoCreator? Preferably not in the Zoho order, but that of the normal wee ...
... and then I'll include the code to query the shipment status based on a tracking number.
Becoming a DHL Developer
Browse to https://developer.dhl.com/user/register to Signup
Complete the form with ...
... in a JSON or ZohoDeluge Map format
m_Response = Map();
l_JsonProducts = List();
//
// start preparing CSV file to email for export
v_ReportCSV = "ItemID,ItemName,Price,CurrencyCode,QuantityAvailable,SKU,DateCreated";
l_CsvFileRows ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.